When trying to load redesign after restarting Anki this comes up - version 2.1.23

araam's Avatar

araam

31 Mar, 2020 07:32 AM

When loading '⁨Redesign⁩':
⁨Traceback (most recent call last):
  File "aqt/addons.py", line 208, in loadAddons
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/__init__.py", line 1, in <module>
    from .redesign import Redesign
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/redesign.py", line 44, in <module>
    from .actions_and_settings import *
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/actions_and_settings.py", line 8, in <module>
    from .color_map import ColorMapWindow
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/color_map.py", line 6, in <module>
    from .gui import create_button, remove_layout, AddonDialog
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/gui.py", line 3, in <module>
    from .languages import _
  File "/Users/araamabboud/Library/Application Support/Anki2/addons21/1914733489/languages.py", line 4, in <module>
    from anki.lang import getLang, _ as fallback_translation
ImportError: cannot import name 'getLang' from 'anki.lang' (/Applications/Anki.app/Contents/MacOS/anki/lang.pyc)

  1. Support Staff 1 Posted by Damien Elmes on 31 Mar, 2020 07:52 AM

    Damien Elmes's Avatar

    You posted this privately, so the add-on author won't be able to see it - would you like me to make it public?

  2. 2 Posted by araam on 31 Mar, 2020 08:34 AM

    araam's Avatar

    yes please!

  3. 3 Posted by Redesign Develo... on 27 Jun, 2020 09:57 PM

    Redesign Developer's Avatar

    Hi there! I'm the developer of the Redesign add-on. I haven't had time to update the add-on to work with newer versions of Anki.

    Fortunately, you can use Anki 2.1.20 or lower and the add-on will work! Other add-ons that affect the main screen may need to be disabled as well.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac