Bug#828031: qgis: QtWebKit not found by extensions

2016-06-26 Thread Richard Duivenvoorde
On Fri, 24 Jun 2016 08:01:17 +0200 =?utf-8?b?QmFsw6F6cyBCw6Fyw6FueQ==?=
 wrote:
> Package: qgis
> Version: 2.14.3+dfsg-2
> Severity: important
> 
> Dear Maintainer,
> 
> since a few days, QGIS isn't able to load modules that depend on QWebView
> anymore.
> 
> This affects e. g. the important OpenLayers module and happens on two Debian
> Testing machines.

Hi Balázs,

The QGIS project is aware of the removing of this important Python
module (QtWebKit) from Debian testing, and for QGIS itself there have
been some changes to handle this.

This means some functionality is missing, but core functionality should
still be ok.

The OpenLayers-plugins is an external plugin. I hope in your work you
can use the QuickMapServices-plugin as an alternative.

In the view of future, we hope to be able to use QtWebKit again in QGIS
3.0 which will be the next version after 2.16 and be based on Qt5 and
use python3...

Regards,

Richard Duivenvoorde



Bug#828031: qgis: QtWebKit not found by extensions

2016-06-24 Thread Sebastiaan Couwenberg
Control: tags -1 upstream

Hi Balázs,

On 06/24/2016 08:01 AM, Balázs Bárány wrote:
> since a few days, QGIS isn't able to load modules that depend on QWebView
> anymore.

This has been an issue for more than a few days. QtWebKit support has
been removed from python-qt4 which was uploaded to unstable on May 25th.

The QGIS developers promised to fix the issues caused by the removal of
QtWebKit and the update to osgEarth 2.7. They have not kept their word,
leaving qgis broken in testing & unstable.

We may be able to switch to Qt5 with the upcoming QGIS 2.16 release
which should have dual Qt4/PyQt4/Python2 and Qt5/PyQt5/Python3 support. [0]

That is a suboptimal solution though, because it forces us off the LTR
releases which are most suitable for Debian.

I'm sick and tired of dealing with the refusal from the QGIS developers
to handle changes in their dependencies. They only care for their own
packages. I'm considering dropping qgis from Debian, let the users deal
with QGIS upstream themselves.

I'll forward this issue upstream, but don't get your hopes up for a fix
in any future 2.14 LTR.

[0] https://lists.debian.org/debian-gis/2016/02/msg00036.html

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#828031: qgis: QtWebKit not found by extensions

2016-06-24 Thread Balázs Bárány
Package: qgis
Version: 2.14.3+dfsg-2
Severity: important

Dear Maintainer,

since a few days, QGIS isn't able to load modules that depend on QWebView
anymore.

This affects e. g. the important OpenLayers module and happens on two Debian
Testing machines.

Error messages at start:

Couldn't load plugin openlayers_plugin due to an error when calling its
classFactory() method

ImportError: cannot import name QtWebKit
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 306, in
startPlugin
plugins[packageName] = package.classFactory(iface)
  File "/home/bb/.qgis2/python/plugins/openlayers_plugin/__init__.py", line 25,
in classFactory
from openlayers_plugin import OpenlayersPlugin
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/bb/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
line 28, in
from openlayers_overview import OLOverview
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/bb/.qgis2/python/plugins/openlayers_plugin/openlayers_overview.py", line
23, in
from openlayers_ovwidget import OpenLayersOverviewWidget
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/bb/.qgis2/python/plugins/openlayers_plugin/openlayers_ovwidget.py", line
38, in
from ui_openlayers_ovwidget import Ui_Form
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/home/bb/.qgis2/python/plugins/openlayers_plugin/ui_openlayers_ovwidget.py",
line 80, in
from PyQt4 import QtWebKit
ImportError: cannot import name QtWebKit


Python version: 2.7.12rc1 (default, Jun 13 2016, 09:20:59) [GCC 5.4.0 20160609]
QGIS version: 2.14.3-Essen Essen, exported

Python Path:
/usr/share/qgis/python
/home/bb/.qgis2/python
/home/bb/.qgis2/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python2.7
/usr/lib/python2.7/plat-i386-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PILcompat
/usr/lib/python2.7/dist-packages/gst-0.10
/usr/lib/python2.7/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.7
/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
/home/bb/.qgis2//python

Couldn't load plugin 'processing'

ImportError: No module named QtWebKit.QWebView
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 281, in
loadPlugin
__import__(packageName)
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/__init__.py", line 29, in
from processing.tools.general import *
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 28,
in
from processing.core.Processing import Processing
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 44,
in
from processing.gui.Postprocessing import handleAlgorithmResults
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/gui/Postprocessing.py", line
39, in
from processing.gui.ResultsDialog import ResultsDialog
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/gui/ResultsDialog.py", line
38, in
os.path.join(pluginPath, 'ui', 'DlgResults.ui'))
  File "/usr/lib/python2.7/dist-packages/PyQt4/uic/__init__.py", line 211, in
loadUiType
exec(code_string.getvalue(), ui_globals)
  File "", line 52, in
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named QtWebKit.QWebView


Python version: 2.7.12rc1 (default, Jun 13 2016, 09:20:59) [GCC 5.4.0 20160609]
QGIS version: 2.14.3-Essen Essen, exported

Python Path:
/usr/share/qgis/python
/home/bb/.qgis2/python
/home/bb/.qgis2/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python2.7
/usr/lib/python2.7/plat-i386-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload