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

Error message on Anki start-up since last add-on update #139

Closed pineappleburger closed 4 years ago

pineappleburger commented 4 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 "aqt/addons.py", line 211, in loadAddons File "/Users/Jo/Library/Application Support/Anki2/addons21/1781298089/init.py", line 4, in from . import src File "/Users/Jo/Library/Application Support/Anki2/addons21/1781298089/src/init.py", line 516, in init_addon() File "/Users/Jo/Library/Application Support/Anki2/addons21/1781298089/src/init.py", line 71, in init_addon state.db_file_existed = create_db_file_if_not_exists() File "/Users/Jo/Library/Application Support/Anki2/addons21/1781298089/src/notes.py", line 77, in create_db_file_if_not_exists conn = sqlite3.connect(file_path) sqlite3.OperationalError: unable to open database file

Anki Version 2.1.34 (8af8f565) Python 3.8.0 Qt 5.15.1 PyQt 5.15.1 MacOS Catalina Version 10.15.6

fonol commented 4 years ago

Hi, when exactly was your last update? The most recent update (today, ~16:20) should fix that error, maybe you don't have that one yet?

pineappleburger commented 4 years ago

Thanks for your fast reply! (and excuse my rather late one)

I updated it and now it works like a charm. Sorry, I thought I already had the latest update installed. -.-'