Bug report #8707

Doens't load most of the layers.

Added by Giacomo Marchioro about 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:-
Category:-
Affected QGIS version:2.0.1 Regression?:No
Operating System:Mac Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:Yes Copied to github as #:17426

Description

I'm trying to open my old 1.8 project but QGIS 2.0.1 doesn't load most of the layers. "Handle bad layers" window appear but when a try to re-set the path QGIS crash. I've tried to open the same project with QGIS 1.8 and it works perfectly as for QGIS 2.0 for Windows XP the window doesn't appear at all. I think is a matter of numbers because the layer that QGIS 2.0 doesn't load are alphabetically after the "s".

crashlog.rtf - I can't run QGIS from terminal so I simply copied the crash log (81 KB) Giacomo Marchioro, 2013-09-27 09:13 AM

Parete_Sud.qgs (364 KB) Giacomo Marchioro, 2013-09-30 06:20 AM

History

#1 Updated by Giovanni Manghi about 11 years ago

  • Target version changed from Version 2.0.0 to Future Release - High Priority
  • Status changed from Open to Feedback
  • Priority changed from Normal to High

Can you share a problematic project?

#2 Updated by Giacomo Marchioro about 11 years ago

Unfortunately I've a lot of raster files with data that I can't share. I'm trying to create a new project loading programmatically a bunch of rasters file to see when it happens and to share it instead of my project but following the QGIS tutorial with python http://www.qgis.org/en/docs/pyqgis_developer_cookbook/loadlayer.html I'm stuck at the second line: fileInfo = QFileInfo(fileName). It return me an error: NameError: name 'QFileInfo' is not defined. mah...

#3 Updated by Matthias Kuhn almost 11 years ago

you need to

from PyQt4.QtCore import QFileInfo

or just import all the important PyQt stuff

from PyQt4.QtCore import *
from PyQt4.QtGui import *

Concerning your main problem: Just a wild guess: Is it possible, that your machine is running out of memory?

#4 Updated by Giovanni Manghi almost 11 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

Closing for lack of feedback and lack of sample data to allow us replicate the issue. Please reopen if necessary.

Also available in: Atom PDF