Package: deluge-web Version: 2.0.3-3.1 Severity: important X-Debbugs-Cc: j.andra...@gmail.com
Dear Maintainer, Since the update to Debian 11 "bullseye", which updated Python to version 3.9, I am seeing that deluge-web (and the deluged daemon) are showing some errors. When using the web interface to connect to the daemon, the web appears empty, and any attempt to modify the configuration does not seem to persist this. Adding a torrent (from a URL or a file, for example Debian's ISO installer [1]) errors start to appear in the console and, despite the torrent seems added in the web interface, it never starts downloading, and does not seem recognized by the backend deluged daemon. [1] https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/debian-11.0.0-amd64-DVD-1.iso.torrent The errors I observe in the console are the following ones, repeated many times: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f56ae63e5b0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given /usr/lib/python3/dist-packages/twisted/internet/defer.py:568:_startRunCallbacks /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del__ /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit --- <exception caught here> --- /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__ /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__ /usr/lib/python3/dist-packages/deluge/log.py:204:emit /usr/lib/python3.9/logging/__init__.py:1489:critical /usr/lib/python3.9/logging/__init__.py:1573:_log ] Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks self._runCallbacks() File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in __del__ log.failure(format, File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure self.emit(level, format, log_failure=failure, **kwargs) File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit self.observer(event) --- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__ observer(event) File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__ self.legacyObserver(event) File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit getattr(LoggingLoggerClass, event_dict['log_level'].name)( File "/usr/lib/python3.9/logging/__init__.py", line 1489, in critical self._log(CRITICAL, msg, args, **kwargs) File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel) builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given Unhandled error in Deferred: 12:04:33 [CRITICAL][twisted :154 ] Unhandled error in Deferred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 185, in _on_rpc_request_failed log.error(reason) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator return _cancellableInlineCallbacks(gen) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks _inlineCallbacks(None, g, status) --- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks result = g.send(result) File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error yield LoggingLoggerClass.error(self, msg, *args, **kwargs) File "/usr/lib/python3.9/logging/__init__.py", line 1471, in error self._log(ERROR, msg, args, **kwargs) File "/usr/lib/python3.9/logging/__init__.py", line 1573, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel) builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given ================================================================================================== This issue might be an upstream issue in deluge-web/deluged, or in the dependencies used (e.g. twisted), not sure. I have tried removing all my previous configuration files (/var/lib/deluge/config and also /var/lib/deluge/.config) with the same results. I have purged the deluge* packages and re-installed, also with the same results. Thank you very much in advance! -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.11.22-2-pve (SMP w/6 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages deluge-web depends on: ii deluge-common 2.0.3-3.1 ii python3 3.9.2-3 ii python3-mako 1.1.3+ds1-2 deluge-web recommends no packages. deluge-web suggests no packages. -- no debconf information