You are not logged in.
Pages: 1
I'm attempting to run the deluge daemon as 1.3.15 as windows thinclient currently does not have support for deluge 2.x.
However, upon attempting to run the deluge daemon the console outputs this:
[ERROR ] 21:58:41 main:248 'module' object has no attribute 'session_settings'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/main.py", line 241, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.7/site-packages/deluge/core/daemon.py", line 147, in __init__
read_only_config_keys=read_only_config_keys)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 106, in __init__
self.settings = lt.session_settings()
AttributeError: 'module' object has no attribute 'session_settings'From what I was able to gather this is either because deluge 1.x will never be compatible with libtorrent 1.2.x, or that libtorrent is not installed.
https://dev.deluge-torrent.org/ticket/3232/
I've also attempted to install deluge-stable-git from the aur, but that installs libtorrent 1.2, which won't work.
Running deluge -v will return either
deluge: 1.3.15.dev0
libtorrent: 1.2.4.0or will not have the libtorrent line at all.
This issue started for me when I accidentally upgraded deluge to 2.x, and then attempting to downgrade to my cached version of deluge 1.3.15.
How do I properly install deluged 1.3.15 with the correct libtorrent dependency?
Offline
Did you follow the link to the libtorrent issue (https://github.com/arvidn/libtorrent/issues/1510) from the deluge issue that you posted? The last post in the thread confirms that they're incompatible:
@dylangerdaly @perfect7gentleman Deluge 1.3 is definitely not compatible with libtorrent 1.2, I said that 1.0 was the last proper supported libtorrent. Deluge 2.0 will support libtorrent >1.1 and is to be released soon...
If you want to use deluge 1.3, you'll need to downgrade libtorrent as well, but that's not recommended. Having mismatched versions on your system usually leads to breakage so it is not supported here (i.e. use at your own risk).
There is a package named deluge1 in the AUR with version 1.3.15 but that hasn't been updated since August last year. You can flag the package as out-of-date and leave a comment for the maintainer about getting it to work. Someone will probably need to create a package to install an earlier version of libtorrent (without conflicting with the official libtorrent package).
The real solution is to get the windows thinclient devs to support the latest version of deluge.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Wow, thank you for the fast response!
I have managed to get deluged working, the steps I had to take were to downgrade libtorrent-rasterbar, as well as boost and boost-libs.
As I am new to arch, I'm assuming I broke something by downgrading boost, but I'm unsure of how big of an issue that may be.
is this something you would say is fine or should I look for a different solution?
Offline
Compiled programs use binary libraries through an application binary interface (ABI). When a library is updated, the ABI may change so programs that use the library need to be recompiled at the same time to be sure that they will still work. For example, if the ABI for a function call changes, any program that calls the function via a different version of the ABI will break.
That's why whenever a library is updated, the packages that depend on them are usually also updated: they've been recompiled against the new version. When you downgrade a library as you have done, you probably still have several other packages that depend on the new version on your system and these will break when they try to access the old version of the library.
That might not be a problem if you only have one thing that depends on the library and you downgrade it along with the library. However, you've downgraded boost and boost-libs, which are used by many different packages. Something critical may break because of it, and we won't be able to help because we won't support partial upgrades here for the reasons explained above.
You can check which installed packages depend on another with pacman, e.g. "pacman -Qi boost-libs". Look for the "Required By" field.
Even if nothing else on your system depends on the downgraded libraries, I would still recommend finding another solution that lets you keep your system fully updated.
edit
If you feel that your original question has been answered, please edit the first post and prepend "[SOLVED]" to the thread title.
Last edited by Xyne (2020-03-31 23:57:25)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1