You are not logged in.

#1 2026-07-13 23:26:51

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 144

Deluged not compatable with current python packages

After a reboot this morning deluged would not start. Journalctl showed:

deluged fails to start with [ERROR ][deluge.core.daemon_entry :1653] Unable to start deluged: 'unknown name in settings_pack: ignore_resume_timestamps'

`deluged -d -L debug` showed:

15:21:40 [INFO ][deluge.core.daemon :1653] Deluge daemon 2.2.0 
15:21:40 [DEBUG ][deluge.core.core :1653] Starting session (peer_id: -DE220s-, user_agent: Deluge/2.2.0 libtorrent/2.1.0.0) 
15:21:40 [ERROR ][deluge.core.daemon_entry :1653] Unable to start deluged: 'unknown name in settings_pack: ignore_resume_timestamps' 
15:21:40 [ERROR ][deluge.core.daemon_entry :1653] 'unknown name in settings_pack: ignore_resume_timestamps' Traceback (most recent call last):
 File "/usr/lib/python3.14/site-packages/deluge/core/daemon_entry.py", line 109, in run_daemon daemon = Daemon( listen_interface=options.listen_interface, ...<3 lines>... read_only_config_keys=options.read_only_config_keys.split(','), ) File "/usr/lib/python3.14/site-packages/deluge/core/daemon.py", line 114, in __init__ self.core = Core( ~~~~^ listen_interface=listen_interface, 
outgoing_interface=outgoing_interface, 
 read_only_config_keys=read_only_config_keys, 
File "/usr/lib/python3.14/site-packages/deluge/core/core.py", line 122, in __init__ self.session = lt.session(settings_pack, flags=0) ~~~~~~~~~~
^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'unknown name in settings_pack: ignore_resume_timestamps' 15:21:40 [INFO ][deluge.core.daemon_entry :1653] Exiting.

Took about an hour but I finally found out what was going on, and how to fix it until deluge gets an update. It looks like some stuff got deprecated in python-pyopenssl that deluge relied. on (chatgpt thinks its a call to crypto.X509Req). Steps to get deluge working again:

sudo pacman -U python-pyopenssl-26.2.0-1-any.pkg.tar.zst libtorrent-rasterbar-1:2.0.13-1-x86_64.pkg.tar.zst libtorrent-0.16.7-1-x86_64.pkg.tar.zst python-cryptography-48.0.1-1-x86_64.pkg.tar.zst 

It looks like deluge closed their system to report bugs, and I don't think this is an Arch package bug (though it could be?). Wasn't sure where else to post this, but I hope it helps anyone else with this issue.

EDIT:
removed link to dustbined thread

Last edited by piratebill (2026-07-14 14:51:10)

Offline

#2 2026-07-14 01:35:37

mpan
Member
Registered: 2012-08-01
Posts: 1,624
Website

Re: Deluged not compatable with current python packages

Please don’t cross-post. It’s better to post in a wrong forum than to send to multiple.

I dropped a message about the issue in their IRC channel yesterday. Let’s hope it reaches the right people.

The cause is libtorrent dropping a deprecated feature (`ignore_resume_timestamps` key) in 2.1 release. Deluge still has that in code.

Offline

#3 2026-07-14 02:29:17

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 144

Re: Deluged not compatable with current python packages

I'll see if I can delete the other one

EDIT:
I can't.

Last edited by piratebill (2026-07-14 02:32:07)

Offline

#4 2026-07-14 05:41:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,063

Re: Deluged not compatable with current python packages

Offline

#5 2026-07-14 14:45:33

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 144

Re: Deluged not compatable with current python packages

That is my reported ticket (created it after my first post). Old convo has been dust binned. Thanks!

Last edited by piratebill (2026-07-14 14:54:43)

Offline

#6 Yesterday 14:34:02

Jhackler
Member
Registered: 2014-01-27
Posts: 24

Re: Deluged not compatable with current python packages

I am surprised how many weeks now I have not been able to use deluge lol I am confident it will be fixed though

Offline

#7 Yesterday 18:04:44

mpan
Member
Registered: 2012-08-01
Posts: 1,624
Website

Re: Deluged not compatable with current python packages

It feels Deluge devs are lacking help nowadays. It’s hard to respond quickly, if you’re some random person in Nebraska thanklessly maintaining it since 2003. I myself could only offer reporting the issue through #deluge@Libera in a hope the news of breakage reach the right ears. I see another user reported it on their forum too.

Of course anybody may just patch the offending section. It’s literally a no longer supported key getting passed to libtorrent. But I don’t know enough of Deluge’s internals to ensure the change isn’t going to break anything further down the stream. So I’m not going to make a pull request.

If you wish to donate the effort and make the change, together with understanding its consequences (for 2.0 libtorrent version too!), it would be very much appreciated.

Offline

#8 Yesterday 23:11:23

loqs
Member
Registered: 2014-03-06
Posts: 18,983

Re: Deluged not compatable with current python packages

@jhackler @mpan have either of you tried the upstream PR for cryptography or my patch for libtrorrent-raster 2.1?  If so any issues with them?

Offline

Board footer

Powered by FluxBB