Re: [Qgis-developer] Resource sharing unusable on Debian

2016-09-20 Thread Paolo Cavallini
Il 20/09/2016 08:45, Marco Bernasocchi ha scritto:
> in PyQt4 right?

yes

> 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

thanks

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html



signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Resource sharing unusable on Debian

2016-09-20 Thread Marco Bernasocchi
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



signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Resource sharing unusable on Debian

2016-09-20 Thread Paolo Cavallini
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
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer