Bug report #2910

qgis crashes when opening a project saved with deleted google layers

Added by lroubeyrie - over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Borys Jurgiel
Category:Python plugins
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:invalid
Crashes QGIS or corrupts data: Copied to github as #:12970

Description

qGIS can't open and crashes when opening a project where some layers come from the google layers plugin but were deleted on the filesystem like after a reboot, with a GDAL error message :
Error:
GDAL Error 4: @/tmp/google_layers/google-hybrid-z13-3-26072010_1604591280153099.jpg' does not exist in the file system,
and is not recognised as a supported dataset name.
...

History

#1 Updated by Ivan Mincik over 14 years ago

With M13916 I receive correct message that some layers are missing .... . No crashing.

#2 Updated by Ivan Mincik over 14 years ago

Tested on Debian Lenny.

#3 Updated by Giovanni Manghi over 14 years ago

no crashes here too...

ubuntu 10.04 and QGIS 1.5

#4 Updated by Giovanni Manghi over 14 years ago

please try again, but this time removing before others plugins... it would not be unusual if there is another 3rd party plugin that is making qgis crash (it happened in some case with SDA4PP).

#5 Updated by lroubeyrie - over 14 years ago

The problem was solved by removing google layers uri's in the qgis project.
Steps are for reproducing the error :
1 - loads a shp (points in my case)
2 - call google layers to loads road map based on visual extend
3 - save the project, close qgis
4 - delete files under /tmp/google_layers
5 - reopen qgis, try to load the project

Note : milestone 1.5.0, not 1.6.0 (can't set it in the combo)

#6 Updated by Giovanni Manghi over 14 years ago

Steps are for reproducing the error :
1 - loads a shp (points in my case)
2 - call google layers to loads road map based on visual extend
3 - save the project, close qgis
4 - delete files under /tmp/google_layers
5 - reopen qgis, try to load the project

I made exactly the above steps and no crash at all.

Note : milestone 1.5.0, not 1.6.0 (can't set it in the combo)

code for 1.5 was already freezed.

#7 Updated by lroubeyrie - over 14 years ago

Damn, a ghost in my pc makes some jokes and gives segfaults \\o/

#8 Updated by Giovanni Manghi over 14 years ago

Replying to [comment:7 lroubeyrie]:

Damn, a ghost in my pc makes some jokes and gives segfaults \\o/

did you tested remove all the other plugins?

#9 Updated by lroubeyrie - over 14 years ago

Ok, I've removed all plugins and qgis shows the warning message. Inserting one plugin after one another, qgis segfaults when SDA4PP is here...

#10 Updated by Giovanni Manghi over 14 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

told you... ;)

this a situation must be reported to the SDA4PP author because it makes QGIS crash many times when there are rasters involved.

Also available in: Atom PDF