Add-on internalize media seems not to work

Hello,

When I try to use the Add-on internalize media I get this message :

Erreur
 Une erreur est survenue. Veuillez démarrer Anki en maintenant la touche majuscule enfoncée, ce qui désactivera temporairement les greffons que vous avez installés.  Si le problème ne survient que lorsque les greffons sont activés, veuillez utiliser le menu Outils > Greffons afin de désactiver certains greffons. Redémarrez Anki jusqu’à ce que vous découvriez le greffon qui cause le problème.  Une fois ce greffon découvert, merci de signaler le problème sur le site de support du greffon.  Information de débogage :
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=1
Add-ons, last update check: 2020-11-23 22:47:04

Caught exception:
Traceback (most recent call last):
File “D:\Users\Patrick CARTIER\AppData\Roaming\Anki2\addons21\221033553_init_.py”, line 14, in
a.triggered.connect(lambda b, did=did: internailzeMedia(did))
File “D:\Users\Patrick CARTIER\AppData\Roaming\Anki2\addons21\221033553_init_.py”, line 69, in internailzeMedia
note.flush(intTime())
TypeError: flush() takes 1 positional argument but 2 were given

I followed the instructions on this page :

… and the problems remains

Thank you

You could report this problem to the add-on creator in his github repo that is linked from the ankiweb page for the add-on “Media internalizer”. The code of the add-on needs to be changed.

I would have a look at the add-on “Localize Media” which seems to do a similar task and which is more young and which should work better.

1 Like

Thank you, I downladed “Localize Media” and it works.