-
Notifications
You must be signed in to change notification settings - Fork 432
Description
file = await asyncio.to_thread(try_download_video, filename) or file
UnboundLocalError: local variable 'file' referenced before assignment
2025-09-08T22:38:21.260875 - Error handling request from 127.0.0.1
Traceback (most recent call last):
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\aiohttp\web_protocol.py", line 510, in _handle_request
resp = await request_handler(request)
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\aiohttp\web_app.py", line 569, in _handle
return await handler(request)
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl
return await handler(request)
File "C:\pinokio\api\comfy.git\app\server.py", line 50, in cache_control
response: web.Response = await handler(request)
File "C:\pinokio\api\comfy.git\app\server.py", line 142, in origin_only_middleware
response = await handler(request)
File "C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-videohelpersuite\videohelpersuite\server.py", line 21, in view_video
path_res = await resolve_path(query)
File "C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-videohelpersuite\videohelpersuite\server.py", line 190, in resolve_path
file = await asyncio.to_thread(try_download_video, filename) or file
UnboundLocalError: local variable 'file' referenced before assignment
2025-09-08T22:38:22.143488 - got prompt
2025-09-08T22:38:22.160427 - Failed to validate prompt for output 412:
2025-09-08T22:38:22.160999 - * UpscaleModelLoader 420:
2025-09-08T22:38:22.160999 - - Value not in list: model_name: '2x-sudo-UltraCompact.pth' not in ['4x-UltraSharp.pth', 'RealESRGAN_x2.pth', 'RealESRGAN_x4plus.pth', 'RealESRGAN_x8.pth']
2025-09-08T22:38:22.160999 - Output will be ignored
2025-09-08T22:38:22.260424 - !!! Exception during processing !!! ClipVision model not found.
2025-09-08T22:38:22.260424 - Traceback (most recent call last):
File "C:\pinokio\api\comfy.git\app\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "C:\pinokio\api\comfy.git\app\execution.py", line 277, in process_inputs
result = f(**inputs)
File "C:\pinokio\api\comfy.git\app\custom_nodes\comfyui_ipadapter_plus\IPAdapterPlus.py", line 501, in load_models
raise Exception("ClipVision model not found.")
Exception: ClipVision model not found.
2025-09-08T22:38:22.260424 - Prompt executed in 0.11 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
Workflow too large. Please manually upload the workflow from local file system.