[Qgis-developer] Resource sharing unusable on Debian
Marco Bernasocchi
marco at opengis.ch
Mon Sep 19 23:45:59 PDT 2016
in PyQt4 right?
it will newer work since QtWebKitWidgets is defined only in PyQt5.
the plugin should use qgis.PyQt or the QGIS2compat plugin. thanks for
giving me a show of case just the day after the release ;)
the problem is in
https://github.com/akbargumbira/qgis_resources_sharing/blob/develop/resource_sharing/gui/ui/resource_sharing_dialog_base.ui#L598
ciao
Marco
On 20.09.2016 08:32, Paolo Cavallini wrote:
> Hi all,
> in spite of the porting of QtWebKit in our Debian packaging, the new
> Resource sharing plugin is still unusable [0]. Could somebody please
> have a look to this?
> Thanks a lot.
>
> [0]
> ImportError: No module named QtWebKitWidgets.QWebView
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 333, in
> startPlugin
> plugins[packageName] = package.classFactory(iface)
> File
> "/home/paolo/.qgis2/python/plugins/qgis_resource_sharing/__init__.py",
> line 57, in classFactory
> from resource_sharing.plugin import Plugin
> File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File
> "/home/paolo/.qgis2/python/plugins/qgis_resource_sharing/resource_sharing/plugin.py",
> line 27, in
> from gui.resource_sharing_dialog import ResourceSharingDialog
> File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File
> "/home/paolo/.qgis2/python/plugins/qgis_resource_sharing/resource_sharing/gui/resource_sharing_dialog.py",
> line 63, in
> FORM_CLASS, _ =
> uic.loadUiType(ui_path('resource_sharing_dialog_base.ui'))
> File "/usr/lib/python2.7/dist-packages/PyQt4/uic/__init__.py", line
> 211, in loadUiType
> exec(code_string.getvalue(), ui_globals)
> File "", line 299, in
> File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named QtWebKitWidgets.QWebView
>
--
Marco Bernasocchi
OPENGIS.ch - berna.io - 27summits.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160920/a23d7ccd/attachment.sig>
More information about the Qgis-developer
mailing list