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

Not compatible with 2.1.50 #319

Closed phonzia closed 2 years ago

phonzia commented 2 years ago

Describe the bug Start failed.

Screenshots image

Environment (please complete the following information):

ppdms commented 2 years ago
Screenshot 2022-04-27 at 2 37 02 PM

Just reproduced this on a clean Anki install on macOS Monterey on M1. Anki version specifics (this is the version for Apple Silicon): Version ⁨2.1.51 (cf78a555)⁩ Python 3.9.7 Qt 6.2.3 PyQt 6.2.3

fonol commented 2 years ago

Hi, I will publish an update compatible with 2.1.50+ in the next weeks (the current version here on Github should already be largely compatible, but needs some more testing).

ghost commented 2 years ago

Still not fixed, Is there a way to go around that error? this didn't work for me :(

ghost commented 2 years ago

An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading '⁨Searching PDF Reading Note-Taking in Add Dialog⁩': ⁨Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/aqt/addons.py", line 244, in loadAddons import(addon.dir_name) File "/home/douhan/.local/share/Anki2/addons21/1781298089/init.py", line 4, in from . import src File "/home/douhan/.local/share/Anki2/addons21/1781298089/src/init.py", line 612, in init_addon() File "/home/douhan/.local/share/Anki2/addons21/1781298089/src/init.py", line 121, in init_addon aqt.editor._html += """ """ AttributeError: module 'aqt.editor' has no attribute '_html' ⁩