Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeepFuze TTS Error - [WinError 267] The directory name is invalid #34

Closed
mmcc1 opened this issue Jul 20, 2024 · 5 comments
Closed

DeepFuze TTS Error - [WinError 267] The directory name is invalid #34

mmcc1 opened this issue Jul 20, 2024 · 5 comments

Comments

@mmcc1
Copy link

mmcc1 commented Jul 20, 2024

DeepFuze generates the below error.

Setup:

  1. A clean install of Comfy-UI
  2. Updated VHS
  3. Latest Deepfuze (tried both through Manager and Git)
  4. Dropped all Nodes and recreated workflow (based on DeepFuze_VoiceClonning_Lipsync.json).
  5. Properly install CUDA support (both CUDA and CPU give the same error)

Error:

!!! Exception during processing!!! [WinError 267] The directory name is invalid
Traceback (most recent call last):
File "C:\ComfyUI-master\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI-master\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI-master\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI-master\custom_nodes\ComfyUI-DeepFuze\nodes.py", line 1431, in generate_audio
result = subprocess.run(command,cwd="ComfyUI/custom_nodes/ComfyUI-DeepFuze",stdout=subprocess.PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Python312\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Python312\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NotADirectoryError: [WinError 267] The directory name is invalid

@mmcc1
Copy link
Author

mmcc1 commented Jul 21, 2024

...

@SamKhoze
Copy link
Owner

Hello @mmcc1,
Are you using conda or other env to run the comfy?

@mmcc1
Copy link
Author

mmcc1 commented Jul 21, 2024

Hello @mmcc1, Are you using conda or other env to run the comfy?

No, just Python on Win 11.

@SamKhoze
Copy link
Owner

I had update the code can you try again with updated code

@mmcc1
Copy link
Author

mmcc1 commented Jul 21, 2024

I had update the code can you try again with updated code

That fixed the TTS issue. Thanks.

@mmcc1 mmcc1 closed this as completed Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants