#3514: syslog spam: builtins.KeyError: 'disk.num_blocks_cache_hits'
----------------------------+---------------------
Reporter: growly | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Unknown
Version: 2.0.3 | Keywords:
----------------------------+---------------------
While running deluge, the following error fills up syslog, emitting a few
times a second:
{{{
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: 09:03:37
[CRITICAL][twisted :154 ] Unhandled Error
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: Traceback (most
recent call last):
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 122, in
run_daemon
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
daemon.start()
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 164, in start
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: reactor.run()
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1283, in
run
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
self.mainLoop()
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1292, in
mainLoop
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
self.runUntilCurrent()
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: --- <exception
caught here> ---
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/twisted/internet/base.py", line 913, in
runUntilCurrent
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
call.func(*call.args, **call.kw)
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/deluge/core/core.py", line 345, in
_on_alert_session_stats
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
self._update_session_cache_hit_ratio()
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]: File
"/usr/lib/python3/dist-packages/deluge/core/core.py", line 361, in
_update_session_cache_hit_ratio
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
self.session_status['disk.num_blocks_cache_hits'] / blocks_read
Mar 17 09:03:37 growly /usr/libexec/gdm-x-session[5026]:
builtins.KeyError: 'disk.num_blocks_cache_hits'
}}}
It occurs immediately after startup and doesn't stop, or rather I can't
tell what event it starts on. deluge seems to be working and the errors
persist even after the gui is closed. The log spam only stops when I kill
deluged.
{{{
$ deluge --version
deluge 2.0.3
libtorrent: 2.0.5.0
Python: 3.9.2
OS: Linux Debian GNU/Linux unstable sid
}}}
I installed the debian package, which is version "2.0.3-3.1".
Apologies if this is a dupe, I tried to find any similar issues but
couldn't.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3514>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/045.d8ff1ea1ad6ffa70c1445495814ecd4e%40deluge-torrent.org.