Cannot add new Note type

Hello,

I am new to Anki . Using it on Linux (Kubuntu). When I go to Tools->Manage Notes and try adding Notes (which I belive is the Anki name for Card templates). I get the following error. I have tried ‘Check Database’, disabling Add-Ons and restarting Anki. Nothing seems to fix this issue.

Any help is appreciated.

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.6 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=1

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’

Your version has likely been installed using a package manager and is very old. Please update to the latest Anki version from the website. This will likely resolve your issue.

1 Like

Thanks. I upgraded to 2.1.61 and I could modify existing card templates.

But one of favorite add-ons (Image Occulsion Enhanced #1374772155) seemed to have lost some functionality. I used to interactively mask portions of an image forming the card by creating rectangular boxes. Now I do not see that functionalities at all. The image mask editor is not available anymore.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.