Community Packages

Please read this before reporting a bug:

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!

FS#54917 - [anki] 2.1.0beta4-1 missing dependency on python-decorator

Attached to Project: Community Packages
Opened by Benjamin (Beanjamin) - Monday, 24 July 2017, 09:22 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 24 July 2017, 11:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Anki 2.1.0beta4 does not start when python-decorator is not installed, but that package is not listed as a dependency. The previous version (2.1.0beta3-2) ran fine without python-decorator.

Additional info:
Anki crashes with the following message:

Traceback (most recent call last):
File "/usr/bin/anki", line 6, in <module>
import aqt
File "/usr/share/anki/aqt/", line 4, in <module>
from anki import version as _version
File "/usr/share/anki/anki/", line 11, in <module>
from import Collection
File "/usr/share/anki/anki/", line 11, in <module>
from anki.collection import _Collection
File "/usr/share/anki/anki/", line 18, in <module>
from anki.hooks import runFilter, runHook
File "/usr/share/anki/anki/", line 16, in <module>
import decorator
ModuleNotFoundError: No module named 'decorator'

Steps to reproduce:
* Install anki-2.1.0beta4-1 on a system without python-decorator.
* Run "anki".
* The application crashes with the above error message.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 24 July 2017, 11:23 GMT
Reason for closing:  Fixed