Error with very fist card created

Hi folks,

I just created my very first deck and two cards. When I input my answer text and want to check the answer I get this 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.11.2 Qt 5.15.8 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
File “/usr/share/anki/aqt/”, line 322, in handler
File “/usr/share/anki/aqt/”, line 461, in _onTypedAnswer
File “/usr/share/anki/aqt/”, line 217, in _showAnswer
a = self._mungeQA(a)
File “/usr/share/anki/aqt/”, line 156, in _mungeQA
return self.typeAnsFilter(mungeQA(, buf))
File “/usr/share/anki/aqt/”, line 306, in typeAnsFilter
return self.typeAnsAnswerFilter(buf)
File “/usr/share/anki/aqt/”, line 362, in typeAnsAnswerFilter
cor = parser.unescape(cor)
<class ‘AttributeError’>: ‘HTMLParser’ object has no attribute ‘unescape’

If it’s your first card created. That means you’ve just installed Anki, right?. But why is the version you’re using too old?
Try installing the latest one and try again.

1 Like

It’s probably a package installed via OP’s package manager. @lernomat the packaged versions are often very dated, so you should always install Anki manually on Linux by following these instructions: Install & Upgrade - Anki Manual

1 Like

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