anki-custom-shortcuts icon indicating copy to clipboard operation
anki-custom-shortcuts copied to clipboard

Not working on Anki 2.1.41beta2

Open AnKingMed opened this issue 4 years ago • 12 comments

The latest beta has a new error. Damien said he doesn't expect many changes. Happy to test as needed! I think this may be related to the new browser changes and the rescheduling changes which likely will need a custom shortcut (unless you fixed that already in the last one)

Caught exception:
Traceback (most recent call last):
  File "aqt/webview.py", line 37, in cmd
  File "aqt/webview.py", line 136, in _onCmd
  File "aqt/webview.py", line 581, in _onBridgeCmd
  File "<decorator-gen-150>", line 2, in _linkHandler
  File "anki/hooks.py", line 89, in decorator_wrapper
  File "anki/hooks.py", line 86, in repl
  File "/Users/Nick/Library/Application Support/Anki2/addons21/zkingofstudytimers/__init__.py", line 616, in myLinkHandler
    return _old(self, url)
  File "aqt/toolbar.py", line 170, in _linkHandler
  File "aqt/toolbar.py", line 188, in _browseLinkHandler
  File "aqt/main.py", line 1069, in onBrowse
  File "aqt/__init__.py", line 101, in open
  File "aqt/browser.py", line 470, in __init__
  File "aqt/browser.py", line 532, in setupMenus
  File "aqt/hooks_gen.py", line 526, in __call__
  File "anki/hooks.py", line 34, in runHook
  File "/Users/Nick/Library/Application Support/Anki2/addons21/24411424/custom_shortcuts.py", line 283, in cs_browser_setupShortcuts
    f.actionTags.setShortcut(config_scuts["window_browser filter"])
AttributeError: 'Ui_Dialog' object has no attribute 'actionTags'

AnKingMed avatar Feb 10 '21 01:02 AnKingMed