Page 1 of 1

AttributeError: 'module' object has no attribute 'session_settings'

Posted: Sun Dec 08, 2019 6:19 pm
by Jinx13
Hello, I just started receiving this error

AttributeError: 'module' object has no attribute 'session_settings'

I don't know why I cannot also connect to deluge-console. Everything was working fine before :?:

I run deluge-web on Ubuntu server = Ubuntu 18.04.3 LTS

deluged -v
deluged: 1.3.15
libtorrent: 1.2.2.0

Anyone else getting this error?

Code: Select all

[ERROR   ] 18:14:13 main:248 'module' object has no attribute 'session_settings'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 241, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 147, in __init__
    read_only_config_keys=read_only_config_keys)
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 106, in __init__
    self.settings = lt.session_settings()
AttributeError: 'module' object has no attribute 'session_settings'

Re: AttributeError: 'module' object has no attribute 'session_settings'

Posted: Sun Dec 08, 2019 6:34 pm
by mhertz
Libtorrent 1.2.x isn't supported on deluge 1.x, only deluge 2.x, so you need to either downgrade libtorrent(1.1.13), or upgrade deluge(2.0.3).

Re: AttributeError: 'module' object has no attribute 'session_settings'

Posted: Sun Dec 08, 2019 9:55 pm
by Jinx13
Thank you, I don't think 2.0.3 is available for thin client users so will have to downgrade libtorrent

Re: AttributeError: 'module' object has no attribute 'session_settings'

Posted: Sun Dec 08, 2019 10:00 pm
by mhertz
You're welcome. Yeah, both client and daemon need to be same I.e either v1 or v2, but otherwise thin client usage is indeed possible, just not an official v2 version for windows, and also not on macosx if remembering correctly, though could be wrong.