Giter Site home page Giter Site logo

anki-addons's Issues

Add on error on start up - Anki version 23.12.1

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22631

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 "C:\Users\Fekade\AppData\Roaming\Anki2\addons21\1999327581_init
.py", line 173, in marker_main
suspend_cards_v2(added_today_only=config_added_today_only)
File "C:\Users\Fekade\AppData\Roaming\Anki2\addons21\1999327581_init_.py", line 99, in suspend_cards_v2
remove_tags(nids_tags_to_remove, " ".join(marker_tags))
File "C:\Users\Fekade\AppData\Roaming\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])
Beautify-Anki 20 mizmu ['1116770498', 2023-10-31T14:51, 'None', mod]
Find cards from UWorld test ['444814983', 2023-10-23T05:03, 'None', '']
Hide New Cards Until Next Day ['1999327581', 2022-05-19T14:39, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', '']
Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
Symbols As You Type ['2040501954', 2024-01-20T00:42, 'None', '']

===IDs of active AnkiWeb add-ons===
1116770498 1374772155 1771074083 1999327581 2040501954 444814983

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

Hide New Cards Until Next Day: Exception on startup

This error occurs every time I start Anki with Hide New Cards Until Next Day enabled:

Debug info:
Anki 2.1.44 (b2b3275f) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-09-19 00:52:36
Add-ons possibly involved: ?Hide New Cards Until Next Day?

Caught exception:
Traceback (most recent call last):
  File "aqt/main.py", line 1018, in closeEvent
  File "aqt/main.py", line 451, in unloadProfileAndExit
  File "aqt/main.py", line 427, in unloadProfile
  File "aqt/hooks_gen.py", line 2217, in __call__
  File "/home/erik/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1999327581/__init__.py", line 167, in marker_main
    unsuspend_cards_v2(added_today_only=config_added_today_only)
  File "/home/erik/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1999327581/__init__.py", line 116, in unsuspend_cards_v2
    redeem_tags = [
  File "/home/erik/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1999327581/__init__.py", line 119, in <listcomp>
    if REGEX_TAG_REDEEM.search(x) and is_redeem_tag_expired(x)
  File "/home/erik/.var/app/net.ankiweb.Anki/data/Anki2/addons21/1999327581/__init__.py", line 103, in is_redeem_tag_expired
    tag = tag.strip().removeprefix(MARKER_TAG_REDEEM)
AttributeError: 'str' object has no attribute 'removeprefix'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.