Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
414 stars 74 forks source link

"Custom validation failed for node: video - Invalid file path:" #196

Closed bkmikaelo7 closed 1 month ago

bkmikaelo7 commented 2 months ago

Hi, why am I getting this error?! It won't accept any directory. I'm on Mac. It has worked before.

Is there any other method for loading videos in to Comfy, from whatever directory in my machine. This method is so cumbersome and it's always a horrible hassle to get anything into comfy like this. This needs to be changed please. Thanks and apologies.

itsklimov commented 2 months ago

+1

some logs

comfyui | invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} comfyui | got prompt comfyui | Failed to validate prompt for output 161: comfyui | * VHS_LoadVideoPath 107: comfyui | - Custom validation failed for node: video - Invalid file path: /Users/its/Movies/Untitled.mp4

AustinMroz commented 2 months ago

Thanks for the additional logs.

Unfortunately, I don't have any good guess for why things aren't working here. It doesn't appear that there's been any sort of invalid parsing of the path, but the call to os.path.isfile still claims the file doesn't exist.

When you start typing in the path field, it provides suggestions. If you start typing in the path one folder at a time (/ -> /Users/ -> /Users/its/) does it at any point stop providing suggestions, or does it actually suggest the file?

nothingness6 commented 1 month ago

I faced the same error. Did you figure it out?

Kosinkadink commented 1 month ago

We are consolidating this issue into the more recent issue: https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/issues/224

In that thread, I outline some info that would be useful to provide/try to try to narrow down why this happens for some people.