Opened 2 years ago

#3486 new bug

deluge seems to crash on exit

Reported by: fcmircea Owned by:
Priority: major Milestone: needs verified
Component: Unknown Version: 2.0.3
Keywords: Cc:

Description

 Dec 03 10:37:49 hal9002 bash[2729]: Unhandled Error
Dec 03 10:37:49 hal9002 bash[2729]: Traceback (most recent call last):
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 122, in run_daemon
Dec 03 10:37:49 hal9002 bash[2729]:     daemon.start()
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 164, in start
Dec 03 10:37:49 hal9002 bash[2729]:     reactor.run()
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1267, in run
Dec 03 10:37:49 hal9002 bash[2729]:     self.mainLoop()
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1276, in mainLoop
Dec 03 10:37:49 hal9002 bash[2729]:     self.runUntilCurrent()
Dec 03 10:37:49 hal9002 bash[2729]: --- <exception caught here> ---
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 875, in runUntilCurrent
Dec 03 10:37:49 hal9002 bash[2729]:     f(*a, **kw)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 635, in stop
Dec 03 10:37:49 hal9002 bash[2729]:     raise error.ReactorNotRunning(
Dec 03 10:37:49 hal9002 bash[2729]: twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.
Dec 03 10:37:49 hal9002 bash[2729]: Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f3a95089400>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: _findCaller() takes from 1 to 2 positional arguments but 3 were given
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/python/log.py:134:err
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/python/threadable.py:53:sync
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/python/log.py:286:msg
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:154:publishToNewObserver
Dec 03 10:37:49 hal9002 bash[2729]: --- <exception caught here> ---
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/deluge/log.py:208:emit
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/python/log.py:595:emit
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:154:publishToNewObserver
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3/dist-packages/twisted/logger/_stdlib.py:115:__call__
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3.8/logging/__init__.py:1512:log
Dec 03 10:37:49 hal9002 bash[2729]: /usr/lib/python3.8/logging/__init__.py:1577:_log
Dec 03 10:37:49 hal9002 bash[2729]: ]
Dec 03 10:37:49 hal9002 bash[2729]: Traceback (most recent call last):
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 134, in err
Dec 03 10:37:49 hal9002 bash[2729]:     msg(failure=_stuff, why=_why, isError=1, **kw)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/python/threadable.py", line 53, in sync
Dec 03 10:37:49 hal9002 bash[2729]:     return function(self, *args, **kwargs)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 286, in msg
Dec 03 10:37:49 hal9002 bash[2729]:     _publishNew(self._publishPublisher, actualEventDict, textFromEventDict)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 154, in publishToNewObserver
Dec 03 10:37:49 hal9002 bash[2729]:     observer(eventDict)
Dec 03 10:37:49 hal9002 bash[2729]: --- <exception caught here> ---
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
Dec 03 10:37:49 hal9002 bash[2729]:     observer(event)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
Dec 03 10:37:49 hal9002 bash[2729]:     self.legacyObserver(event)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/deluge/log.py", line 208, in emit
Dec 03 10:37:49 hal9002 bash[2729]:     PythonLoggingObserver.emit(self, event_dict)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 595, in emit
Dec 03 10:37:49 hal9002 bash[2729]:     _publishNew(self._newObserver, eventDict, textFromEventDict)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 154, in publishToNewObserver
Dec 03 10:37:49 hal9002 bash[2729]:     observer(eventDict)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3/dist-packages/twisted/logger/_stdlib.py", line 115, in __call__
Dec 03 10:37:49 hal9002 bash[2729]:     self.logger.log(
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3.8/logging/__init__.py", line 1512, in log
Dec 03 10:37:49 hal9002 bash[2729]:     self._log(level, msg, args, **kwargs)
Dec 03 10:37:49 hal9002 bash[2729]:   File "/usr/lib/python3.8/logging/__init__.py", line 1577, in _log
Dec 03 10:37:49 hal9002 bash[2729]:     fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
Dec 03 10:37:49 hal9002 bash[2729]: builtins.TypeError: _findCaller() takes from 1 to 2 positional arguments but 3 were given

when executing

[systemctl restart deluged]

~$ deluged -v deluged 2.0.3 libtorrent: 1.2.15.0 Python: 3.8.10 OS: Linux Ubuntu 20.04 focal

Change History (0)

Note: See TracTickets for help on using tickets.