Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

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!
Tasklist

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

Details

Description:

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/__init__.py", line 15, in <module>
import anki.buildinfo
File "/usr/lib/python3.8/site-packages/anki/__init__.py", line 7, in <module>
from anki.storage import Collection
File "/usr/lib/python3.8/site-packages/anki/storage.py", line 11, in <module>
from anki.collection import _Collection
File "/usr/lib/python3.8/site-packages/anki/collection.py", line 19, in <module>
import anki.find
File "/usr/lib/python3.8/site-packages/anki/find.py", line 9, in <module>
from anki.hooks import *
File "/usr/lib/python3.8/site-packages/anki/hooks.py", line 20, in <module>
from anki.cards import Card
File "/usr/lib/python3.8/site-packages/anki/cards.py", line 15, in <module>
from anki.rsbackend import BackendCard
File "/usr/lib/python3.8/site-packages/anki/rsbackend.py", line 229, in <module>
class RustBackend:
File "/usr/lib/python3.8/site-packages/anki/rsbackend.py", 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?

Loading...