Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for anki version 23.10 #36

Open
lil5 opened this issue Nov 16, 2023 · 4 comments
Open

Doesn't work for anki version 23.10 #36

lil5 opened this issue Nov 16, 2023 · 4 comments

Comments

@lil5
Copy link

lil5 commented Nov 16, 2023

Add-on Startup Failed
The following add-ons failed to load: ⁨
Straight Reward
They may need to be updated to support this version of Anki. Click the Check for Updates button to see if any updates are available.
You can use the Copy Debug Info button to get information that you can paste in a report to the add-on author.
For add-ons that don't have an update available, you can disable or delete the add-on to prevent this message from appearing.

Anki Version:

Version ⁨23.10 (51a10f09)⁩
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3

Debug Log:

Anki 23.10 (51a10f09) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-14.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-16 16:05:28

When loading Straight Reward:
Traceback (most recent call last):
  File "aqt.addons", line 244, in loadAddons
  File "/Users/lil5/Library/Application Support/Anki2/addons21/957961234/__init__.py", line 40, in <module>
    from .src import init
  File "/Users/lil5/Library/Application Support/Anki2/addons21/957961234/src/__init__.py", line 2, in <module>
    from .lib import init_review_hook, init_sync_hook
  File "/Users/lil5/Library/Application Support/Anki2/addons21/957961234/src/lib/__init__.py", line 1, in <module>
    from .review_hook import init_review_hook
  File "/Users/lil5/Library/Application Support/Anki2/addons21/957961234/src/lib/review_hook.py", line 4, in <module>
    from aqt.gui_hooks import (
ImportError: cannot import name 'review_did_undo' from 'aqt.gui_hooks' (unknown location)

https://ankiweb.net/shared/info/957961234

@lil5
Copy link
Author

lil5 commented Nov 16, 2023

Fixed here: #34

But not it's not available yet on anki addons website.

I suggest keeping open until then for searchablity.

@btsworld613
Copy link

It's still not working for Anki 23.10 and I use Windows 11. Thank you!

@DoctorToBeIn23
Copy link

Loads now but not working and notification not popping up.

@shigeyukey
Copy link

Hmmm? The author seems to be very busy so I thought I would make a temporary Fork and upload it to AnkiWeb, but after reading the source code, this problem has already been fixed. So it should work without repair. Wouldn't this problem be solved by updating the add-on to the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants