No such file or directory: session.state

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

No such file or directory: session.state

Postby boredazfcuk » Tue Oct 22, 2019 2:17 pm

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?

Return to “Support”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests