-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
verified bugSomething isn't working (confirmed by the team)Something isn't working (confirmed by the team)
Description
Audio nodes are trying to get previews:
ComfyUI_frontend/src/extensions/core/uploadAudio.ts
Lines 20 to 34 in edb1349
function getResourceURL( | |
subfolder: string, | |
filename: string, | |
type: FolderType = "input" | |
): string { | |
const params = [ | |
"filename=" + encodeURIComponent(filename), | |
"type=" + type, | |
"subfolder=" + subfolder, | |
app.getPreviewFormatParam().substring(1), | |
app.getRandParam().substring(1), | |
].join("&"); | |
return `/view?${params}`; | |
} |
Previews don't seem to be implemented for audio yet.
Terminal output:
Traceback (most recent call last):
File "/home/c_byrne/projects/comfy-testing-environment/venv/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/c_byrne/projects/comfy-testing-environment/venv/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/c_byrne/projects/comfy-testing-environment/venv/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/c_byrne/projects/comfy-testing-environment/ComfyUI/server.py", line 43, in cache_control
response: web.Response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/c_byrne/projects/comfy-testing-environment/ComfyUI/server.py", line 296, in view_image
with Image.open(file) as img:
^^^^^^^^^^^^^^^^
File "/home/c_byrne/projects/comfy-testing-environment/venv/lib/python3.11/site-packages/PIL/Image.py", line 3339, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file '/home/c_byrne/projects/comfy-testing-environment/ComfyUI/temp/ComfyUI_temp_tafpy_00002_.flac'
Metadata
Metadata
Assignees
Labels
verified bugSomething isn't working (confirmed by the team)Something isn't working (confirmed by the team)