Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Specific support for Deluge on Microsoft Windows OS
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

G'day.

Ever since I upgraded last month to the latest version of Deluge for Windows 2.1.1, from the previous v1.x which Windows was stuck with for so long, I've experienced:

Deluge becoming unresponsive if left to run for a long time.
Or Deluge just stops downloading and uploading.

And if either of the above happens, even if I can successfully quit Deluge in the GUI, deluge.exe keeps running in the background and cannot be successfully terminated even using the command line to try and kill it. This even causes Windows 11 (currently 24H2 build 26100.2605 running on an i5 8400) to fail to restart and get permanently stuck on the restart screen, till I force a shutdown by holding down the power button.

TIA for any help you can provide :-)
Frog blast the vent core!
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by ambipro »

I'm not sure what count of torrents you have, but you can enable logging and see if it has any issues during the shutdown process, typically this would hang during saving the .state file and be something you can see when you read the logs at shutdown.

You can run the -debug.exe variants of deluge to see the output better, then use https://man.archlinux.org/man/deluged.1.en some CLI arguments to log to a file.

How many torrents are in your client?
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

I've 52 torrents right now, five of which are paused. Not excessive, I'd imagine?
Frog blast the vent core!
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by ambipro »

no, not even close.

turn on logging and see what happens when you exit through the action menu (Quit option under file)

post the logs for me, just the tail end of it. from like 10 lines before you see it receiving the exit.
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

Cheers very much for your help. I'm now running deluge-debug.exe and I'll wait till it bugs out again, then share the result :-)
Frog blast the vent core!
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

Huh, I can't get deluge-debug.exe to open a random port in my router using UPnP as usual with the non-debug version. I was asked if I wanted to grant deluge-debug.exe access to Windows Firewall, and checking there sure enough deluge-debug.exe is allowed with access to private and public networks, just the same as the non-debug version.

EDIT: Ah, never mind, for some reason a restart of Windows sorted this. Why, I could not say... Anyway, now I get on with the testing...
Frog blast the vent core!
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

Well, this is all I got after coming back to my computer to find Deluge frozen when I tried to use it, and unable to be quit, and unable to be terminated from the command line. I'm guessing not helpful...

Code: Select all

23:22:24 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'SmartMove' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\smartmove-0.1-py2.7.egg'!
23:22:24 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\smartmove-0.1-py2.7.egg\deluge\plugins\smartmove\__init__.py", line 45, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
23:22:25 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'Stats' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\stats-0.4.0-py2.7.egg'!
23:22:25 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\stats-0.4.0-py2.7.egg\stats\__init__.py", line 43, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
23:22:26 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'PreventSuspendPlus' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\preventsuspendplus-1.0-py2.7.egg'!
23:22:26 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\preventsuspendplus-1.0-py2.7.egg\preventsuspendplus\__init__.py", line 45, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
Frog blast the vent core!
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

I'm afraid this is not going to work. I just waited till Deluge bugged out hard enough for no activity to be shown any more in the GUI, but not so hard that I couldn't quit the app. Though it doesn't really quit at this point, because it's still showing in Task Manager and the Command Prompt to log is still open and stuck, with the last log update to the file on my desktop being hours ago well before it bugged out. So the debug version of Deluge is too broken to successfully report anything useful about its failure to quit:

Code: Select all

15:13:42 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'SmartMove' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\smartmove-0.1-py2.7.egg'!
15:13:42 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\smartmove-0.1-py2.7.egg\deluge\plugins\smartmove\__init__.py", line 45, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
15:13:42 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'Stats' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\stats-0.4.0-py2.7.egg'!
15:13:42 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\stats-0.4.0-py2.7.egg\stats\__init__.py", line 43, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
15:13:43 [ERROR   ][deluge.pluginmanagerbase          :72  ] Unable to instantiate plugin 'PreventSuspendPlus' from 'c:\\users\\jamie\\appdata\\roaming\\deluge\\plugins\\preventsuspendplus-1.0-py2.7.egg'!
15:13:43 [ERROR   ][deluge.pluginmanagerbase          :72  ] No module named 'core'
Traceback (most recent call last):
  File "deluge\pluginmanagerbase.py", line 148, in enable_plugin
  File "c:\users\jamie\appdata\roaming\deluge\plugins\preventsuspendplus-1.0-py2.7.egg\preventsuspendplus\__init__.py", line 45, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
Frog blast the vent core!
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by ambipro »

How did you install Deluge? It seems like you're missing critical modules...
User avatar
Wizardling
New User
New User
Posts: 8
Joined: Sat Jan 29, 2022 10:07 am

Re: Ever since I updaded to v2 deluge.exe often won't quit and prevents Windows from restarting.

Post by Wizardling »

I downloaded this installer https://ftp.osuosl.org/pub/deluge/windo ... -setup.exe from the downloads page on the Deluge website, and installed to replace the old v1.x version I'd been using for ages, using the defaults of said installer.
Frog blast the vent core!
Post Reply