Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Suddenly I got a problem opening the project I was working on since a long time. When I open the project, QGIS crashes.

I think the problem might be in one layer, but as I cannot open the project I neither can delete this layer in QGIS desktop. Is there any option to do this another way?

Thanks!!

share|improve this question
    
could be this issue: hub.qgis.org/issues/7180 –  underdark Feb 23 '13 at 21:48

2 Answers 2

up vote 1 down vote accepted

You can open the qgs file with any text editor, look for the layers, and delete that manually. Better make a copy in advance before editing.

Or open a new project, and add your layer there, and look if it behaves strange.

share|improve this answer
    
So logic, but I didn't think about it. Thanks a lot Andre Joost!!! –  Sironsse Mar 2 '13 at 21:37
1  
It turns out this was not a good idea: gis.stackexchange.com/questions/53332/… –  steko Mar 3 '13 at 13:34
    
It caused some other problems, but at least it allowed me to open something. –  Sironsse Mar 3 '13 at 15:55

My experience is that QGIS tends to crash if the project file (.qgs) contains outdated file paths (after deleting/moving files on disk).

In particular this seems to be true for RELATIVE paths (i.e. something like './xy/z.asc'.)

I was able to fix it by correcting the bad relative paths in the .qgs file manually (in text editor).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.