Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Anki Addon Startup Error

    Migaku Anki Addon
    6
    8
    323
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sdnii last edited by sdnii

      when i load migaku addon 2.0 on monterey 12.3.1, M1, anki 2.1.5 qt6 i get this error:
      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 '⁨Migaku Anki Add-on⁩':
      ⁨Traceback (most recent call last):
      File "aqt.addons", line 244, in loadAddons
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/init.py", line 33, in <module>
      from . import (
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/welcome_wizard.py", line 9, in <module>
      from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/global_hotkeys.py", line 4, in <module>
      import pynput.keyboard
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/init.py", line 40, in <module>
      from . import keyboard
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/init.py", line 31, in <module>
      backend = backend(name)
      File "/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/_util/init.py", line 76, in backend
      raise ImportError('this platform is not supported: {}'.format(
      ImportError: this platform is not supported: cannot import name '_objc' from partially initialized module 'objc' (most likely due to a circular import) (/Users/name/Library/Application Support/Anki2/addons21/1846879528/lib/macos/objc/init.py)

      Try one of the following resolutions:

      • Please make sure that you have Python bindings for the system frameworks installed

      "Version ⁨2.1.50 (26d40c3a)⁩
      Python 3.9.7 Qt 6.2.3 PyQt 6.2.3"

      jakob 1 Reply Last reply Reply Quote 1
      • A
        Anon 105 @Anon v6 last edited by Anon 105

        @anon-v6 i did download it and although it doesn't have the same big bugs as before, i still get this:

        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.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
        Platform: Mac 10.16
        Flags: frz=True ao=True sv=2
        Add-ons, last update check: 2022-07-26 09:49:01
        Add-ons possibly involved: ⁨Migaku Anki Add-on⁩
        
        Caught exception:
        Traceback (most recent call last):
          File "/Users/unrealitycheck/Library/Application Support/Anki2/addons21/1846879528/migaku_connection/ffmpeg_manager.py", line 69, in run
            self.target()
          File "/Users/unrealitycheck/Library/Application Support/Anki2/addons21/1846879528/migaku_connection/ffmpeg_manager.py", line 134, in _download
            with zipfile.ZipFile(download_path) as zf:
          File "zipfile.py", line 1269, in __init__
          File "zipfile.py", line 1336, in _RealGetContents
        zipfile.BadZipFile: File is not a zip file
        

        alt text

        1 Reply Last reply Reply Quote 0
        • A
          Anon 105 @Anon v6 last edited by

          @anon-v6 same here!
          MacBookPro 2019
          MacOs Big Sur 11.6
          Anki 2.1.54

          1 Reply Last reply Reply Quote 0
          • A
            Anon v6 last edited by

            just discovered the reason guys Screen Shot 2022-07-20 at 4.08.23 PM.png

            the version we downloaded literally says it's basically a beta and some add-ons don't work. we should download the stable release

            A 1 Reply Last reply Reply Quote 0
            • A
              Anon v6 @jakob last edited by

              @jei4 I just downloaded the addon and seeing the exact same thing.
              Anki Version ⁨2.1.54 (b6a7760c)⁩
              macOS Monterey V 12.2.1
              Mac Pro 2020 (def not M1)

              A 1 Reply Last reply Reply Quote 0
              • Bent
                Bent last edited by Bent

                Hey, thanks for the reports. I have access to an M1 system now, so a fix should be there soon!

                @dan Your issue isn't related to the above though. You are still using the old vacation add-on which has been replaced. Also you are on Windows unlike the others.

                1 Reply Last reply Reply Quote 0
                • dan
                  dan last edited by

                  Hi guys,

                  I've the same problem. When opened Anki, it threw me this long error message:

                  Error 
                  Se ha producido un error. Por favor inicia la Anki manteniendo presionadas ples teclas Mayús y la flecha hacia abajo, lo que desactivará temporalmente los extensiones que tienes instaladas. 
                  Si este error persiste sólo cuando tienes las extensiones activadas, utiliza Herramientas > Menú de Extensiones para deshabilitar alguna extensión y reinicia el Anki, repitiendo este proceso hasta que descubras qué extensión en concreto es la que causa el problema 
                  Cuando hayas descubierto la extensión que causaba el problema, por favor informa de esto a [sitio de soporte de extensiones](https://help.ankiweb.net/discussions/add-ons/). 
                  Información de depuración: 
                  Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
                  Platform: Windows 10
                  Flags: frz=True ao=True sv=2
                  Add-ons, last update check: 2022-04-18 18:58:59
                  
                  Caught exception:
                  Traceback (most recent call last):
                    File "aqt\progress.py", line 53, in handler
                    File "aqt\main.py", line 142, in on_window_init
                    File "aqt\main.py", line 190, in setupProfileAfterWebviewsLoaded
                    File "aqt\main.py", line 231, in setupProfile
                    File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-44>", line 2, in loadProfile
                    File "anki\hooks.py", line 638, in decorator_wrapper
                    File "anki\hooks.py", line 633, in repl
                    File "aqt\main.py", line 427, in loadProfile
                    File "aqt\gui_hooks.py", line 2033, in __call__
                    File "anki\hooks.py", line 583, in runHook
                    File "C:\Users\Usuario\AppData\Roaming\Anki2\addons21\605638174\main.py", line 162, in runOptimizationRetirement
                      mw.MigakuRescheduler.runDaily()
                    File "C:\Users\Usuario\AppData\Roaming\Anki2\addons21\605638174\rescheduler.py", line 151, in runDaily
                      self.loopCol(retirement = retirement)
                    File "C:\Users\Usuario\AppData\Roaming\Anki2\addons21\605638174\rescheduler.py", line 626, in loopCol
                      self.reRep(card, ease, lastReps)
                    File "C:\Users\Usuario\AppData\Roaming\Anki2\addons21\605638174\rescheduler.py", line 225, in reRep
                      card.flush()
                    File "anki\cards.py", line 89, in flush
                    File "google\protobuf\internal\python_message.py", line 558, in init
                    File "google\protobuf\internal\python_message.py", line 702, in field_setter
                    File "google\protobuf\internal\type_checkers.py", line 173, in CheckValue
                  ValueError: Value out of range: -1
                  
                  

                  I found a functional workaround by disabling the "Migaku Vacation" add-on in the Tool > Add-ons section. I used this add-on (the Vacation one I mean), the week before because of a trip I returned yesterday. So, yeah, first time using it, a giant error appears!
                  Obviously, the rest of the add-ons (Migaku add-on, the editor, etc.) work well.

                  1 Reply Last reply Reply Quote 0
                  • jakob
                    jakob @sdnii last edited by

                    Error message

                    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 '⁨Migaku Anki Add-on⁩':
                    ⁨Traceback (most recent call last):
                      File "aqt.addons", line 244, in loadAddons
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/__init__.py", line 33, in <module>
                        from . import (
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/welcome_wizard.py", line 9, in <module>
                        from .global_hotkeys import HotkeyConfigWidget, hotkey_handler
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/global_hotkeys.py", line 4, in <module>
                        import pynput.keyboard
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/__init__.py", line 40, in <module>
                        from . import keyboard
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/keyboard/__init__.py", line 31, in <module>
                        backend = backend(__name__)
                      File "/Users/username/Library/Application Support/Anki2/addons21/1846879528/lib/shared/pynput/_util/__init__.py", line 76, in backend
                        raise ImportError('this platform is not supported: {}'.format(
                    ImportError: this platform is not supported: cannot import name '_objc' from partially initialized module 'objc' (most likely due to a circular import) (/Users/username/Library/Application Support/Anki2/addons21/1846879528/lib/macos/objc/__init__.py)
                    
                    Try one of the following resolutions:
                    
                     * Please make sure that you have Python bindings for the system frameworks installed
                    

                    My environment

                    macOS 12.3.1
                    Apple M1
                    Anki Version ⁨2.1.50 (26d40c3a)⁩, Python 3.9.7 Qt 6.2.3 PyQt 6.2.3 built for Apple Silicon (anki-2.1.50-mac-apple-qt6.dmg from Github)

                    A 1 Reply Last reply Reply Quote 1
                    • First post
                      Last post