Open gravitate-dev opened 1 year ago
Its not nice to crash a1111. Perhaps setting 0 here would be better than crashing a1111 time_start = shared.state.time_start if shared.state.time_start is not None else 0 time_since_start = time.time() - time_start
yes I found under an extreme condition extreme situation that it is possible for shared.state.time_start
to be None
which triggers an exception that you're describing
but I don't see it crash the entire server
also by the fact that you are receiving that reply message ment the server has not crashed
perhaps you're using the word crash incorrectly
Is there an existing issue for this?
What happened?
*** API error: GET: http://127.0.0.1:7860/sdapi/v1/progress {'error': 'TypeError', 'detail': '', 'body': '', 'errors': "unsupported operand type(s) for -: 'float' and 'NoneType'"} Traceback (most recent call last): File "C:\stable-diffusion\venv\Lib\site-packages\anyio\streams\memory.py", line 98, in receive return self.receive_nowait() ^^^^^^^^^^^^^^^^^^^^^ File "C:\stable-diffusion\venv\Lib\site-packages\anyio\streams\memory.py", line 93, in receive_nowait raise WouldBlock anyio.WouldBlock
Steps to reproduce the problem
What should have happened?
Shouldnt crash. Crashes the whole a1111
Sysinfo
latest.
What browsers do you use to access the UI ?
No response
Console logs
Additional information
No response