I’ve been attempting to import a CSV file containing Anki notes into my Anki application on Ubuntu. While the import process completes successfully, the imported notes remain invisible within the app.
When I import again, Anki indicates that the import is complete but no new notes are added, no existing notes are updated, and 16 notes remain unchanged, indicating that somehow my notes are there but I can’t find them among the decks, nor in the browse section.
After yet another attempt to import the same file, it did import 3 notes but not the rest.
Note that the very first file I imported was flawlessly used to create a new deck. The second file didn’t work although it had the exact same simple format.
Might be useful: I get this error when clicking on “options” under a deck. No change after checking database.
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.12 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=1
Caught exception:
File “/usr/share/anki/aqt/webview.py”, line 27, in cmd
return json.dumps(self.onCmd(str))
File “/usr/share/anki/aqt/webview.py”, line 87, in _onCmd
return self._onBridgeCmd(str)
File “/usr/share/anki/aqt/webview.py”, line 386, in _onBridgeCmd
return self.onBridgeCmd(cmd)
File “/usr/share/anki/aqt/overview.py”, line 43, in _linkHandler
self.mw.onDeckConf()
File “/usr/share/anki/aqt/main.py”, line 869, in onDeckConf
aqt.deckconf.DeckConf(self, deck)
File “/usr/share/anki/aqt/deckconf.py”, line 25, in init
self.setupConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 49, in setupConfs
self.loadConfs()
File “/usr/share/anki/aqt/deckconf.py”, line 66, in loadConfs
self.onConfChange(startOn)
File “/usr/share/anki/aqt/deckconf.py”, line 89, in onConfChange
self.loadConf()
File “/usr/share/anki/aqt/deckconf.py”, line 175, in loadConf
f.lrnFactor.setValue(c[‘initialFactor’]/10.0)
<class ‘TypeError’>: setValue(self, int): argument 1 has unexpected type ‘float’
2.1.15 is a very old version. Maybe it’s some old Ubuntu package that never got updated? The latest two versions are 2.1.66 and 23.10.1 (new version naming scheme is in effect). Maybe try one of those and see if it helps.