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

Specific support for Deluge on Microsoft Windows OS
petersasi
Leecher
Leecher
Posts: 93
Joined: Sun Nov 17, 2019 8:09 am

Re: [Unofficial] Deluge 2.0.x installer

Post by petersasi »

I am sorry to report that as much as I know about lt-2.0:
-> it allows for the use of a new version of torrent (BitTorrent 2.0) which has major format changes (e.g. per file Merkle trees). I don't know much about Deluge internals, but I think this would need to get supported by Deluge first.
-> even if lt-2.0 can support Deluge with old torrents and the ABI is not broken, there is also a major change in storage access management: change from lt's own asio threads and (this was a customization point) to using memmaped io and relying on the OS kernel to do read and write caching.
-> DHT config is now also in config pack not separately, I would expect this not to work unless Deluge is prepared for this.

so I am afraid we will be on lt-1.2.x for to foreseeable future unless some Deluge devs step up to prep Deluge Torrent for it.
highvoltage wrote:Hi guys

arvidn released version 2.0 libtorrent



libtorrent-2.0
@arvidn arvidn released this 3 hours ago

Changes since

dropped depenency on iconv
deprecate set_file_hash() in torrent creator, as it's superceded by v2 torrents
deprecate mutable access to info_section in torrent_info
removed deprecated lazy_entry/lazy_bdecode
stats_alert deprecated
remove bittyrant choking algorithm
update userdata in add_torrent_params to be type-safe and add to torrent_handle
add ip_filter to session_params
added support for wolfSSL for SHA-1 hash and HTTPS (no Torrents over SSL)
requires OpenSSL minimum version 1.0.0 with SNI support
deprecated save_state() and load_state() on session in favour of new
write_session_params() and read_session_params()
added support for BitTorrent v2 (see docs/upgrade_to_2.0.html)
create_torrent() pad_file_limit parameter removed
create_torrent() merkle- and optimize-alignment flags removed
merkle_tree removed from add_torrent_params
announce_entry expose information per v1 and v2 info-hash announces
deprecated sha1_hash info_hash members on torrent_removed_alert,
torrent_deleted_alert, torrent_delete_failed_alert and add_torrent_params
undeprecate error_file_metadata for torrent errors related to its metadata
remove support for adding a torrent under a UUID (used for previous RSS support)
remove deprecated feature to add torrents by file:// URL
remove deprecated feature to download .torrent file from URL
requires boost >= 1.66 to build
update networking API to networking TS compatible boost.asio
overhauled disk I/O subsystem to use memory mapped files (where available)
libtorrent now requires C++14 to build
added support for GnuTLS for HTTPS and torrents over SSL
djhifi
Member
Member
Posts: 12
Joined: Wed Oct 11, 2017 6:12 pm

Re: [Unofficial] Deluge 2.0.x installer

Post by djhifi »

Sorry if this has been asked before, but reading through 66 pages -.-

Is there a way to change the skin without nuking the whole program and installing again (with a different skin) ?

And also, the client is crashing when I select "show pieces in status bar"

And I cannot open it again after setting this up this way.
Not even reinstalling works.
The only way is nuking even the appdata folder and start over
petersasi
Leecher
Leecher
Posts: 93
Joined: Sun Nov 17, 2019 8:09 am

Re: [Unofficial] Deluge 2.0.x installer

Post by petersasi »

It is usually safe to install over the old one and select another skin. The deluge profile folder will be retained.

For "show pieces in status bar": yes, known issue for a long time. I personally don't know how to fix, unfortunately not an installer issue. Maybe deleting just the gui settings files already helps?
djhifi wrote:Sorry if this has been asked before, but reading through 66 pages -.-

Is there a way to change the skin without nuking the whole program and installing again (with a different skin) ?

And also, the client is crashing when I select "show pieces in status bar"

And I cannot open it again after setting this up this way.
Not even reinstalling works.
The only way is nuking even the appdata folder and start over
petersasi
Leecher
Leecher
Posts: 93
Joined: Sun Nov 17, 2019 8:09 am

