https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-03-04T09:27:16ZQGIS Issue TrackingQGIS Application - Bug report #21464: option --profiles-path when launching QGIS and locale by default involve Qvariant error when activating pluginshttps://issues.qgis.org/issues/21464?journal_id=1011792019-03-04T09:27:16ZJürgen Fischerjef@norbit.de
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Alain FERRATON wrote:</p>
<blockquote>
<p>File "C:\0_test\profiles\default/python/plugins\AcATaMa\acatama.py", line 57, in <i>init</i><br /><strong>locale = QSettings().value('locale/userLocale')[0:2]</strong></p>
</blockquote>
<p>The plugin implies that there is a override - but that's not always the case - file the issue in the plugin's tracker please.</p> QGIS Application - Bug report #21464: option --profiles-path when launching QGIS and locale by default involve Qvariant error when activating pluginshttps://issues.qgis.org/issues/21464?journal_id=1011812019-03-04T09:54:52ZAlain FERRATON
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>This is not a problem for the ATACAMA plugin.<br />That was just one example. The problem occurs for all plugins.</p>
<p>This problem is specific to QGIS 3.4.5 (does not occur under QGIS 3.4.4).<br />When QGIS creates the QGIS.INI file QGIS.INI under QGIS 3.4.5 the lines</p>
<p>[locale]<br />userLocale = fr_FR (in my case)</p>
<p>are not created.</p> QGIS Application - Bug report #21464: option --profiles-path when launching QGIS and locale by default involve Qvariant error when activating pluginshttps://issues.qgis.org/issues/21464?journal_id=1011902019-03-04T11:44:49ZAlain FERRATON
<ul></ul><p>I suspect that this problem is related to the patch:<br /><a class="external" href="https://github.com/qgis/QGIS/pull/9309">https://github.com/qgis/QGIS/pull/9309</a></p> QGIS Application - Bug report #21464: option --profiles-path when launching QGIS and locale by default involve Qvariant error when activating pluginshttps://issues.qgis.org/issues/21464?journal_id=1012082019-03-04T14:12:10ZAlain FERRATON
<ul></ul><p>Even if it is not a long term solution, it is possible to bypass the bug by running QGIS with the --lang option "fr_FR"</p>