After looking to the code [1], it's this setting which is read: "/Qgis/plugin-installer/allowExperimental"
It's really strange... [1] https://github.com/qgis/QGIS/blob/master/python/pyplugin_installer/installer_data.py#L735 2014-09-11 15:37 GMT+02:00 Denis Rouzaud <[email protected]>: > Sorry, looking in the debugger shows: > > s.setValue("/Qgis/plugin-installer/allowExperimental", True) > > so the first slash was missing. > > > On 11.09.2014 15:28, Denis Rouzaud wrote: > > Hi Rémi, > > On 11.09.2014 14:39, Rémi Bovard wrote: > > Hi list, > > I'm trying to allow experimental plugins via a Python script and it > doesn't work. > > Here is the code: > > from PyQt4.QtCore import QSettings > s = QSettings() > s.setValue("Qgis/plugin-installer/allowExperimental", True) > > not sure, but try lowercase + first slash: > > s.setValue("/qgis/plugin-installer/allowExperimental", True) > > is this better? > > > What am I doing wrong? > > Thanks in advance. > > Rémi > > > _______________________________________________ > Qgis-developer mailing > [email protected]http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
