Skip to content

Webui api memory.py error: raise WouldBlock #22

Description

Hi,

I'm trying to get the example template with the script as instructed.

I'm getting the following error:

API error: POST: http://localhost:7860/sdapi/v1/txt2img {'error': 'TypeError', 'detail': '', 'body': '', 'errors': 'not all arguments converted during string formatting'}
Traceback (most recent call last):
  File "M:\SDSYS\AUTO\venv\lib\site-packages\anyio\streams\memory.py", line 94, in receive
    return self.receive_nowait()
  File "M:\SDSYS\AUTO\venv\lib\site-packages\anyio\streams\memory.py", line 89, in receive_nowait
    raise WouldBlock
anyio.WouldBlock

memory.py, above those two lines defines the condition for rising WouldBlock as the following:

:raises ~anyio.WouldBlock: if there are no items in the buffer and no tasks

My noob guess makes me think that Blender fails to send the files to the api
It manages to load the first (depth) model correctly before the error

Help to resolve this will be rewarded with an imaginary banana!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions