<meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Jürgen,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for the help,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Heather<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jürgen E. Fischer [via OSGeo.org] [mailto:<a href="/user/SendEmail.jtp?type=node&node=5191218&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>] <br><b>Gesendet:</b> Mittwoch, 25. Februar 2015 10:15<br><b>An:</b> Hillers Heather<br><b>Betreff:</b> Re: Qgis settings corrupted after crash.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Heather, <br><br>On Wed, 25. Feb 2015 at 00:39:21 -0800, Heather Hillers wrote: <br>> We call our qgis like this in the .bat: <br>> start "QGIS" /B "%OSGEO4W_ROOT%"\bin\qgis-bin.exe --configpath U:/qgis %* <br><br>Ok, that also moves the configuration from the registry to ini files.  Did you <br>verify that U:/qgis was still pointing at the right directory when it happend? <br>I suspect that it wasn't and was pointing to some other users configuration - <br>but that hard to tell. <br><br>What else does "restarting qgis" involve in your setup? <br><br><br>Jürgen <br><br>-- <br>Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31 <br>Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50 <br>Software Engineer           D-26506 Norden             <a href="http://www.norbit.de" target="_top" rel="nofollow" link="external">http://www.norbit.de</a><br>QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         <br><br>_______________________________________________ <br>Qgis-user mailing list <br><a href="/user/SendEmail.jtp?type=node&node=5189874&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a> <br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p><div><p class=MsoNormal><br><img border=0 id="_x0000_i1025" src="http://osgeo-org.1560.x6.nabble.com/images/icon_attachment.gif"><strong>signature.asc</strong> (844 bytes) <a href="http://osgeo-org.1560.x6.nabble.com/attachment/5189874/0/signature.asc" target="_top" rel="nofollow" link="external">Download Attachment</a><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=1 width="100%" noshade style='color:#CCCCCC' align=center></div><div><div><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444'>If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444'><a href="http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5189874.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5189874.html</a> <o:p></o:p></span></p></div><div style='margin-top:4.8pt'><p class=MsoNormal style='line-height:18.0pt'><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666'>To unsubscribe from Qgis settings corrupted after crash., <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br><a href="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" target="_top" rel="nofollow" link="external"><span style='font-size:7.0pt;font-family:"Times New Roman","serif"'>NAML</span></a> <o:p></o:p></span></p></div></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5191218.html">AW: Qgis settings corrupted after crash.</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>