Re: [Unofficial] Deluge 2.0.x installer

Post by petersasi »

Hi MHerz,
Thanks I have replaced these the gvsbuild patching lines and verified them, they work well.
Another note: now the wingtk gvsbuild seems to run the vcvars.bat so I have commented it out of the script.

However: up till yesterday my gvsbuild workied fine with 3.24.21 and also 3.24.23, today it fails for me: is it something they just committed, does it fail for you too, or it is a problem in my setup only?

Code: Select all

Project(s) not built:
    glib
    harfbuzz

Missing dependecies:
    enchant
    libcroco
    cairo
    gobject-introspection
    gdk-pixbuf
    gtk3
    cogl
    wing
    pycairo
    librsvg
    gtk3-full
    pango
    pygobject
    atk
    json-glib
Error: 17 project(s) missing ;(
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Unofficial] Deluge 2.0.x installer

Post by mhertz »

I just checked and I have same issue on my end. Glib was just updated to 2.66 18 hours ago in gvsbuild, which breaks something seemingly. I'll report back if finding a solution, but in mean time i will provide a patch that reverts that gvsbuild update, until hopefully finding a true fix later.

Edit: Done with the gvsbuild glib update reverting patch as intermittent workaround, which I submitted on your github repo - tested working in building latest gtk3 code.

Edit2: Done with another patch, fixing the issue. Made post also on gvsbuild bugtracker here: https://github.com/wingtk/gvsbuild/issues/394

Edit3: Fixed now also upstream and my ticket closed.
Last edited by mhertz on Thu Sep 17, 2020 5:07 pm, edited 6 times in total.
petersasi
Leecher
Leecher
Posts: 93
Joined: Sun Nov 17, 2019 8:09 am

Re: [Unofficial] Deluge 2.0.x installer

Post by petersasi »

Hi All,
New releases are out with lots of updates (allthough not yet all I have planned), new fordum topic opened, please follow-up here:
viewtopic.php?f=12&t=55776&p=232351#p232351
@MHerz, I think you can retire and close this very-very long topic finally. :)
idiocracy
Leecher
Leecher
Posts: 99
Joined: Tue Jul 23, 2019 11:04 am

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

Post by idiocracy »

I've experienced a lot of crashing with 2.0.3 lib 1.2.8.0. Just letting you know, but updating now to newest.
tute123456
New User
New User
Posts: 2
Joined: Mon Apr 27, 2020 4:44 pm

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

Post by tute123456 »

thx!!!!!!!!!!
Gdalex
New User
New User
Posts: 1
Joined: Tue Jan 12, 2021 6:19 am

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

Post by Gdalex »

Hi! I have Ubuntu Server 18.04LTS with Deluge 2.0.3 and libtorrent 1.1.5.0.
I install Deluge thin client for Windows on Windows 7 Client Machine (deluge-2.0.3-lt1.2.10-boost1.74-py3.8.5-ossl1.1.1g-GTK3.24.23.exe). But I can't run client. Deluge.exe have't any messages. Deluge-debug.exe report "C:\Program Files\Deluge>deluge-debug.exe
Fatal Python error: init_stdio_encoding: failed to get the Python codec name of the stdio encoding
Python runtime state: core initialized
LookupError: unknown encoding: cp1251

Current thread 0x00001bf0 (most recent call first):
<no Python frame>". How fix it?
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

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

Post by mhertz »

I'm not home now so will edit this post later with a link to a zip to extract that fixes it(old link I originally posted for this is dead I see) . BTW there's a newer version available of the installers that not have this issue here: viewtopic.php?f=12&t=55776&start=70#p232697

EDIT: Here's link, and I replaced also old posted dead link: https://paste.c-net.org/SkeetShutters
- replace 'INSTALL-LOCATION\Lib\encodings', with unzipped version from link - note, only needs done in petersasi's version and not mine.
Post Reply