Hi,
I’m beginner to this anki app on Ubuntu 22.04 LTS ,I tried Add on “Image occlusion enhanced” for the first time & It was showing show error msg..
-
List item
I tried this “disable add-ons and restart Anki” -
List item
Bug
type or paste coDebug info:
Anki 2.1.54 (b6a7760c) Python 3.9.10 Qt 6.3.1 PyQt 6.3.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-08-26 15:56:34
Add-ons possibly involved: <U+2068>Multiple type fields on card for 21, Image Occlusion Enhanced<U+2069>
Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 568, in handler
File "/home/devrajops369/.local/share/Anki2/addons21/711285688/Multiple_type_fields_on_card_for_2_1.py", line 135, in myOnTypedAnswer
self._showAnswer()
File "decorator", line 232, in fun
File "anki.hooks", line 89, in decorator_wrapper
File "anki.hooks", line 86, in repl
File "/home/devrajops369/.local/share/Anki2/addons21/1374772155/main.py", line 280, in on_show_answer
ret = _old(self)
File "aqt.reviewer", line 402, in _showAnswer
File "aqt.reviewer", line 332, in _mungeQA
File "/home/devrajops369/.local/share/Anki2/addons21/711285688/Multiple_type_fields_on_card_for_2_1.py", line 43, in myTypeAnsFilter
return self.typeAnsAnswerFilter(buf, 0)
File "/home/devrajops369/.local/share/Anki2/addons21/711285688/Multiple_type_fields_on_card_for_2_1.py", line 99, in myTypeAnsAnswerFilter
cor = self.mw.col.media.strip(self.typeCorrect[i])
File "anki.media", line 153, in strip
File "re", line 210, in sub
TypeError: expected string or bytes-like object
de here