<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Sorry, looking in the debugger shows:<br>
    <br>
    s.setValue("/Qgis/plugin-installer/allowExperimental", True)<br>
    <br>
    so the first slash was missing.<br>
    <br>
    <div class="moz-cite-prefix">On 11.09.2014 15:28, Denis Rouzaud
      wrote:<br>
    </div>
    <blockquote cite="mid:5411A391.6090600@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Hi Rémi,<br>
      <br>
      <div class="moz-cite-prefix">On 11.09.2014 14:39, Rémi Bovard
        wrote:<br>
      </div>
      <blockquote
cite="mid:CANkSeKOkc-3a0aN9D5jBu3dso3aW=h5L4q3LFvnnjwWDff5m9w@mail.gmail.com"
        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>
      not sure, but try lowercase + first slash:<br>
      <br>
      s.setValue("/qgis/plugin-installer/allowExperimental", True)<br>
      <br>
      is this better?<br>
      <br>
      <blockquote
cite="mid:CANkSeKOkc-3a0aN9D5jBu3dso3aW=h5L4q3LFvnnjwWDff5m9w@mail.gmail.com"
        type="cite">
        <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 class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>