Hi all, I’m using anki on a Linux Ubuntu 22.04.1 LTS laptop.
When I click on Tools > Manage Note Types > Add, I get this error message:
Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.15 (442df9d6) Python 3.10.4 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=2
Caught exception:
File “/usr/share/anki/aqt/models.py”, line 83, in onAdd
m = AddModel(self.mw, self).get()
File “/usr/share/anki/aqt/models.py”, line 173, in init
if isinstance(name, collections.Callable):
<class ‘AttributeError’>: module ‘collections’ has no attribute ‘Callable’
Also, when I try to import a file !CSV-Sauce Note Type.apkg I get this error:
Import failed.
Traceback (most recent call last):
File “/usr/share/anki/aqt/importing.py”, line 339, in importFile
importer.run()
File “/usr/share/anki/anki/importing/apkg.py”, line 39, in run
Anki2Importer.run(self)
File “/usr/share/anki/anki/importing/anki2.py”, line 23, in run
self._prepareFiles()
File “/usr/share/anki/anki/importing/anki2.py”, line 44, in _prepareFiles
raise Exception(“V2 scheduler can not import V1 decks with scheduling included.”)
Exception: V2 scheduler can not import V1 decks with scheduling included.
Do I need to reinstall? I tried restarting my computer and enable some graphics rendering options in the terminal but that didn’t help. I’m really new to anki, but I’ve used it on Windows and Android before.
Thanks for the help.
-Matt