[Qgis-developer] DB Manager error

Martin Dobias wonder.sk at gmail.com
Wed Jun 11 09:20:08 PDT 2014


Hi Paolo

On Wed, Jun 11, 2014 at 9:45 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Hi all.
> I'm getting an error while opening an SQl window for pg layers in DB Manager (current
> nightly, Debian unstable):
>
> Traceback (most recent call last):
>   File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 182, in
> runSqlWindow
>     from dlg_sql_window import DlgSqlWindow
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 454, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/share/qgis/python/plugins/db_manager/dlg_sql_window.py", line 32, in
>     from .ui.ui_DlgSqlWindow import Ui_DbManagerDlgSqlWindow as Ui_Dialog
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 454, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/share/qgis/python/plugins/db_manager/ui/ui_DlgSqlWindow.py", line 222, in
>     from ..sqledit import SqlEdit
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 454, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/share/qgis/python/plugins/db_manager/sqledit.py", line 32, in
>     from PyQt4.Qsci import *
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 454, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: /usr/lib/python2.7/dist-packages/PyQt4/Qsci.so: undefined symbol:
> _ZTI11QsciPrinter

Works for me - looks like a local problem with your QScintila python bindings.

Regards
Martin


More information about the Qgis-developer mailing list