New Windows 11 install

General support for problems installing or using Deluge
Post Reply
atnetsolutions
New User
New User
Posts: 5
Joined: Wed May 10, 2023 3:32 pm

New Windows 11 install

Post by atnetsolutions »

Hello,

Brand new Windows 11 install, latest version and when I try and launch I get this:

Traceback (most recent call last):
File "deluge-script.pyw", line 33, in <module>
File "deluge\ui\ui_entry.py", line 140, in start_ui
File "deluge\ui\gtk3\__init__.py", line 45, in start
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "deluge\ui\gtk3\gtkui.py", line 30, in <module>
File "twisted\internet\gtk3reactor.py", line 57, in install
File "twisted\internet\gtk3reactor.py", line 47, in __init__
File "twisted\internet\gireactor.py", line 118, in __init__
File "twisted\internet\_glibbase.py", line 323, in __init__
File "twisted\internet\selectreactor.py", line 74, in __init__
File "twisted\internet\base.py", line 627, in __init__
File "twisted\internet\posixbase.py", line 327, in installWaker
File "twisted\internet\posixbase.py", line 125, in __init__
PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Is this a known issue? Is there a fix?
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: New Windows 11 install

Post by mhertz »

It shows an error usually related to port already used by other process, or antivirus/firewall app/rule blocking/interfering. Try change port used e.g can do manually in %appdata%\deluge\core.conf under listen_ports, maybe also outgoing_ports, and/or enable 'random_port". There's also a daemon-port of 58846 which I guess could be already used to. I'm not at my computer now, so cannot check in my windows VM if such scenario triggers that error. Strange though as atleast I remember in older times deluge had an option enabled for letting libtorrent change port accordingly if already in use, but as said could also be antivirus/firewall, or main daemon-port. You can momentarilly try disable antivirus/firewall if changing port don't help, also if running a VPN then disable too, and maybe try running deluge as admin, just shortly of-course for quick test, if you feel safe about it.
atnetsolutions
New User
New User
Posts: 5
Joined: Wed May 10, 2023 3:32 pm

Re: New Windows 11 install

Post by atnetsolutions »

Got it. Had to setup port forwarding in the PIA vpn client.

Thanks!
Post Reply