Package: src:cherrypy3 Version: 8.9.1-7 Severity: important Tags: sid bullseye User: [email protected] Usertags: python3.9
Came across this while working on sabnzbdplus. To reproduce, start
sabnzbdplus on the cli in testing|unstable, then shut it down ctrl-c:
2021-03-01 09:59:05,259::ERROR::[_cplogging:219] [01/Mar/2021:09:59:05] ENGINE
Error in 'stop' listener <bound method ServerAdapter.stop of
<cherrypy._cpserver.Server object at 0x7f6e821dcb50>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 216,
in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 264,
in stop
self.httpserver.stop()
File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line
2221, in stop
self.requests.stop(self.shutdown_timeout)
File "/usr/lib/python3/dist-packages/cherrypy/wsgiserver/__init__.py", line
1702, in stop
if worker is not current and worker.isAlive():
AttributeError: 'WorkerThread' object has no attribute 'isAlive'
According to https://bugs.python.org/issue37804 this method was
deprecated in 3.8 and removed in 3.9 in favour of is_alive().
pgp3rKsdRhW6K.pgp
Description: OpenPGP digital signature

