<div dir="ltr">Hi Denis,<div><br></div><div>Thanks for your answer but this is not better...</div><div><br></div><div>If I manually enable / disable the checkbox, I can see both result with:</div><div>s.value("Qgis/plugin-installer/allowExperimental")</div><div>s.value("/qgis/plugin-installer/allowExperimental")</div><div><br></div><div>Do you know if there is something else to do to allow experimental plugins?</div><div><br></div><div>Thanks.</div><div><br></div><div>Rémi<br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-11 15:28 GMT+02:00 Denis Rouzaud <span dir="ltr"><<a href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Rémi,<span class=""><br>
<br>
<div>On 11.09.2014 14:39, Rémi Bovard wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi list,
<div><br>
</div>
<div>I'm trying to allow experimental plugins via a Python
script and it doesn't work.</div>
<div><br>
</div>
<div>Here is the code:</div>
<div><br>
</div>
<div>
<div>from PyQt4.QtCore import QSettings</div>
<div>s = QSettings()</div>
<div>s.setValue("Qgis/plugin-installer/allowExperimental",
True)</div>
</div>
</div>
</blockquote></span>
not sure, but try lowercase + first slash:<br>
<br>
s.setValue("/qgis/plugin-installer/allowExperimental", True)<br>
<br>
is this better?<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div><br>
</div>
<div>What am I doing wrong?</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div>Rémi</div>
</div>
<br>
<fieldset></fieldset>
<br>
</span><pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div></div>