Opened 8 months ago

Last modified 7 months ago

#3310 new bug

"Session status key not valid" log spam

Reported by: edechamps Owned by:
Priority: major Milestone: 2.0.4
Component: Plugin Version: 2.0.3
Keywords: Cc:

Description

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?

Change History (3)

comment:1 Changed 7 months ago by Cas

  • Component changed from Core to Plugin
  • Milestone changed from needs verified to 2.0.4
  • Priority changed from minor to major

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 ;)

comment:2 Changed 7 months ago 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 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 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?

comment:3 Changed 7 months ago 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.

Note: See TracTickets for help on using tickets.