-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
OSM causing crash #13056
Comments
Author Name: wade - (wade -) I also experience this. Very repeatable, and occurs when using either 'download' feature direct from Qgis, or exporting from openstreetmap website and using loading-from-file feature of this plugin. |
Author Name: William Kyngesburye (@kyngchaos) It appears that the above is using the standalone Qgis. I verified that it also happens with the full Qgis on OS X 10.6. Both use the system Python 2.6. It also happens with Qgis trunk. But, it works fine on OS X 10.5, which uses the system Python 2.5. |
Author Name: William Kyngesburye (@kyngchaos) Still crashes in Qgis 1.6, OSX 10.6 (python 2.6), OK OSX 10.5 (python 2.5). Bumping to the next version... |
Author Name: Martin Dobias (@wonder-sk) There is a hack that causes this crash on OSX. I do not have access to a Mac, so I will just suggest a fix and hope that someone tries it out and confirms if it works:
[[QgsVectorLayer]]* layer = ( [[QgsVectorLayer]]* ) x.value( 0 ).toUInt();
|
Author Name: Jürgen Fischer (@jef-n) Replying to [comment:6 wonder]:
Any objections to the attached patch? |
Author Name: Martin Dobias (@wonder-sk) Nice solution, Juergen! (how could I miss that?) Please go ahead and commit the patch. |
Author Name: David Quinn (David Quinn)
Original Redmine Issue: 2996
Redmine category:python_plugins
Assignee: Martin Dobias
I tried accessing some OSM files using the plugin [[OpenStreetMap]] and it resulted in QGIS crashing. I was trying out the plugin for the first time; the default settings were in all the boxes.
The following error was provided by OSX:
The text was updated successfully, but these errors were encountered: