[Qgis-developer] Do Python plugins already work with QGIS 3?
Martin Dobias
wonder.sk at gmail.com
Tue Dec 13 08:21:18 PST 2016
On Wed, Dec 14, 2016 at 12:00 AM, Andreas Neumann <a.neumann at carto.net> wrote:
>
> However, db manager still fails to start with error message:
>
> ----------------------
>
> 2016-12-13T16:53:21 1 Traceback (most recent call last):
> File
> "/usr/local/share/qgis/python/plugins/db_manager/db_manager_plugin.py", line
> 108, in run
> from .db_manager import DBManager
> File "/usr/local/share/qgis/python/qgis/utils.py", line 647,
> in _import
> mod = _builtin_import(name, globals, locals, fromlist,
> level)
> File
> "/usr/local/share/qgis/python/plugins/db_manager/db_manager.py", line 36, in
> <module>
> from .layer_preview import LayerPreview
> File "/usr/local/share/qgis/python/qgis/utils.py", line 647,
> in _import
> mod = _builtin_import(name, globals, locals, fromlist,
> level)
> File
> "/usr/local/share/qgis/python/plugins/db_manager/layer_preview.py", line 27,
> in <module>
> from qgis.gui import QgsMapCanvas, QgsMapCanvasLayer,
> QgsMessageBar
> ImportError: cannot import name 'QgsMapCanvasLayer'
My bad - should be fixed now in latest master.
Cheers
Martin
More information about the Qgis-developer
mailing list