[Bug 1620300] Re: [SRU] Spyder won't start (ImportError: No module named QtWebKit)
Benjamin Drung
bdrung at posteo.de
Thu Dec 15 14:24:14 UTC 2016
** Patch added: "spyder_sru.debdiff"
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+attachment/4791993/+files/spyder_sru.debdiff
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1620300
Title:
[SRU] Spyder won't start (ImportError: No module named QtWebKit)
Status in spyder package in Ubuntu:
Fix Released
Status in spyder source package in Yakkety:
New
Status in spyder source package in Zesty:
Fix Released
Status in spyder package in Debian:
Fix Released
Bug description:
Spyder won't start at all because Qt4WebKit has been removed. No small
fix can be applied. To fix this, we must either re-introduce Qt4WebKit
and use the xenial version of spyder (not going to happen), or use the
version in zesty that is compatible with Qt5 (what is suggested here).
Attachment to comment #12 is a debdiff against the version of spyder
in zesty in order to work with the depending packages in yakkety.
[Test Case]
> apt-get install spyder3
> spyder3
ImportError: No module named QtWebKit
[Regression Potential]
can't get any worse
Original report: After installing packages Spyder I tried to launch it
but it reported:
** (python:19931): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2331, in main
mainwindow = run_spyder(app, options, args)
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 2215, in run_spyder
main.setup()
File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 734, in setup
message=_("Spyder Internal Console\n\n"
File "/usr/lib/python2.7/dist-packages/spyderlib/plugins/console.py", line 74, in __init__
self.find_widget.set_editor(self.shell)
File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/findreplace.py", line 260, in set_editor
from spyderlib.qt.QtWebKit import QWebView
File "/usr/lib/python2.7/dist-packages/spyderlib/qt/QtWebKit.py", line 10, in <module>
from PyQt4.QtWebKit import * # analysis:ignore
ImportError: No module named QtWebKit
A popup stated:
Spyder crashed during last session.
If Spyder does not start at all and before submitting a bug report, please try to reset settings to defaults by running Spyder with the command line option '--reset':
python spyder --reset
Warning: this command will remove all your Spyder configuration files
located in '/home/leo/.spyder2-py3').
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: spyder 2.3.8+dfsg1-1build1
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Sep 5 14:34:36 2016
InstallationDate: Installed on 2016-09-01 (3 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160901)
PackageArchitecture: all
SourcePackage: spyder
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions
More information about the Ubuntu-sponsors
mailing list