[Qgis-user] Fwd: QGIS crash on loading projects

Nathan Woodrow madmanwoo at gmail.com
Wed Jan 28 18:49:09 PST 2015


Ok give this a go.

In the install folder for QGIS there is a file called OSGeo4w.bat. Run that
and type:

qgis --optionspath "C:\temp\qgis" --configpath "C:\temp\qgis"

Both those options take a folder path and will save the settings there.
These will create a new user home and settings location in temp\qgis.  This
is good for seeing if there is a busted setting in your registry for QGIS.

Run that command and see if it still crashes.

- Nathan

On Thu Jan 29 2015 at 12:44:42 PM Matt Boyd <mattslists at gmail.com> wrote:

> Hi Nathan,
> I've done this with a test project and as soon as open a map composer QGIS
> crashes.
> Open QGIS into new blank project
> Open print composer, select create new print composer window, press the OK
> button
> Crash
>
> Open QGIS into new blank project
> adjust projection etc, add layers to project
> Open print composer, select create new print composer window, press the OK
> button
> Crash
>
> Open older QGIS project with previously created map windows / compositions.
> layers start to load
> Crash.
>
> Seems like my problem is the print composer and is unrelated to any of the
> projects I have saved. I am able to open them on another PC.
>
> I've tried a complete uninstall and reinstall of QGIS and all of the
> OSGEO4W64 components, deleting my .qgis user directory. (this took some
> figuring out as the uninstall isn't a transparent process)
>
> Standalone install of QGIS 2.6.1 from website download.
>
> Standalone install of QGIS 2.4 from website download.
>
> In none of the above cases am I able to get the print composer to start. I
> really don't want to have to reinstall windows.
>
> Thanks
> Matt
>
>
> On Thu, Jan 29, 2015 at 1:29 PM, Nathan Woodrow <madmanwoo at gmail.com>
> wrote:
>
>> Hey Matt,
>>
>> What kind of layers do you have in the project?
>>
>> On Thu, 29 Jan 2015 12:05 pm Matt Boyd <mattslists at gmail.com> wrote:
>>
>>> This is getting frustrating, would this be worth contacting the devs
>>> about? I haven't made any progress with this issue.
>>>
>>> On Wed, Jan 28, 2015 at 10:24 AM, Matt Boyd <mattslists at gmail.com>
>>> wrote:
>>>
>>>> Still no luck, I've generated a log file of a crash that I don't see
>>>> anything useful in.
>>>>
>>>> http://pastebin.com/UhuvQA4k
>>>>
>>>>
>>>> On Wed, Jan 28, 2015 at 8:52 AM, Matt Boyd <mattslists at gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks for all the help everyone.
>>>>> I think I've narrowed it down to something with Print Composer. As
>>>>> soon as I try to start a new print composer window the project crashes.
>>>>> This happens even with newly created projects.
>>>>> The problem with other projects loading must be because most of them
>>>>> have a print composer window to open.
>>>>>
>>>>> Now more digging.
>>>>> Thanks again.
>>>>>
>>>>> On Wed, Jan 28, 2015 at 12:01 AM, Nicolas Cadieux <
>>>>> nicolas.cadieux at archeotec.ca> wrote:
>>>>>
>>>>>> Hi,
>>>>>> Have you tried to open the projects with a different computer?  Send
>>>>>> a simple project along and maybe we can look at it.  Are all new projects
>>>>>> working perfectly?
>>>>>>
>>>>>> Nicolas Cadieux M.Sc.
>>>>>> Les Entreprises Archéotec inc.
>>>>>> 8548, rue Saint-Denis Montréal H2P 2H2
>>>>>> Téléphone: 514.381.5112  Fax: 514.381.4995
>>>>>> Le 2015-01-27 01:31, "Matt Boyd [via OSGeo.org]" <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183947&i=0>> a écrit :
>>>>>>
>>>>>> Complete reinstall third time lucky, QGIS runs. It still crashes when
>>>>>> I try to open an older project so I'm back to where I was this morning.
>>>>>> I would really appreciate knowing if there is a log file generated or
>>>>>> how to create one?
>>>>>>
>>>>>> On Tue, Jan 27, 2015 at 4:05 PM, Matt Boyd <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183884&i=0>> wrote:
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 27, 2015 at 11:17 AM, Nicolas Cadieux <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183884&i=1>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Personally this is what I would do.
>>>>>>
>>>>>> Completely purges Qgis from your system.  (Delete plugin directories,
>>>>>> AND the Qgis registry keys.) Reboot.
>>>>>>
>>>>>> I would install Qgis 2.6.1 using the OSGEO install.
>>>>>>
>>>>>> I followed these steps. My install was already done via osge064w and
>>>>>> uninstalling was a little tricky.
>>>>>> I removed the directories and the registry entries.
>>>>>>
>>>>>> I then reinstalled QGIS via the express installer.
>>>>>>
>>>>>> QGIS wouldn't start giving an error about jvm.dll missing from my
>>>>>> computer.
>>>>>>
>>>>>> I manually selected the java install via the advanced option, jvm is
>>>>>> installed and in a subfolder in C:\osgeo4w64
>>>>>>
>>>>>> I suspect it's a path problem, working on this.
>>>>>>
>>>>>> I would make sure that all mapped drive are properly remapped with
>>>>>> the proper passwords, I would install the open layer plugin and wms or
>>>>>> other data servers. Make sure the symbols are reinstalled if you had new
>>>>>> ones and also make sure the .svg symbol images are well mapped.
>>>>>>
>>>>>> If the problem persists, I would repurge Qgis, install and older
>>>>>> version and try again.
>>>>>>
>>>>>> Finally, i would then start looking at the project files with a text
>>>>>> editor to try to  understand the problem. I is likely the crash is cause by
>>>>>> a layer that cannot be opened and that this layer depends on a plugin like
>>>>>> openlayer, a mapped drive, wms servers... That would be my guess.
>>>>>>
>>>>>> Nicolas Cadieux M.Sc.
>>>>>> Les Entreprises Archéotec inc.
>>>>>> 8548, rue Saint-Denis Montréal H2P 2H2
>>>>>> Téléphone: <a href="tel:514.381.5112" value="+15143815112"
>>>>>> target="_blank">514.381.5112  Fax: <a href="tel:514.381.4995" value="
>>>>>> +15143814995" target="_blank">514.381.4995
>>>>>> Le 2015-01-26 18:16, "Matt Boyd [via OSGeo.org]" <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183862&i=0>> a écrit :
>>>>>> Thanks Lene,
>>>>>> I tried that on a 3 projects this morning with no change to the
>>>>>> behaviour. I've had 2.6.1 for a while now and these projects opened in that
>>>>>> early last week.
>>>>>> I've also tried loading older projects that are still in 2.0, 2.2,
>>>>>> and 2.4 format and the same thing happens.
>>>>>>
>>>>>> Most of my projects are on a network drive and I've managed to get a
>>>>>> step further by copying those project files to a local drive. I then get
>>>>>> the "handle bad layers" dialog, then qgis crashes. I need to dig a little
>>>>>> to see if this is a problem in case someone has moved some of the layers
>>>>>> the dialog is referring to but this hasn't caused a crash before.
>>>>>>
>>>>>> Is this behaviour logged anywhere?
>>>>>>
>>>>>> Thanks
>>>>>> Mat
>>>>>>
>>>>>> On Tue, Jan 27, 2015 at 9:58 AM, Lene Fischer <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=0>> wrote:
>>>>>>
>>>>>> Please first update to 2.6.1.
>>>>>>
>>>>>>
>>>>>>
>>>>>> If you have your crashed projects – you also have projects named with
>>>>>> a .qgs~. Rename this project and delete the ~  and open it as usual.
>>>>>>
>>>>>> A lot of my students had the same problem last week – but only the
>>>>>> ones who had forgotten to update to 2.6.1
>>>>>>
>>>>>> Hope this can help you.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Lene Fischer*
>>>>>>
>>>>>> Associate Professor
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Department of Geosciences and Natural Resource Management*
>>>>>>
>>>>>> University of Copenhagen
>>>>>>
>>>>>>
>>>>>>
>>>>>> MOB <a href="tel:%2B45%2040115084" value="<a href="tel:%2B4540115084"
>>>>>> value="+4540115084" target="_blank">+4540115084" target="_blank"><a
>>>>>> href="tel:%2B45%2040115084" value="+4540115084" target="_blank">+45
>>>>>> 40115084
>>>>>>
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=1>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> [image: cid:image001.gif at 01D03029.2F3EC6A0]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Fra:* [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=2> [mailto:[hidden
>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=5183855&i=3>] *På
>>>>>> vegne af *Matt Boyd
>>>>>> *Sendt:* 26. januar 2015 23:29
>>>>>> *Til:* qgis-user
>>>>>> *Emne:* [Qgis-user] Fwd: QGIS crash on loading projects
>>>>>>
>>>>>>
>>>>>>
>>>>>> Just a bump to this question, does anyone know how to enable logging
>>>>>> or find the log file? I really don't want to have to re create all my
>>>>>> project files and I can't get any of the my old projects to open.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 23, 2015 at 3:09 PM, Matt Boyd <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=4>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 23, 2015 at 2:58 PM, Nicolas Cadieux <[hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=5>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>> If you had and "openlayer" opened (like google earth or bing map),
>>>>>> but but did not reinstall the plugin, it can crash.  Try installing that
>>>>>> plugin and see what happens...
>>>>>>
>>>>>> Nope, that doesn't help.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Nicolas Cadieux M.Sc.
>>>>>> Les Entreprises Archéotec inc.
>>>>>> 8548, rue Saint-Denis Montréal H2P 2H2
>>>>>> Téléphone: <a href="tel:<a href="tel:514.381.5112" value="
>>>>>> +15143815112" target="_blank">514.381.5112" target="_blank"><a
>>>>>> href="tel:514.381.5112" value="+15143815112" target="_blank">
>>>>>> 514.381.5112  Fax: <a href="tel:<a href="tel:514.381.4995" value="
>>>>>> +15143814995" target="_blank">514.381.4995" target="_blank"> <a
>>>>>> href="tel:514.381.4995" value="+15143814995" target="_blank">
>>>>>> 514.381.4995
>>>>>>
>>>>>> Le 2015-01-22 22:46, "Matt Boyd [via OSGeo.org]" <[hidden email]
>>>>>> <http://user/SendEmail.jtp?type=node&node=5183270&i=0>> a écrit :
>>>>>>
>>>>>> woops, forgot,
>>>>>>
>>>>>> windows 7 64 bit,
>>>>>>
>>>>>> qgis 2.6 installed via osgeo4w64
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 23, 2015 at 2:45 PM, Matt Boyd <[hidden email]
>>>>>> <http://user/SendEmail.jtp?type=node&node=5183269&i=0>> wrote:
>>>>>>
>>>>>> Hi QGISers,
>>>>>>
>>>>>> for some reason today I can't load saved QGIS projects. QGIS crashes
>>>>>> at abour 95% loaded with no information in the notification about why.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I've tried reinstall from osgeo4w64, reboot, start from command line,
>>>>>> disabling all plugins.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Where's the log file kept and is there a way to enable logging from
>>>>>> the osgeo cl window in windows 7?
>>>>>>
>>>>>>
>>>>>>
>>>>>> About the only thing that's different today is a few updates, one of
>>>>>> them being a .NET windows update.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5183269&i=1>
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>  ------------------------------
>>>>>>
>>>>>> *If you reply to this email, your message will be added to the
>>>>>> discussion below:*
>>>>>>
>>>>>>
>>>>>> http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183269.html
>>>>>>
>>>>>> To start a new topic under Quantum GIS - User, email [hidden email]
>>>>>> <http://user/SendEmail.jtp?type=node&node=5183270&i=1>
>>>>>> To unsubscribe from Quantum GIS - User, click here.
>>>>>> NAML
>>>>>> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>>
>>>>>>  ------------------------------
>>>>>>
>>>>>> View this message in context: Re: QGIS crash on loading projects
>>>>>> <http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183270.html>
>>>>>> Sent from the Quantum GIS - User mailing list archive
>>>>>> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html>
>>>>>> at Nabble.com.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=6>
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183855&i=7>
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>>> ------------------------------
>>>>>>  If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183855.html
>>>>>>  To start a new topic under Quantum GIS - User, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183862&i=1>
>>>>>> To unsubscribe from Quantum GIS - User, click here.
>>>>>> NAML
>>>>>> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>> ------------------------------
>>>>>> View this message in context: Re: Fwd: QGIS crash on loading projects
>>>>>> <http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183862.html>
>>>>>>
>>>>>> Sent from the Quantum GIS - User mailing list archive
>>>>>> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html>
>>>>>> at Nabble.com.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183884&i=2>
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183884&i=3>
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>>> ------------------------------
>>>>>>  If you reply to this email, your message will be added to the
>>>>>> discussion below:
>>>>>>
>>>>>> http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183884.html
>>>>>>  To start a new topic under Quantum GIS - User, email [hidden email]
>>>>>> <http:///user/SendEmail.jtp?type=node&node=5183947&i=1>
>>>>>> To unsubscribe from Quantum GIS - User, click here.
>>>>>> NAML
>>>>>> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>
>>>>>> ------------------------------
>>>>>> View this message in context: Re: Fwd: QGIS crash on loading projects
>>>>>> <http://osgeo-org.1560.x6.nabble.com/QGIS-crash-on-loading-projects-tp5183268p5183947.html>
>>>>>> Sent from the Quantum GIS - User mailing list archive
>>>>>> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html>
>>>>>> at Nabble.com.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> Qgis-user at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>>
>>>>>
>>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150129/87371656/attachment.html>


More information about the Qgis-user mailing list