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

General support for problems installing or using Deluge
Post Reply
Jinx13
Member
Member
Posts: 10
Joined: Tue Jun 18, 2019 7:52 am

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

Post 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'
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

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

Post 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).
Jinx13
Member
Member
Posts: 10
Joined: Tue Jun 18, 2019 7:52 am

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

Post by Jinx13 »

Thank you, I don't think 2.0.3 is available for thin client users so will have to downgrade libtorrent
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

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

Post 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.
Post Reply