Migaku Dictionary add-on(?) error on Linux

Hi, I know the author doesn’t provide support for linux but if the community found a workaround, I will gladly take it.

I’m getting an error when I try to Add a new card with this add-on on.
Isolating the add-on gives me the error, excluding it doesn’t give any error.
It works perfectly fine outside Adding new card.

Fresh install of the latest EndeavourOS and anki 2.1.35(from arch repository), got the same error on Manjaro too

Debug info:
Anki 2.1.35 (84dcaa86) Python 3.9.7 Qt 5.15.2 PyQt 5.15.4
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons, last update check: 2021-09-16 20:15:27

Caught exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/decorator.py", line 231, in fun
    args, kw = fix(args, kw, sig)
  File "/usr/lib/python3.9/site-packages/decorator.py", line 203, in fix
    ba = sig.bind(*args, **kwargs)
  File "/usr/lib/python3.9/inspect.py", line 3043, in bind
    return self._bind(args, kwargs)
  File "/usr/lib/python3.9/inspect.py", line 2964, in _bind
    raise TypeError('too many positional arguments') from None
TypeError: too many positional arguments
  • List of add-ons I have:
    KanjiEaters Smart Japanese Kindle Highlights
    Browser TableEditor side-by-side horizontal split
    Clean Add Notes history
    Countdown To Events and Exams
    Frozen Fields
    Japanese Support
    Migaku Dictionary
    Migaku Editor
    Migaku Japanese
    No Distractions Full Screen Clean review interface TabletTouch support
    Pass/Fail 2
    Paste Images As WebP
    Review Hotmouse
    Speed Focus Mode auto-alert auto-reveal auto-fail

Thanks for even reading this and tell me what else can I do to provide more information.

Oups sorry I overlooked the workaround in the github issue page:
You have to comment those two lines in main.py

AddCards.addCards = wrap(AddCards.addCards, addEditActivated)
AddCards.onHistory = wrap(AddCards.onHistory, addEditActivated)

Apparently also happened on windows for that person, I wonder if they are gonna fix that for the coming update tho.