jdlorimer / incremental-reading

Anki add-on providing incremental reading features
https://ankiweb.net/shared/info/935264945
ISC License
217 stars 38 forks source link

错误error #117

Closed kunpeng9 closed 2 years ago

kunpeng9 commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

第1次复习时会弹出错误报警An error alarm will pop up during the first review · Issue #64 · glutanimate/popup-dictionary 错误error · Issue #2 · de-nuke/anki-history-recorder

935264945 2039239436 935264945 Incremental Reading v4.10.3 - AnkiWeb 2039239436 History Recorder - AnkiWeb

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. 在我关闭 这3个插件之后,每次打开anki第1次复习的时候就不会再弹出错误。 After I close these three plug-ins, no more errors will pop up when I open anki for the first review.

935264945 Incremental Reading v4.10.3 - AnkiWeb 2039239436 History Recorder - AnkiWeb Incremental Reading v4.10.3 - AnkiWeb

Screenshots If applicable, add screenshots to help explain your problem. image

Specs (please complete the following information):

Additional context Add any other context about the problem here.

错误 有一个错误发生了.请在按住shift键的同时启动Anki,这样可以临时的禁用您已经安装的插件。 如果仅仅是因为插件引起的问题,请选择工具>插件菜单项来将出错的的插件设置成失效,然后重启Anki,重复以上的步骤直到你发现了具体是哪个插件引起的问题。 当你已经发现是因为插件引起的问题,请在我们的支持网站上 插件支持 上报告问题。 调试信息: Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2 Platform: Windows 10 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2021-07-07 18:40:26

Caught exception: Traceback (most recent call last): File "aqt\webview.py", line 36, in cmd File "aqt\webview.py", line 135, in _onCmd File "aqt\webview.py", line 580, in _onBridgeCmd File "aqt\reviewer.py", line 343, in _linkHandler File "", line 2, in _answerCard File "anki\hooks.py", line 89, in decorator_wrapper File "anki\hooks.py", line 86, in repl File "C:\Users\YEDONG\AppData\Roaming\Anki2\addons21\935264945\main.py", line 214, in answerCard _old(self, ease) File "aqt\reviewer.py", line 271, in _answerCard File "aqt\hooks_gen.py", line 2279, in call File "C:\Users\YEDONG\AppData\Roaming\Anki2\addons21\2039239436__init__.py", line 18, in did_answer_card recorder.save_answer(reviewer, card, ease) File "C:\Users\YEDONG\AppData\Roaming\Anki2\addons21\2039239436\recorder.py", line 68, in save_answer features = self.get_answer_features(card, ease) File "C:\Users\YEDONG\AppData\Roaming\Anki2\addons21\2039239436\recorder.py", line 99, in get_answer_features 'question_has_image': features.question_has_image(), File "C:\Users\YEDONG\AppData\Roaming\Anki2\addons21\2039239436\features.py", line 191, in question_has_image for regexp in MediaManager.imgRegexps AttributeError: type object 'MediaManager' has no attribute 'imgRegexps'

tvhong commented 2 years ago

Look like this is from the History Recorder plugin.

Please reopen if you think otherwise.