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

Anki 2.1.50 compatibility #18

Open
rwmpelstilzchen opened this issue Apr 21, 2022 · 6 comments
Open

Anki 2.1.50 compatibility #18

rwmpelstilzchen opened this issue Apr 21, 2022 · 6 comments

Comments

@rwmpelstilzchen
Copy link

Anki Zoom worked fine in 2.1.49, but in 2.1.50 it produces an error message.

@mobedoor
Copy link

Here

@rwmpelstilzchen
Copy link
Author

rwmpelstilzchen commented Apr 22, 2022

Thank! :-)

If I am not mistaken, while it does not show the error message, it still does not work well because of this: zooming in on a card affects the deck browser.

@GrimPixel
Copy link

@rwmpelstilzchen Paste your error message next time.

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 '⁨Anki Zoom⁩':
⁨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/grim/.local/share/Anki2/addons21/538879081/init.py", line 169, in
setup_menu()
File "/home/grim/.local/share/Anki2/addons21/538879081/init.py", line 146, in setup_menu
mw.addon_view_menu = getMenu(mw, "&View")
File "/home/grim/.local/share/Anki2/addons21/538879081/toolbar.py", line 12, in getMenu
menu = a.menu()
AttributeError: 'QAction' object has no attribute 'menu'

@rwmpelstilzchen
Copy link
Author

@GrimPixel: Yeah, that would be more helpful.

@CyberPsyLen
Copy link

I find the same. Since updating to Anki Version ⁨2.1.54 (b6a7760c) - using Mac M1 Silicon⁩, this addon throws error below. I didn't realise how much I needed this addon until I didn't have it!

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Mac 11.3
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-07-27 12:52:28
Add-ons possibly involved: ⁨538879081⁩

Caught exception:
Traceback (most recent call last):
File "decorator", line 232, in fun
File "anki.hooks", line 89, in decorator_wrapper
File "anki.hooks", line 83, in repl
File "/Users/cyberpsylen/Library/Application Support/Anki2/addons21/538879081/init.py", line 110, in AnkiWebView_eventFilter_wrapper
NameError: name 'scrl_threshold' is not defined

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

5 participants
@rwmpelstilzchen @GrimPixel @CyberPsyLen @mobedoor and others