Hi Jürgen,
After a lot of testing, we were able to reproduce the error regularly and we
found (drum roll) that the culprit was the network, specifically Samba Oplocks,
which was doing internal file caching. Since our users profile directories
were organized so that the path to qgis2.ini was the same for all users (even
though it was pointing to a different file for each user), Samba was letting
QGIS read from the cached copy of the file if the file was locked, and that
could have been last cached from any user. Moral of the story- either turn
oplocks off on a networked profile directory or make sure that each user’s path
to the ini or any files on that directory look different. If we had used the
username to build the path, we probably would have been fine. Ta Da! (That
wasn’t at all fun though.)
Thanks for the help,
Heather
Von: Jürgen E. Fischer [via OSGeo.org]
[mailto:[email protected]]
Gesendet: Mittwoch, 25. Februar 2015 10:15
An: Hillers Heather
Betreff: Re: Qgis settings corrupted after crash.
Hi Heather,
On Wed, 25. Feb 2015 at 00:39:21 -0800, Heather Hillers wrote:
> We call our qgis like this in the .bat:
> start "QGIS" /B "%OSGEO4W_ROOT%"\bin\qgis-bin.exe --configpath U:/qgis %*
Ok, that also moves the configuration from the registry to ini files. Did you
verify that U:/qgis was still pointing at the right directory when it happend?
I suspect that it wasn't and was pointing to some other users configuration -
but that hard to tell.
What else does "restarting qgis" involve in your setup?
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode
_______________________________________________
Qgis-user mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=5189874&i=0>
http://lists.osgeo.org/mailman/listinfo/qgis-user
[http://osgeo-org.1560.x6.nabble.com/images/icon_attachment.gif]signature.asc
(844 bytes) Download
Attachment<http://osgeo-org.1560.x6.nabble.com/attachment/5189874/0/signature.asc>
________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5189874.html
To unsubscribe from Qgis settings corrupted after crash., click
here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5189649&code=SGVhdGhlci5IaWxsZXJzQGVyZnR2ZXJiYW5kLmRlfDUxODk2NDl8LTE2NjY0MDg4NTg=>.
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:
http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5191218.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user