When I add a new shape layer or want to edit an existing one, nothing is happening. I even don't see the dots where I'm clicking.

Maybe the problem is I deleted some layers (by opening the .qgs as a txt-file) as my project was collapsing by opening. I deleted three layers (maplayer and legendlayer, from start to end). Could there be some problem. The file is at https://dl.dropbox.com/u/83565282/AA_SR_Mendae.qgs

When I open a new project everything is fine.

Thanks a lot for all your help!!

I'm using QGIS 1.8.0 Lisboa

  • Seems like you deleted some vital information from your project file. Do you have a backup? Can you show what you deleted?
    – underdark
    Mar 3 '13 at 10:57
  • First I deleted the part called legendlayer <maplayer minimumScale="0" maximumScale="1e+08" geometry="Polygon" .... until the next </maplayer> As this seemed not enough to make the project open again I also deleted the part of maplayer for the same layer <maplayer minimumScale="0" maximumScale="1e+08" ... until the next </maplayer>
    – Sironsse
    Mar 3 '13 at 11:06
  • Can I ask why you are hacking the project file?
    – Nathan W
    Mar 3 '13 at 12:48
  • 2
    Could you please upload your current .qgs file somewhere so we can check what is missing?
    – steko
    Mar 3 '13 at 13:35
  • 2
    Without looking at the damaged file, I guess you have to adjust the layercount="xy"> as well.
    – AndreJ
    Mar 3 '13 at 13:53

The file crashes here too in Lisboa, but not in QGIS Master. If you are on Windows, you can install QGIS Master via OSGoe4w-setup in parallel to Lisboa.

QGIS Master complains here about missing files, of course.


After some testing, I identified your point layers as causing the crash. You don't have to delete them from legend, or reassign the number of maplayers. Not sure if all are affected, but it is not only the first one. Reason might be that they are text-delimitered. Maybe it would be better to save them to shapefile and work on that.

  • Thanks!! There I have another problem, when installing Master or anything with OSGeo4W Installer, I get: "access denied" And I'll transform txt to shp if that's better, but I suppose that's not the problem as I was using it the same way before. No?
    – Sironsse
    Mar 3 '13 at 17:38
  • Not sure about the access denied, maybe some kind of rights on C:\. For the text files, <labelfield>Resistivity (?.m), a=30m </labelfield> seems a bit strange. Try a field name without (?, as these may spoil at some point. You could test it on a separate new project.
    – AndreJ
    Mar 3 '13 at 17:45

I continued trying and removed the properties of the .qgs (opened as txt-file): digitizing , north arrow, scale bar and those things. Afterwards everything works fine, there must have been an error in one of those things!?

PD: Hoping I didn't create some new problems by hacking the file. Anyway, I can continue working now!

  • On my side, that does not help. QGIS crashes before the properties, unless I delete all point layers.
    – AndreJ
    Mar 4 '13 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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