Opened 14 years ago

Closed 14 years ago

#2910 closed bug (invalid)

qgis crashes when opening a project saved with deleted google layers

Reported by: lroubeyrie Owned by: borysiasty
Priority: critical: causes crash or data corruption Milestone: Version 1.6.0
Component: Python plugins and bindings Version:
Keywords: Google layers Cc:
Must Fix for Release: No Platform: Debian
Platform Version: ubuntu 10.04 Awaiting user input: no

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. ...

Change History (10)

comment:1 by imincik1, 14 years ago

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

comment:2 by imincik1, 14 years ago

Tested on Debian Lenny.

comment:3 by lutra, 14 years ago

no crashes here too...

ubuntu 10.04 and QGIS 1.5

comment:4 by lutra, 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).

comment:5 by lroubeyrie, 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)

in reply to:  5 comment:6 by lutra, 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.

comment:7 by lroubeyrie, 14 years ago

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

in reply to:  7 comment:8 by lutra, 14 years ago

Replying to lroubeyrie:

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

did you tested remove all the other plugins?

comment:9 by lroubeyrie, 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...

comment:10 by lutra, 14 years ago

Resolution: invalid
Status: newclosed

told you... ;)

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

Note: See TracTickets for help on using tickets.