[Deluge] #3310: "Session status key not valid" log spam

10 views
Skip to first unread message

Deluge

unread,
Oct 20, 2019, 9:05:42 AM10/20/19
to delug...@googlegroups.com
#3310: "Session status key not valid" log spam
----------------------------+-------------------
Reporter: edechamps | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Core
Version: 2.0.3 | Keywords:
----------------------------+-------------------
After upgrading my Debian deluge package from 1.3.15-2 to 2.0.3-1, I am
faced with the following message being dumped every second or so in the
Deluge daemon output:

{{{
13:55:31 [WARNING ][deluge.core.core :655 ] Session status
key not valid: num_connections
13:55:32 [WARNING ][deluge.core.core :655 ] Session status
key not valid: dht_cache_nodes
13:55:32 [WARNING ][deluge.core.core :655 ] Session status
key not valid: num_connections
13:55:33 [WARNING ][deluge.core.core :655 ] Session status
key not valid: dht_cache_nodes
13:55:33 [WARNING ][deluge.core.core :655 ] Session status
key not valid: num_connections
}}}

My guess is that Deluge 2.0 is confused by old torrents from Deluge 1.3.
Any ideas on how to make the log spam stop?

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3310>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Oct 31, 2019, 8:07:30 AM10/31/19
to delug...@googlegroups.com
#3310: "Session status key not valid" log spam
------------------------+-------------------
Reporter: edechamps | Owner:
Type: bug | Status: new
Priority: major | Milestone: 2.0.4
Component: Plugin | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------
Changes (by Cas):

* priority: minor => major
* component: Core => Plugin
* milestone: needs verified => 2.0.4


Comment:

This looks like a plugin, probably Stats using invalid keys that should be
fixed.

Also wonder if this message should be Info or Debug level however then it
would not have prompted opening this ticket ;)

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3310#comment:1>

Deluge

unread,
Nov 1, 2019, 6:23:00 AM11/1/19
to delug...@googlegroups.com
#3310: "Session status key not valid" log spam
------------------------+-------------------
Reporter: edechamps | Owner:
Type: bug | Status: new

Priority: major | Milestone: 2.0.4
Component: Plugin | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------

Comment (by edechamps):

Your hypothesis is spot on! The following workaround fixes the log spam
completely:

{{{
# chmod 000 /usr/lib/python3/dist-packages/deluge/plugins/Stats-0.4.egg
}}}

I'm a bit confused as to why I have the Stats plugin installed at all,
considering that on the [[Plugins]] page it is described as "Unmaintained"
and unsupported in Deluge 2.x. I noticed the
[https://packages.debian.org/sid/all/deluge-common/filelist deluge-common]
Debian package (which is what I'm using) has it built-in, and I'm guessing
that's because it's in the [https://git.deluge-
torrent.org/deluge/tree/deluge/plugins?h=deluge-2.0.3 main repository]
that the package is built from.

If the Stats plugin truly is unsupported in Deluge 2.x, then maybe it
should be removed from the main repository, or at least not installed by
default?

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3310#comment:2>

Deluge

unread,
Nov 1, 2019, 11:55:02 AM11/1/19
to delug...@googlegroups.com
#3310: "Session status key not valid" log spam
------------------------+-------------------
Reporter: edechamps | Owner:
Type: bug | Status: new

Priority: major | Milestone: 2.0.4
Component: Plugin | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------

Comment (by bro):

The Stats plugin was incorrectly placed in the unmaintained section. It is
maintained as part of Deluge and has been moved to the included section.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3310#comment:3>

Deluge

unread,
Sep 2, 2021, 2:52:14 PM9/2/21
to delug...@googlegroups.com
#3310: "Session status key not valid" log spam
------------------------+--------------------
Reporter: edechamps | Owner:
Type: bug | Status: closed

Priority: major | Milestone: 2.0.4
Component: Plugin | Version: 2.0.3
Resolution: Fixed | Keywords:
------------------------+--------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

Fixed in develop: [ea609cd3e019] & [588f600ba281a6]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3310#comment:4>

Reply all
Reply to author
Forward
0 new messages