AbdullahAlfaraj / AbdullahAlfaraj/Comfy-Photoshop-SD

The workflow can run in the browser, but when clicking Generate in the Custom Comfyui Workflow section of PS, an error is reported

Abierto
#5 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
321
Forks
20
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

got prompt
Prompt executed in 0.04 seconds
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "E:\SD\ComfyUI_windows_portable\ComfyUI\venv\lib\site-packages\aiohttp\web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.InvalidURLError: 400, message:
Invalid char in url query:

bytearray(b'GET /view?subfolder=&type=output&filename=\xe7\xac\xac\xe4\xb8\x80\xe6\xac\xa1KSampler_00046_.png HTTP/1.1')
^
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "E:\SD\ComfyUI_windows_portable\ComfyUI\venv\lib\site-packages\aiohttp\web_protocol.py", line 332, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.InvalidURLError: 400, message:
Invalid char in url query:

bytearray(b'GET /view?subfolder=&type=output&filename=\xe6\x89\xa9\xe5\x9b\xbe\xe5\x90\x8eXLUpscale_00021_.png HTTP/1.1')

I think it's too complicated to analyze the workflow of comfyui

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

The error shows invalid characters in URL query parameters when fetching generated images. Look at the aiohttp server code handling GET /view requests, likely in the ComfyUI web server. Check how filenames with non-ASCII characters (like Chinese) are encoded in the query string. The fix involves proper URL encoding of the filename parameter before constructing the request.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
api, backend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.