FS#52872 - [anki] Crashes on startup after removal of pyqt webkit bindings

Attached to Project: Community Packages
Opened by Daniel Egeberg (degeberg) - Monday, 06 February 2017, 15:10 GMT
Last edited by Balló György (City-busz) - Tuesday, 07 February 2017, 22:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Antonio Rojas (arojas)
Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: Fails starting with the following error:

Traceback (most recent call last):
File "/usr/bin/anki", line 5, 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


Additional info:
* Package version: 2.0.41-1

Steps to reproduce: Run /usr/bin/anki
This task depends upon

Closed by  Balló György (City-busz)
Tuesday, 07 February 2017, 22:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  anki 2.1.0a10-1
Comment by Fabian Maurer (DarkShadow44) - Monday, 06 February 2017, 15:17 GMT
This is caused by updating python2-pyqt4 from 4.12-1 to 4.12-2, downgrading leads to anki starting up again.
Comment by Balló György (City-busz) - Monday, 06 February 2017, 15:49 GMT
Oops, I missed it somehow from the TODO list...

Luckily, the latest alpha release uses Qt5, so we could update the package.
Comment by Balló György (City-busz) - Monday, 06 February 2017, 16:29 GMT
I'm going to upload a new package to [community-testing] soon, but the new version has some new dependencies, which are currently not in the official repositories, so I have to package them first: python-pyaudio, python-send2trash.
Comment by Doug Newgard (Scimmia) - Tuesday, 07 February 2017, 00:21 GMT
Bindings were restored, but it's only an optdep now, so anki needs the hard dep.

Edit: or the update mentioned. Either way.

Loading...