Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
could be this issue: – underdark Feb 23 '13 at 21:48
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
It turns out this was not a good idea:… – 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


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.