# Unable to add new note type or import note type

**URL:** <https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237>\
**Category:** Help\
**Created:** [September 18, 2022, 9:39pm UTC](https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237 "2022-09-18T21:39:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew27](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matthew27/32/11035_2.png) [@Matthew27](https://forums.ankiweb.net/u/Matthew27)\
**Post date:** [September 18, 2022, 9:39pm UTC](https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237/1 "2022-09-18T21:39:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cqg](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@cqg](https://forums.ankiweb.net/u/cqg)\
**Post date:** [September 18, 2022, 11:24pm UTC](https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237/2 "2022-09-18T23:24:38Z")

</div>

That’s a very old Anki version, try a newer one, downloading it from the web (not from a repository)  
[https://docs.ankiweb.net/platform/linux/installing.html](https://docs.ankiweb.net/platform/linux/installing.html)

---

<div class="post-metadata">

**Author:** ![Matthew27](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/matthew27/32/11035_2.png) [@Matthew27](https://forums.ankiweb.net/u/Matthew27)\
**Post date:** [September 19, 2022, 12:51am UTC](https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237/3 "2022-09-19T00:51:19Z")

</div>

Thank you! Didn’t notice the old Anki version! I’m sure that will fix the problem. I’m still a noob at Linux it seems…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:03am UTC](https://forums.ankiweb.net/t/unable-to-add-new-note-type-or-import-note-type/23237/4 "2023-05-01T04:03:04Z")

</div>

Closed on May 1, 2023, 4:03am UTC


