Community Packages

Please read this before reporting a bug:

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

REPEAT: Do NOT report bugs for outdated packages!

FS#67320 - [anki] error while opening

Attached to Project: Community Packages
Opened by Blanca Cano Camarero (blanquilla) - Saturday, 18 July 2020, 19:20 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 18 July 2020, 21:11 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Johannes L├Âthberg (demize)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



I have tried to open anki after installing it through yay but it have some python error.

I have installed it using yay: `yay -S anki`
Package is anki-2.1.26-1

This doesn't give me any problem

When I try to open the app through terminal I get

reverting to stock json
Traceback (most recent call last):
File "/usr/bin/anki", line 3, in <module>
import aqt
File "/usr/lib/python3.8/site-packages/aqt/", line 15, in <module>
import anki.buildinfo
File "/usr/lib/python3.8/site-packages/anki/", line 7, in <module>
from import Collection
File "/usr/lib/python3.8/site-packages/anki/", line 11, in <module>
from anki.collection import _Collection
File "/usr/lib/python3.8/site-packages/anki/", line 19, in <module>
import anki.find
File "/usr/lib/python3.8/site-packages/anki/", line 9, in <module>
from anki.hooks import *
File "/usr/lib/python3.8/site-packages/anki/", line 20, in <module>
from import Card
File "/usr/lib/python3.8/site-packages/anki/", line 15, in <module>
from anki.rsbackend import BackendCard
File "/usr/lib/python3.8/site-packages/anki/", line 229, in <module>
class RustBackend:
File "/usr/lib/python3.8/site-packages/anki/", line 421, in RustBackend
context: FormatTimeSpanContext = FormatTimeSpanContext.INTERVALS,
AttributeError: 'EnumTypeWrapper' object has no attribute 'INTERVALS'
This task depends upon

Comment by Johannes L├Âthberg (demize) - Wednesday, 29 July 2020, 20:07 GMT
This is weird, since that is definitely in the package.

What does `pacman -Qkk anki` say?
Comment by jam (jam) - Monday, 07 September 2020, 15:35 GMT
Strange, it works just fine for me. Is it possible to update anki now?