*OLD-THREAD - SEE NEW* [Unofficial] Deluge 2.0.x installer

Specific support for Deluge on Microsoft Windows OS
mhertz
Moderator
Moderator
Posts: 2214
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by mhertz »

Sorry for several posts in row, but people can easilly mis an edit if just checking "new posts" when re-visiting the board.

Anyway, I just wanted to add that I checked the documentation for the modified 7z-sfx module i'm using and the commands I use with it, and I also tested it myself afterwards, and so just wanted to report it is okay to update my installers without uninstalling the old version first, which makes it little less annoying to update.

This will just update my installers though, with newest version, but not update deluge v1.3x though, as you need to uninstall that first manually, though I use another folder than old deluge, so if you not uninstall old deluge first, then you will have both versions installed simultaniously.
mhertz
Moderator
Moderator
Posts: 2214
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by mhertz »

I have added to first post an extra download link with a version of installer including newest libtorrent(v1.2.2) built by me and support https tracker announces which the normal installer doesn't(v1.1.13).

Deluge2 supports this newest libtorrent i've tested and read in deluge's changelog. Qbittorrent is also in the process of changing to that and have released a beta version with that libtorrent also.

If changing to this new libtorrent, and then later decides to revert back to previous version, then your torrents will show error and need a recheck to be fixed, because of changes in states or resume files.

If not wanna download and install the new installer and still want newest libtorrent, then you can also just repace the libtorrent.pyd attached here(zipped), as that is the only file changed. File to replace with zipped file: 'C:\Program Files\Deluge2\Lib\site-packages\libtorrent.pyd'.

As stated before you can just install over previous version without needing uninstall first(just not if having deluge-1.3x installed currently, well you can, but will then have both versions installed in two seperate folders).

libtorrent.pyd zipped: http://s000.tinyupload.com/index.php?fi ... 4472286363
Last edited by mhertz on Fri Nov 01, 2019 11:13 pm, edited 1 time in total.
idiocracy
Leecher
Leecher
Posts: 99
Joined: Tue Jul 23, 2019 11:04 am

Re: Deluge 2.0 Windows 7z sfx installer available.

Post by idiocracy »

mhertz wrote:Sorry, I don't know if the states-issue is windows-only or not, but keep in mind only a possible issue if needing old loaded torrents in old...
According to deluge when clicking "edit trackers", all my trackers are https so i'm guessing that's standard for trackers. But if there's even a slight chance it'll fail announcing i think i'm gonna pass and wait, depending on if the fail is a once in a while fail and not a permanent fail until restarted.
Private trackers don't use dht or pex.

The plugin is this one that i made: viewtopic.php?f=9&t=54638&start=10
I read some stuff about updating plugins, but i didn't really understand it. Not entirely sure how i'm going to approach it. But can't update to deluge 2 without it.

Edit: I see a newer version is up that fixes the https issue.
mhertz
Moderator
Moderator
Posts: 2214
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by mhertz »

I apologise, I reupped installer link in first post for the version with newest libtorrent - the old link worked fine, but I had to use x32 version of openssl libs linked into, which also works fine on x64, but I now found how to get the x64 libs linked, so I rebuilt it, just as that seem more correct, though I did test the old libs/version did make https tracker request to work fine still also, but nonetheless. As before, you can either rerun installer without needing uninstall old first, or just replace the libtorrent.pyd from previous post of mines link which I also updated. Sorry about that again.

@idiocrazy, thanks for reply, and I see your point when using mainly https trackers - udp trackers take less load so many have changed to them, but not all obviously.

Good point about pex and dht unavailable in private torrents of-course.

I will maybe check your plugin out and see if I can update it, but no promises :)
idiocracy
Leecher
Leecher
Posts: 99
Joined: Tue Jul 23, 2019 11:04 am

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by idiocracy »

mhertz wrote:I apologise, I reupped installer link in first post for the version with newest libtorrent - the old link worked fine, but I had to use x32 version of openssl libs linked into...
I have read about udp trackers, i only know what deluge reports. I do not know if the https is a frontend for a udp tracker. Another thing i do not know, is maybe private trackers are not concerned about the performance because of their smaller size, where as public trackers probably have 10's of millions of connections.

If you bother to look at my plugin, that would be amazing.
mhertz
Moderator
Moderator
Posts: 2214
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by mhertz »

Yeah, no, your trackers are https trackers which is unrelated to udp entirely, though I do possibly think you're correct in your thinking regarding private trackers, which isn't of something I personally have experience in myself honestly.

I always use public trackers/torrents(and always through VPN), where udp trackers are pretty prevailant I believe, though there are also many http ones and https too.

Anyway, about your plugin, then I atleast fixed it to be able to be recognised and enabled in deluge2 and no errors in debug-log, but I don't know if it works other than this, as don't really know how to test such as pretty special type of plugin.

http://s000.tinyupload.com/index.php?fi ... 9164188162
idiocracy
Leecher
Leecher
Posts: 99
Joined: Tue Jul 23, 2019 11:04 am

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by idiocracy »

I see, i have not used public trackers for more than 10 years so i don't really pay attention to what's happening on that side. And i can understand why you would consider the plugin a special type.

On private trackers when racing a new torrent, some trackers will announce to irc before the database is updated. So when irssi matches a new torrent and fetches it, the torrent isn't actually live and will report "unregistered torrent", it can take anywhere from 5 to 60 secs before it's actually live. Since the tracker is responding to requests the client will behave like normal and wait for the next announce, which could be 30, 40 min or more. By that time the torrent has already been snatches 1000 times.

But thanks a lot for doing that.

Now i just need to figure out how to import my 317 torrents into deluge 2. If i'm understanding it correctly, it can bug out, but it can also just work. I think i saw someone who made a migration tool for deluge 2. Does deluge 2 use the same %appdata% dir, so settings, plugin settings etc. will be reloaded?
mhertz
Moderator
Moderator
Posts: 2214
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by mhertz »

You're welcome mate, and nice plugin indeed, i'm impressed, good job! :)

Yes, the config dir is the same and it possibly will work to transfer torrents automatically, but it has been reported that it didn't work, so just in case backup the config dir first if you decide trying it out.

I don't know if someone has made a migration tool, possibly, just can't remember seeing it, but I could easilly have missed it though :)

There where a python script posted by tobbez in #3201 deluge bug-ticket, for if having non ascii-chars in your state file, so maybe that will work if the torrents won't get transfered, but honestly I don't know if it even is regarding that, or something else, sorry. If interested, then it's in point 4 in this post: https://dev.deluge-torrent.org/ticket/3201#comment:32

Actually, I believe deluge2 backs up itself the old config into an archive, or it looks like that when looking into the config-dir, but just in case, just backup old config first before trying to upgrade if wanting to try it.
Protected
Member
Member
Posts: 14
Joined: Sun Dec 03, 2017 3:55 am

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by Protected »

Thanks a lot for the installer. Unfortunately I couldn't get Deluge 2 to work after installing - Windows 10 just says "Python has stopped working". Is there a log somewhere I could check in order to try to figure out what went wrong?
idiocracy
Leecher
Leecher
Posts: 99
Joined: Tue Jul 23, 2019 11:04 am

Re: Deluge 2.0 Windows 7z-sfx-installer available.

Post by idiocracy »

Actually, it will not matter. Just purchased another 2TB that i will add to the raid0. So when it arrives i'll rebuild the raid. Importing torrents is not an issue any more, i expect to receive the drive on wednesday, so i'll update everything then. Also gives me a chance to install this triple 2.5" bracket for 3.5" mounts. Gonna be sweet.
Post Reply