No such file or directory: session.state

General support for problems installing or using Deluge
Post Reply
boredazfcuk
Member
Member
Posts: 22
Joined: Sun Jun 16, 2019 10:08 pm

No such file or directory: session.state

Post by boredazfcuk »

Hi, all.

I'm getting the following warning each time I launch Deluge:

Code: Select all

[WARNING ][deluge.core.core :337 ] Unable to load /config/session.state: [Errno 2] No such file or directory: '/config/session.state'
[WARNING ][deluge.core.core :337 ] Unable to load /config/session.state.bak: [Errno 2] No such file or directory: '/config/session.state.bak
This file doesn't exist on my system. If I touch /config/session.state I get this:

Code: Select all

[WARNING ][deluge.core.core :337 ] Unable to load /config/session.state: unexpected end of file in bencoded string
The session.state file and its /config/ directory are owned by the deluge user.

I'm running:

deluge 2.0.3
libtorrent: 1.2.2.0
Python: 3.7.5
OS: Linux Alpine Linux 3.10.3

inside a Docker container (boredazfcuk/deluge).

Can anybody tell me what the session.state file is for? It seems my build can't create this file. I was wondering if this is due to a missed dependency, however, I get no error messages and I'd expect to see something when Deluge tries, and fails, to generate the file.

Also, I can't get CouchPotato or nzbToMedia to connect to the Deluge 2.0.3 daemon, however, they do work when connecting to v1.3.15. Has Deluge's remote connection API changed significantly between versions? Enough to prevent those apps from connecting?
Post Reply