[SRU] Spyder won't start (ImportError: No module named QtWebKit)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spyder (Debian) |
Fix Released
|
Unknown
|
|||
spyder (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Yakkety |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
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/
mainwindow = run_spyder(app, options, args)
File "/usr/lib/
main.setup()
File "/usr/lib/
message=
File "/usr/lib/
self.
File "/usr/lib/
from spyderlib.
File "/usr/lib/
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/
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: spyder 2.3.8+dfsg1-1build1
ProcVersionSign
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)
PackageArchitec
SourcePackage: spyder
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in spyder (Debian): | |
status: | Unknown → Fix Released |
Changed in spyder (Ubuntu): | |
importance: | Undecided → High |
summary: |
- Spyder won't start + Spyder won't start (ImportError: No module named QtWebKit) |
tags: | added: zesty |
description: | updated |
summary: |
- Spyder won't start (ImportError: No module named QtWebKit) + [SRU] Spyder won't start (ImportError: No module named QtWebKit) |
Changed in spyder (Ubuntu Yakkety): | |
status: | Fix Committed → Incomplete |
Thanks for taking your time to report this issue nad help making Ubuntu better.
I get the same error message when attempting to start Spyder on Ubuntu Yakkety. I found a corresponding bug report in Debian. It seems like the issue is resolved in newer versions of Spyder but so far this has only been packaged for Debian experimental. Once this has been tested for a while, I would expect it to land in Debian unstable at which point it can be synced to Ubuntu.