jamesnicolas / yomichan-forvo-server

An audio server for yomichan that scrapes forvo for audio files
33 stars 16 forks source link

Addon not loading #8

Open twinkletoes9 opened 2 years ago

twinkletoes9 commented 2 years ago

Addon won't load and anki gives me the following error on startup. The system I'm using is win11 with the latest anki version but had the same issue while I was still on win10 and anki 2.1.35. image

 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 '⁨Yomichan Forvo Server⁩':
⁨Traceback (most recent call last):
  File "aqt\addons.py", line 230, in loadAddons
  File "C:\Users\user\AppData\Roaming\Anki2\addons21\580654285\__init__.py", line 220, in <module>
    httpd = http.server.ThreadingHTTPServer(('localhost', 8770), ForvoHandler)
  File "socketserver.py", line 452, in __init__
  File "http\server.py", line 140, in server_bind
  File "socket.py", line 756, in getfqdn
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x95 in position 0: invalid start byte