Skip to content

ERROR: threads.py/__run failed - argument of type 'NoneType' is not iterable

Hello, Epicyon is giving me 502 Bad Gateway Error. When I checked status from systemctl this appeared:

THREAD: restarting inbox queue watchdog
THREAD: clone
Restarting inbox queue...
Starting new session when starting inbox queue
ERROR: threads.py/__run failed - argument of type 'NoneType' is not iterable
 ----------------------------------------
 Exception occurred during processing of request from ('127.0.0.1', 36932)
Traceback (most recent call last):
   File "/usr/lib/python3.10/socketserver.py", line 683, in process_request_thread
     self.finish_request(request, client_address)
   File "/usr/lib/python3.10/socketserver.py", line 360, in finish_request
     self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.10/socketserver.py", line 747, in __init__
     self.handle()
   File "/usr/lib/python3.10/http/server.py", line 432, in handle
     self.handle_one_request()
   File "/usr/lib/python3.10/http/server.py", line 420, in handle_one_request
    method()
   File "/opt/epicyon/daemon.py", line 15180, in do_GET
     fitness_performance(getreq_start_time, self.server.fitness,
   File "/opt/epicyon/fitnessFunctions.py", line 23, in fitness_performance
    if 'performance' not in fitness_state:
TypeError: argument of type 'NoneType' is not iterable
 ----------------------------------------

I made a git pull today, rolled back to other version but the same happened. Thank you.

Edited by skrlet13