Page 15 of 66
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Tue Dec 03, 2019 11:59 am
by mhertz
You're welcome
A quick search shows high DPI scaling for Windows only supported properly on gtk4 development versions, unless somethings changed in mean time. Good you got it work-arounded regardless.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Wed Dec 04, 2019 4:40 pm
by shinratdr
Thank you for this! I finally have a working installation on my Windows Server 2016 machine that isn't 2.0.1b.
I'm encountering an issue though, I'm trying to install deluge using NSSM. deluged installs fine (albeit not the debug version as the NSSM instructions say as that is no longer included?) and launches fine via service, but deluge-web refuses to launch via service no matter what I do. I've tried other locations for the data, starting from scratch with a fresh config folder, but nothing works.
If I launch deluge-web by just double-clicking on the exe it runs fine and I can connect to it remotely. This works, but if I reboot my machine for updates or maintenance, I have to remote in and manually launch deluge-web which kind of defeats the purpose of a headless machine.
Anyone else encounter this issue?
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Thu Dec 05, 2019 3:04 am
by mhertz
You're welcome!
In my two stable deluge installers, there's missing debug exe's because they for some reason weren't included in the build made by Cas.
In my other two installers for deluge git-develop, there's no pre-made version to use, so I built it myself and there's included debug exes there. I tested it works with latest prerelease nssm(which is stated to be needed on win10) and using the debug exes, like the instructions state.
I build stable deluge myself, and tested nssm worked using the debug exe's, like git-develop also did before, so I updated the two stable installers, and it's portable alternatives, to include debug exe's also.
Note, stop all daemons running, before updating/changing-version.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Thu Dec 05, 2019 6:21 pm
by mhertz
Before, then my installers checked for deluge.exe running and quit with a notion to stop it yourself and try again, as this is what the official installers does also, but I now changed my installers to in addition to check for deluge.exe, then also check for deluged.exe and the web-daemon, and also in it's debug versions, and if finding any of them, then they are silently killed and install continues.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 12:23 am
by MqtUA
Hi!
First, thank you for making this builds/installers, it's sad that we still didn't receive any official Deluge 2 builds.
Unfortunately I can't run it because of this error:

- csrss_XrMnn7g9wK.png (7.61 KiB) Viewed 6727 times
I get it on all builds available at your OneDrive folder.
Can this be solved?
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 1:30 am
by mhertz
Could you please rename your profile folder to deluge-bak and try again, thanks. If it's that, then you probably just need to delete session.state in that folder and start again.
Though i've never seen that error though, when experiencing the above, so i'm alittle unsure.
Which OS, and 64bit right? Are you using the portable version or installers(or all)? I just tried installing to C drive directly, like you did, and it worked fine at my end, and I also retested all the 4 portable archives without error, except I once had to delete the session.state file from deluge profile folder, because of old deluge bug still unfixed. I also tested again on real windows 7 machine, without issue.
Sorry about that, but i'm not really sure what to do about it, if the above isn't working unfortunetly. The error message mentions file which is in place, but have error regardless, which I don't know anything about, and as said, don't experience myself.
Hmm, tomorrow I can try uploading a test version with another earlier python version, and add more of the files which I deleted to save space. I did upload a test version alittle ago, but was little to quick and forgot include runtime-files needed, so had to remove it again, and don't have time right now.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 3:31 am
by shinratdr
mhertz wrote:You're welcome!
In my two stable deluge installers, there's missing debug exe's because they for some reason weren't included in the build made by Cas.
In my other two installers for deluge git-develop, there's no pre-made version to use, so I built it myself and there's included debug exes there. I tested it works with latest prerelease nssm(which is stated to be needed on win10) and using the debug exes, like the instructions state.
I build stable deluge myself, and tested nssm worked using the debug exe's, like git-develop also did before, so I updated the two stable installers, and it's portable alternatives, to include debug exe's also.
Note, stop all daemons running, before updating/changing-version.
Perfect! Replaced NSSM with the W10 compatible release and used the debug exe files from the develop version as suggested. Worked instantly. Thanks for the quick response and all your work on this!
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 8:00 am
by n3mur1t0r
Hello mhertz, thank you for the installer!
I have an issue on one of my machines that I can't seem to figure out: running deluge.exe does absolutely nothing, it creates a profile folder with just ui.conf, containing these lines:
Code: Select all
{
"file": 1,
"format": 1
}{
"default_ui": "gtk"
}
Running deluge-debug.exe yields the following:
Code: Select all
Traceback (most recent call last):
File "C:\Program Files\Deluge\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files\Deluge\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\Deluge\deluge-debug.exe\__main__.py", line 9, in <module>
File "C:\Program Files\Deluge\lib\site-packages\deluge\ui\ui_entry.py", line 143, in start_ui
ui.start()
File "C:\Program Files\Deluge\lib\site-packages\deluge\ui\gtk3\__init__.py", line 43, in start
from .gtkui import GtkUI
File "C:\Program Files\Deluge\lib\site-packages\deluge\ui\gtk3\gtkui.py", line 19, in <module>
import gi # isort:skip (Required before Gtk import).
File "C:\Program Files\Deluge\lib\site-packages\gi\__init__.py", line 42, in <module>
from . import _gi
ImportError: DLL load failed: The specified procedure could not be found.
I'm using 2.0.3 with libtorrent 1.2.2, this happens on both the installer and the portable versions, on Win10 x64.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 8:42 am
by MqtUA
mhertz wrote:Could you please rename your profile folder to deluge-bak and try again, thanks. If it's that, then you probably just need to delete session.state in that folder and start again.
Though i've never seen that error though, when experiencing the above, so i'm alittle unsure.
Which OS, and 64bit right? Are you using the portable version or installers(or all)?
Win10 x64, tried both portable and installer.
By profile folder you mean UserName\AppData\Roaming\deluge ? No session.state file there, just ui.conf
P.S.: deluged and webui seems to work fine, so its just GUI problem.
Re: Deluge 2.0 unofficial Windows installer available.
Posted: Fri Dec 06, 2019 2:47 pm
by mhertz
Strange indeed, though after googling, I saw several, though not deluge related, but regardless, other issues where GTK and python on windows, gave success at one user, but another reported failings, so if it's a bug in GTK or python on some windows systems, then i'm affraid I cannot really do anything about it unfortunetly, sorry.
The only thing I can do, is that i've made a test version of a portable deluge 2.0.3 with libtorrent 1.2.2 and using the previous python version I used(3.6.8), also used in Cas's manual install instructions originally, and left all files there, I before removed to save space, to rule out anything regarding that. Note, to test, then run deluge.exe directly, and don't make a shortcut to it, as haven't added support for that in this test version(though works in my regular portable versions).
MqtUA, yes, that's the profile folder I meant, though by your comment seem you have same issue as the one failing system off n3mur1t0r.
https://1drv.ms/u/s!Ajl1yq0BfB-du2Gx7nF ... 2?e=9eanuG
BTW, do any of you have python installed, and if so, which version? Shouldn't matter, as tested it before with an extra python installed + also again right now, but just trying to find what's different from your systems and making it fail, when a fully clean latest win10 or win2016, works fine???
Thank you.