[Qgis-developer] db_manager plugin not loading in master_2?

Rainer Hurling rhurlin at gwdg.de
Fri Aug 5 01:38:22 PDT 2016


Am 04.08.16 um 15:32 schrieb Richard Duivenvoorde:
> Hi,
>
> when I run current master_2 wit db_manager plugin enabled I get:
>
> NameError: global name 'QObject' is not defined
> Traceback (most recent call last):
>   File
> "/home/richard/apps/qgis/master/debug/share/qgis/python/qgis/utils.py",
> line 342, in startPlugin
>     plugins[packageName].initGui()
>   File
> "/home/richard/apps/qgis/master/debug/share/qgis/python/plugins/db_manager/db_manager_plugin.py",
> line 57, in initGui
>     QObject.connect(self.layerAction, SIGNAL("triggered()"),
> self.onUpdateSqlLayer)
> NameError: global name 'QObject' is not defined
>
> either with or without a fresh config?
>
> In 2.16 the plugin is working ok??

In master it was correct by

https://github.com/qgis/QGIS/commit/2134112aab2defda41e8d16c3ddd27a17e66f553

Works fine now, as far as I can see.

HTH,
Rainer Hurling

> Anyone can check?
>
> Regards,
>
> Richard




More information about the Qgis-developer mailing list