Navigation

    Migaku Community

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

    Unable to parse fields with F2 after latest update

    Migaku Anki Addon
    fixed
    2
    4
    25
    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.
    • U
      UltimWeeb last edited by Bent

      Hello!

      After the latest update to the Migaku Anki Addon, I've been unable to automatically parse fields using the F2 parsing function. I've tried manually deleting the add-on and reinstalling the latest version manually to see if that would solve the issue, but with no luck.
      For now, I have to manually add the readings and pitch accent to my cards.

      I get this error message:
      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: Windows 10
      Flags: frz=True ao=True sv=2
      Add-ons, last update check: 2022-04-15 18:49:52

      Caught exception:
      Traceback (most recent call last):
      File "aqt\taskman.py", line 101, in on_closures_pending
      File "C:\Users\Even\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection_init
      .py", line 107, in <lambda>
      lambda: func(*args, **kwargs)
      File "C:\Users\Even\AppData\Roaming\Anki2\addons21\1846879528\editor.py", line 51, in handle_syntax
      aqt.mw.col.update_note(note)
      File "anki\collection.py", line 344, in update_note
      File "anki\collection.py", line 337, in update_notes
      File "anki_backend\generated.py", line 321, in update_notes
      File "anki_backend_init_.py", line 131, in _run_command
      anki.errors.NotFoundError

      Is this a known issue? Are there any workarounds?
      Thanks in advance!

      U 1 Reply Last reply Reply Quote 0
      • Bent
        Bent @UltimWeeb last edited by

        @ultimweeb This should have been resolved with the last update.

        1 Reply Last reply Reply Quote 0
        • U
          UltimWeeb @UltimWeeb last edited by

          Oookay, so one more update.

          Apparently I was wrong in my last update. It turns out that the F2 automatic parsing function DOES work in the card editor/browser, but NOT when I'm creating new cards. So the feature DOES work, but, as I said, only when editing existing cards from my deck.

          So, when I try to use the F2 automatic parsing function when creating a new card, I still get the error message I pasted in the top of this thread.

          As extra information, I can add that using Anki for Japanese, and my entire workflow happens in Anki. I do not create cards from the Migaku Dictionary add-on window, I create them directly in the Anki card creator.

          Bent 1 Reply Last reply Reply Quote 0
          • U
            UltimWeeb @UltimWeeb last edited by

            So I'm just coming with an update to this thread to inform that the automatic parsing function is working as intended for me again.
            I have no idea why, seeing as I haven't done any messing with Anki or the add-on after I made this post yesterday.

            Does the error message give you guys at Migaku any indication of what caused the error for me up until today? If there are no obvious answers straight off the bat, you don't need to spend time digging into it, seeing as everything seems to be working for me now anyway 🙂

            U 1 Reply Last reply Reply Quote 0
            • First post
              Last post