Auto-Photoshop-StableDiffusion-Plugin
Auto-Photoshop-StableDiffusion-Plugin copied to clipboard
v1.30, API error: POST: http://127.0.0.1:7860/sdapi/v1/img2img {'error': 'AttributeError', 'detail': '', 'body': '', 'errors': "'NoneType' object has no attribute 'startswith'"}
API error: POST: http://127.0.0.1:7860/sdapi/v1/img2img {'error': 'AttributeError', 'detail': '', 'body': '', 'errors': "'NoneType' object has no attribute 'startswith'"} ┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ F:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:94 │ │ in receive │ │ │ │ F:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:89 │ │ in receive_nowait │ └─────────────────────────────────────────────────────────────────────────────┘ WouldBlock
During handling of the above exception, another exception occurred:
┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ F:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base. │ │ py:78 in call_next │ │ │ │ F:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:11 │ │ 4 in receive │ └─────────────────────────────────────────────────────────────────────────────┘ EndOfStream
During handling of the above exception, another exception occurred:
┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ F:\stable-diffusion-webui\modules\api\api.py:153 in exception_handling │
│ │
│ 152 │ │ try: │
│ > 153 │ │ │ return await call_next(request) │
│ 154 │ │ except Exception as e: │
│ │
│ ┌──────────────────────────────── locals ─────────────────────────────────┐ │
│ │ call_next = <function │ │
│ │ BaseHTTPMiddleware.call.
this error is very offen on my side. the plugin can work, but I need to restart Photoshop after the error is reported
Same issue, did you find a fix?
It looks like the issue might be due to trying to generate with an empty initial image or an empty mask. Can you share a screenshot of the initial image and mask section when you get this error?