-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
QGIS crashes opening old (2.0.1) project in valmiera (2.2.1) #18321
Comments
Author Name: Alexandre Neto (@SrNetoChan)
|
Author Name: Alexandre Neto (@SrNetoChan) I have opened the problematic project in qgis 2.0.1-3, removed all layers and saved it as a new project. The new project (SIG_DTOP_teste_1.qgs), even with no layer at all, still cause qgis 2.2.1 to crash.
|
Author Name: Giovanni Manghi (@gioman) Alexandre Neto wrote:
here the console message
|
Author Name: Giovanni Manghi (@gioman) Alexandre Neto wrote:
in the project there are composer layouts (2?) definitions, if I remove them then no crash. Can you try remove the layouts from the project and see if then it still crashes?
|
Author Name: Alexandre Neto (@SrNetoChan) You are correct. If I remove one of the layouts from original project, it no longer crashes. More specifically one that has atlas creation active. I have been doing some tests, and it seems that the offending project had an empty coverage layer name (coverageLayer=""), but in the atlas settings GUI it seemed to be using one of the canvas layers, reselecting the layer corrected the problem. In QGIS 2.0.1, I was only able to recreate a project in those conditions if I remove the last suitable candidate for atlas coverage, i.e., removing the last vector layer. No errors are emitted, but after that QGIS 2.2 will crash trying to open that project. Strangely if I add a new vector layer, it will automatically set as coverage. Therefore, I'm not sure how have this happen in my particular project. Anyway, in QGIS 2.2, if one remove the last suitable coverage layer (with atlas creation active), a crash dump occurs immediately. I think that the current issue can be closed as an isolated strange case, but I believe the behavior in qgis 2.2 (or master) should be corrected. Should I keep this open? or should I close it and open a brand new issue? |
Author Name: Giovanni Manghi (@gioman)
Nyall, as this is about the composer I'm assigning it to you (hopefully I'm not wrong).
let's see what Nyall says.
|
Author Name: Jürgen Fischer (@jef-n) Alexandre Neto wrote:
That's just because the atlas composition still references a coverage layer that is now gone. 1a67988 should fix that.
|
Author Name: Alexandre Neto (@SrNetoChan) I have finally tested this, and acording to my test, the problem is solved in master. I'm closing it. thanks
|
Author Name: Alexandre Neto (@SrNetoChan)
Original Redmine Issue: 9779
Affected QGIS version: master
Redmine category:project_loading/saving
I'm having problems opening a Dufour project (2.0.1) in Valmiera (2.2.1) using windows 7 64 bit.
QGIS warns me that a older version project is going to be opened, complete the layers loading (at least it seems to) but crashes before rendering the layersthe layers. The same project still opens in 2.0.1 without any problems.
More, it is possible to use "embed groups and layer" to successfully add all layers to a new project. Which I believe excludes problems with the layers, so it must be a project settings that is causing the crash.
I put the qgs file in attachment. And I will try to provide some portable sample data that still cause the crash.
The text was updated successfully, but these errors were encountered: