Anki does not load. Needs qtwebkit

Bug #1650821 reported by bhikkhu subhuti
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
anki (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Anki Does not load.

Error from terminal
Traceback (most recent call last):
  File "/usr/bin/anki", line 7, in <module>
    import aqt
  File "/usr/share/anki/aqt/__init__.py", line 12, in <module>
    from aqt.qt import *
  File "/usr/share/anki/aqt/qt.py", line 22, in <module>
    from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings
ImportError: No module named QtWebKit

There is a work around by installing a special python library.
but when I do the upgrade.. it upgrades
python-qt4
and breaks again.
THIS IS A MAJOR BUG at least for gnome 16.10 and I think 16.04 too.

This has nothing to do with my mainline linux. It did this long before.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: anki 2.0.32+dfsg-1
Uname: Linux 4.9.0-040900-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Dec 18 05:29:33 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-11-05 (42 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageArchitecture: all
SourcePackage: anki
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
bhikkhu subhuti (bksubhuti) wrote :
Revision history for this message
bhikkhu subhuti (bksubhuti) wrote :

If I reinstall using dpkg - i python-qt4_4.11.2+dfsg-1_amd64.deb

then it will work. (it is a lower version python)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1633737, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in anki (Ubuntu):
status: New → Confirmed
Pander (pander)
tags: added: zesty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.