fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
178 stars 24 forks source link

Attrbute error from aqt.editor #309

Open GrimPixel opened 2 years ago

GrimPixel commented 2 years ago

Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site. Debug info: Anki 2.1.50 (81cc5a09) Python 3.10.1 Qt 5.15.2 PyQt 5.15.6 Platform: Linux Flags: frz=False ao=True sv=2 Add-ons, last update check: 2022-01-20 21:36:13 Add-ons possibly involved: ⁨Searching PDF Reading Note-Taking in Add Dialog⁩

Caught exception: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/aqt/main.py", line 336, in onOpenProfile self.loadProfile(self.profileDiag.closeWithoutQuitting) File "/usr/lib/python3.10/site-packages/aqt/main.py", line 462, in loadProfile gui_hooks.profile_did_open() File "/usr/lib/python3.10/site-packages/aqt/hooks_gen.py", line 3071, in call hook() File "/home/grim/.local/share/Anki2/addons21/1781298089/src/init.py", line 383, in insert_scripts aqt.editor._html += js_css AttributeError: module 'aqt.editor' has no attribute '_html'

fonol commented 2 years ago

Hi, thanks for the report. The issue will be fixed when using the latest add-on version on the latest beta.