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.0rc2 Qt 5.15.2 PyQt 5.15.0
Platform: Linux
Flags: frz=False ao=False sv=?
Caught exception:
File “/usr/share/anki/aqt/main.py”, line 805, in closeEvent
self.unloadProfileAndExit()
File “/usr/share/anki/aqt/main.py”, line 311, in unloadProfileAndExit
self.unloadProfile(self.cleanupAndExit)
File “/usr/share/anki/aqt/main.py”, line 286, in unloadProfile
self.unloadCollection(callback)
File “/usr/share/anki/aqt/main.py”, line 379, in unloadCollection
self.closeAllWindows(callback)
File “/usr/share/anki/aqt/main.py”, line 632, in closeAllWindows
aqt.dialogs.closeAll(onsuccess)
File “/usr/share/anki/aqt/init.py”, line 95, in closeAll
onsuccess()
File “/usr/share/anki/aqt/main.py”, line 377, in callback
onsuccess()
File “/usr/share/anki/aqt/main.py”, line 282, in callback
self._unloadProfile()
File “/usr/share/anki/aqt/main.py”, line 291, in _unloadProfile
self.pm.save()
File “/usr/share/anki/aqt/profiles.py”, line 184, in save
self.db.execute(sql, self._pickle(self.profile), self.name)
File “/usr/share/anki/aqt/profiles.py”, line 163, in _pickle
return pickle.dumps(obj, protocol=0)
<class ‘SystemError’>: PY_SSIZE_T_CLEAN macro must be defined for ‘#’ formats