themoeway / local-audio-yomichan

Anki add-on to run a local audio server for Yomichan.
MIT License
73 stars 10 forks source link

An attempt was made to access a socket in a way forbidden by its access permissions #19

Open ghost opened 6 months ago

ghost commented 6 months ago

Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0 Platform: Windows-10-10.0.22621 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2023-12-18 14:08:09

When loading Local Audio Server for Yomichan: Traceback (most recent call last): File "aqt.addons", line 245, in loadAddons File "C:\Users\xxx\AppData\Roaming\Anki2\addons21\1045800357__init.py", line 9, in run_server() File "C:\Users\xxx\AppData\Roaming\Anki2\addons21\1045800357\server.py", line 210, in run_server httpd = http.server.ThreadingHTTPServer((HOSTNAME, PORT), LocalAudioHandler) File "socketserver", line 452, in init__ File "http.server", line 136, in server_bind File "socketserver", line 466, in server_bind PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions