Cardosaum / anki-addons

My addon contribuitions
GNU General Public License v2.0
2 stars 3 forks source link

Error on Startup - Version 23.12.1 #6

Open danielkorth opened 3 months ago

danielkorth commented 3 months ago

Encountered the following error on startup

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3 Platform: macOS-13.4.1-arm64-arm-64bit

When loading Hide New Cards Until Next Day: Traceback (most recent call last): File "aqt.addons", line 245, in loadAddons File "/Users/XXX/Library/Application Support/Anki2/addons21/1999327581/init.py", line 190, in action.setShortcuts(QKeySequence("Ctrl+Alt+t")) TypeError: index 0 has type 'QKeyCombination' but 'QKeySequence' is expected

Workaround

Just comment the line 190 in the __init__.py


Okay, I just encountered the same error as previously reported:

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3 Platform: macOS-13.4.1-arm64-arm-64bit

Traceback (most recent call last): File "aqt.progress", line 118, in handler File "aqt.main", line 219, in on_window_init File "_aqt.hooks", line 3553, in call File "/Users/korth/Library/Application Support/Anki2/addons21/1999327581/init.py", line 173, in marker_main suspend_cards_v2(added_today_only=config_added_today_only) File "/Users/korth/Library/Application Support/Anki2/addons21/1999327581/init.py", line 99, in suspend_cards_v2 remove_tags(nids_tags_to_remove, " ".join(marker_tags)) File "/Users/korth/Library/Application Support/Anki2/addons21/1999327581/init.py", line 68, in remove_tags mw.col.tags.bulk_update(nids, tags, "", False) File "anki._legacy", line 80, in getattr AttributeError: 'TagManager' object has no attribute 'bulk_update'

===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) AnkiConnect ['2055492159', 2024-06-18T11:37, 'None', mod] Hide New Cards Until Next Day ['1999327581', 2022-05-20T03:39, 'None', ''] Image Occlusion Enhanced ['1374772155', 2022-04-09T16:15, 'None', '']

===IDs of active AnkiWeb add-ons=== 1374772155 1999327581 2055492159

===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed])