I recall hearing about a bug where layers fail to load if there is a certain number of files in the project but this might be something unrelated.
I mean can you load /mnt/bunker/ross/Research/PhD/NewMapMarch2011/VectorBackgroundMapMarch2011 in QGIS on it's own in a fresh project. - Nathan On Tue, Oct 11, 2011 at 10:51 PM, Purves Ross <[email protected]> wrote: > Hi Nathan, > > OK - by counting the number of occurances of '<maplayer' in the project > file, I count 50 layers. Sounds a lot but there were no problems in 1.6 with > this number! > > Sorry to be stupid, not sure what you mean by load the file by itself. Are > you saying that there is a way of selectively loading layers on opening a > QGIS project file? Or do you mean opening the file in a text editor or > something. If the latter, then it certainly loads the XML OK and there's no > evidence that the file is corrupted. > > Thanks again for the help! > Cheers > Ross > > > On 11 October 2011 13:44, Nathan Woodrow <[email protected]> wrote: > >> How many layers do you have in this project file? And can you load the >> file by itself? >> >> - Nathan >> >> >> On Tue, Oct 11, 2011 at 10:35 PM, Ross Purves <[email protected]> wrote: >> >>> Hi Nathan, >>> >>> Very many thanks for the quick response! OK, running from the command >>> line gives me slight more info, to be sure: >>> >>> [Tue Oct 11 13:34:26 RMPT43:NewMapMarch2011 ]$ qgis >>> VectorBackgroundMapMarch2011 >>> Warning: loading of qgis translation failed >>> [/usr/share/qgis/i18n//qgis_en_GB] >>> Warning: loading of qt translation failed >>> [/usr/share/qt4/translations/qt_en_GB] >>> Warning: Couldn't load Python support library: Cannot load library >>> /usr/lib/qgispython: (/usr/lib/libqgispython.so: cannot open shared object >>> file: No such file or directory) >>> Critical: Data source is invalid >>> Critical: >>> >>> Additionally, when I start QGIS this way I get a pop up window within the >>> graphical interface that says: >>> >>> The layer >>> /mnt/bunker/ross/Research/PhD/NewMapMarch2011/VectorBackgroundMapMarch2011 >>> is not a valid layer and can not be added to the map >>> >>> The strange thing is that I'm pretty certain there is no problem with the >>> project file. It's timestamp reads 22 April, when I last worked on it. I.e. >>> the version of QGIS has changed but my file has remained constant. >>> >>> Many thanks! >>> Ross >>> ________________________________________ >>> From: Nathan Woodrow [[email protected]] >>> Sent: 11 October 2011 13:26 >>> To: Purves Ross >>> Cc: [email protected] >>> Subject: Re: [Qgis-user] QGIS 1.6 project causing 1.7 to crash >>> >>> Hi Ross, >>> >>> That sounds a bit strange. Can you start QGIS from the terminal and see >>> what the output is when it locks up. >>> >>> - Nathan >>> >>> On Tue, Oct 11, 2011 at 10:19 PM, Purves Ross <[email protected] >>> <mailto:[email protected]>> wrote: >>> Hi there, >>> >>> I've updated my Ubuntu 10.10 installation to use QGIS 1.7. I put a lot of >>> work into a project using QGIS 1.6 but it won't open in 1.7. The layers all >>> appear but then the screen freezes as though QGIS is rendering the resulting >>> map forever. >>> >>> A bit of googling revealed that there was a bug at some point which >>> required the placement of 'gdal' between all <provider></provider> tags in >>> the project XML file in a scenario like this. However, I tried this and it >>> didn't work. I also have read various posts that say the use of 'on the fly' >>> project appeared to cause problems going between 1.6 and 1.7. The project in >>> question does indeed use on the fly projection. >>> >>> As a final note, I have an ECW raster layer in this map that requires the >>> modified GDAL to work. I thought that the crash might be to do with the >>> upgrade having removed my modified version of GDAL. I therefore recompiled >>> it all and have checked to see that my version of 1.7 can now read ECW files >>> and it can (when they are presented a a fresh layer and not as part of the >>> problematic project). >>> >>> This is a really, really important project to me and I do need to get it >>> back if at all possible. Please can anyone help? >>> >>> Very many thanks! >>> Ross Purves >>> >>> _______________________________________________ >>> Qgis-user mailing list >>> [email protected]<mailto:[email protected]> >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >>> >>> >>> >>> >> >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
