Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52879 - [anki] It doesn't start due to a missing dependency

Attached to Project: Community Packages
Opened by Dany Marcoux (vok5) - Monday, 06 February 2017, 20:29 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 07 February 2017, 00:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The package anki depends on qtwebkit, which is only a make dependency of python2-pyqt4 (itself a dependency of anki). However, qtwebkit is needed not only to make anki, but also to run it.


Additional info:
anki, version 2.0.41-1

Output of the 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: libQtWebKit.so.4: cannot open shared object file: No such file or directory


Steps to reproduce:
1. Remove qtwebkit if installed on system.
2. Install anki with all dependencies (python2-pyqt4 will be already installed, so qtwebkit won't be installed again as a make dependency)
3. Launch anki (in terminal to see output)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 07 February 2017, 00:08 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#52872 

Loading...