Public bug reported:
when trying to load the OpenLayersPlugin in qgis there's an error
message:
The plugin is broken. Python said:cannot import name QtWebKit
Reason revealed by strace:
qgis uses /usr/bin/python, which is a link to python 2.7 under ubuntu,
and then does not find a particular python lib:
17171 stat("/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit", 0x7ffc1443c810) =
-1 ENOENT (No such file or directory)
17171 openat(AT_FDCWD,
"/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.x86_64-linux-gnu.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
17171 openat(AT_FDCWD, "/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.so",
O_RDONLY) = -1 ENOENT (No such file or directory)
17171 openat(AT_FDCWD,
"/usr/lib/python2.7/dist-packages/PyQt4/QtWebKitmodule.so", O_RDONLY) = -1
ENOENT (No such file or directory)
17171 openat(AT_FDCWD, "/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.py",
O_RDONLY) = -1 ENOENT (No such file or directory)
17171 openat(AT_FDCWD, "/usr/lib/python2.7/dist-packages/PyQt4/QtWebKit.pyc",
O_RDONLY) = -1 ENOENT (No such file or directory)
apt-file says there are no such files in bionic. Bionic offers files for
PyQt5, but not PyQt4.
I'm not sure whether this is a problem of that particular plugin or a
general standard for qgis, to still use PyQt4.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qgis 2.18.17+dfsg-1
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu May 24 17:02:59 2018
InstallationDate: Installed on 2018-04-30 (24 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: qgis
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: qgis (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773196
Title:
The plugin is broken. Python said: cannot import name QtWebKit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qgis/+bug/1773196/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs