Re: Sab keeps crashing: AttributeError: 'NoneType' object has no attribute 'bytes'
Posted: June 14th, 2022, 11:11 am
Yes. Pihole handles my local DNS, and Caddy2 reverse proxies.sander wrote: ↑June 14th, 2022, 3:15 am So https://pastebin.com/XwnvpAps
Quite a different error IMHO, so a separate thread (split it)?Code: Select all
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 638, in respond self._do_respond(path_info) File "/usr/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond response.body = self.handler() File "/usr/lib/python3.9/site-packages/cherrypy/lib/encoding.py", line 223, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/app/sabnzbd/sabnzbd/interface.py", line 180, in internal_wrap return wrap_func(*args, **kwargs) File "/app/sabnzbd/sabnzbd/interface.py", line 472, in api return api_handler(kwargs) File "/app/sabnzbd/sabnzbd/api.py", line 104, in api_handler response = _api_table.get(mode, (_api_undefined, 2))[0](name, kwargs) File "/app/sabnzbd/sabnzbd/api.py", line 414, in _api_status return _api_status_table.get(name, (_api_fullstatus, 2))[0](value, kwargs) File "/app/sabnzbd/sabnzbd/api.py", line 405, in _api_fullstatus status = build_status( File "/app/sabnzbd/sabnzbd/api.py", line 1256, in build_status info["publicipv4"] = publicipv4() File "/app/sabnzbd/sabnzbd/getipaddress.py", line 114, in publicipv4 result = addresslookup4(sabnzbd.cfg.selftest_host()) File "/app/sabnzbd/sabnzbd/getipaddress.py", line 48, in func_wrapper return sabnzbd.THREAD_POOL.submit(item, *args, **kwargs).result(max_timeout) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 161, in submit raise RuntimeError('cannot schedule new futures after shutdown') RuntimeError: cannot schedule new futures after shutdown
@safihre the workaround in https://github.com/sabnzbd/sabnzbd/comm ... ff=unified avoids this, right?
Interesting this too happens in a LSIO docker image
@KageKeeper what is your DNS setup? Something with pihole / adguard maybe?