Description of problem: After running deluge-gtk for a period of time (~30 minutes to an hour) it will begin filling the system journal with the following twisted error that repeats once every second. Stopping deluge causes the errors to cease. plasmashell[8232]: 10:19:36 [CRITICAL][twisted :147 ] Unhandled Error plasmashell[8232]: Traceback (most recent call last): plasmashell[8232]: File "/usr/lib/python3.10/site-packages/deluge/ui/gtk3/gtkui.py", line 246, in start plasmashell[8232]: reactor.run() plasmashell[8232]: File "/usr/lib/python3.10/site-packages/twisted/internet/_glibbase.py", line 277, in run plasmashell[8232]: self._run() plasmashell[8232]: File "/usr/lib/python3.10/site-packages/gi/overrides/Gtk.py", line 1680, in main plasmashell[8232]: return _Gtk_main(*args, **kwargs) plasmashell[8232]: File "/usr/lib/python3.10/site-packages/twisted/internet/_glibbase.py", line 308, in _simulate plasmashell[8232]: self.runUntilCurrent() plasmashell[8232]: --- <exception caught here> --- plasmashell[8232]: File "/usr/lib/python3.10/site-packages/twisted/internet/base.py", line 994, in runUntilCurrent plasmashell[8232]: call.func(*call.args, **call.kw) plasmashell[8232]: File "/usr/lib/python3.10/site-packages/deluge/core/core.py", line 345, in _on_alert_session_stats plasmashell[8232]: self._update_session_cache_hit_ratio() plasmashell[8232]: File "/usr/lib/python3.10/site-packages/deluge/core/core.py", line 361, in _update_session_cache_hit_ratio plasmashell[8232]: self.session_status['disk.num_blocks_cache_hits'] / blocks_read plasmashell[8232]: builtins.KeyError: 'disk.num_blocks_cache_hits' Version-Release number of selected component (if applicable): deluge-common-2.0.3-18.fc35.noarch deluge-daemon-2.0.3-18.fc35.noarch deluge-gtk-2.0.3-18.fc35.noarch python3-twisted-21.7.0-2.fc35.noarch How reproducible: Always. Steps to Reproduce: 1. Start deluge-gtk 2. Wait for ~30 minutes Actual results: The above error and backtrace is logged to the journal once per second. Expected results: No errors filling the journal. Additional info: I have not noticed any functional problems with deluge, however having the system journal spammed is far from ideal when investigating other problems.
Upstream has a fix for this [1], but it is not yet in an official release of deluge. I can confirm that with this change the errors have ceased. [1] https://github.com/deluge-torrent/deluge/commit/89189adb24321c3db6bfa816ec557d7d8367ba24
FEDORA-2021-e4348bf48a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e4348bf48a
FEDORA-2021-e4348bf48a has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e4348bf48a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e4348bf48a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-e4348bf48a has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.