Is anyone getting a slew of Python3.8 errors after some update, or am I special? I'm currently being everyone else's sysadmin at my job and haven't had a chance to really dig into this yet...
2020-08-13 14:10:35,018::INFO::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE Bus STOPPING 2020-08-13 14:10:35,125::INFO::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down 2020-08-13 14:10:35,126::INFO::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE Bus STOPPED 2020-08-13 14:10:35,127::INFO::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE Bus EXITING 2020-08-13 14:10:35,127::INFO::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE Bus EXITED 2020-08-13 14:10:35,130::ERROR::[_cplogging:213] [13/Aug/2020:14:10:35] ENGINE TypeError("object of type 'NoneType' has no len()") Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1281, in communicate req.respond() File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1073, in respond self.server.gateway(self).respond() File "/usr/lib/python3.8/site-packages/cheroot/wsgi.py", line 148, in respond self.write(chunk) File "/usr/lib/python3.8/site-packages/cheroot/wsgi.py", line 232, in write self.req.ensure_headers_sent() File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1120, in ensure_headers_sent self.send_headers() File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1165, in send_headers can_keep = self.server.connections.can_add_keepalive_connection File "/usr/lib/python3.8/site-packages/cheroot/connections.py", line 289, in can_add_keepalive_connection return ka_limit is None or self._num_connections < ka_limit File "/usr/lib/python3.8/site-packages/cheroot/connections.py", line 283, in _num_connections return len(self._readable_conns) + len(self._selector.get_map()) - 1 TypeError: object of type 'NoneType' has no len()
edited to add
Thanks, fryfrog. The service is starting from the correct location though. What's odd about this is that sab runs fine for probably 10 minutes before it starts throwing all those errors, so I'll try recompiling.
Pinned Comments
fryfrog commented on 2024-04-30 04:23 (UTC)
Arch updated Python to 3.12, you need to re-build/re-install python-sabyenc3 and python-sabctools!
Using
paru
:@hoban, thanks for reminding me to post about this!