Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS/Qt6: constructing QgsCoordinateReferenceSystem crashes #60119

Open
1 of 2 tasks
kommen opened this issue Jan 11, 2025 · 1 comment
Open
1 of 2 tasks

macOS/Qt6: constructing QgsCoordinateReferenceSystem crashes #60119

kommen opened this issue Jan 11, 2025 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@kommen
Copy link

kommen commented Jan 11, 2025

What is the bug or the crash?

constructing an QgsCoordinateReferenceSystem(4326) crashes QGIS

I'm using the macOS/Qt6 build from @m-kuhn provided here: #60039 (comment)

previous versions of QGIS don't crash. (I tested QGIS 3.40.2, the offical build from qgis.org)

QgsCoordinateReferenceSystem(4326) is used in the https://plugins.qgis.org/plugins/StreetView/ plugin, which I try to make work with Qt6.

Steps to reproduce the issue

1 ) Go to the Python Console
2) evaluate QgsCoordinateReferenceSystem(4326)

Versions

QGIS version3.41.0-Master
QGIS code revisionc1b7e5ae
 
Libraries
Qt version6.8.1
Python version3.11.10
GDAL/OGR version3.9.3
PROJ version9.5.1
EPSG Registry database versionv11.022 (2024-11-05)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.47.2
PDAL version2.8.1
PostgreSQL client version16.4
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionmacOS Sonoma (14.7)
 
Active Python plugins
plugin_reloader0.17
StreetView3.2
processing2.12.99
grassprovider2.12.99
db_manager0.1.20
MetaSearch0.3.6

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@kommen kommen added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 11, 2025
@kommen
Copy link
Author

kommen commented Jan 11, 2025

Addendum:

Constructing it with QgsCoordinateReferenceSystem("EPSG:4326") instead of QgsCoordinateReferenceSystem(4326) works as expected and doesn't crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant