[Bug]: Generator Randomly stops, log says: TypeError: expected str, bytes or os.PathLike object, not list #2973
Labels
bug
Something isn't working
can't reproduce
This can not be reproduced
feedback pending
Waiting for further information
wontfix / cantfix
This will not be worked on
Checklist
What happened?
Upon generating an image I get the following error:"File "C:\AI generation\Fooocus_win64_2-1-831\Fooocus\modules\private_logger.py", line 18, in get_current_html_path
date_string, local_temp_filename, only_name = generate_temp_filename(folder=modules.config.path_outputs,
File "C:\AI generation\Fooocus_win64_2-1-831\Fooocus\modules\util.py", line 162, in generate_temp_filename
result = os.path.join(folder, date_string, filename)
File "ntpath.py", line 104, in join
TypeError: expected str, bytes or os.PathLike object, not list
(I am unsure if there should be more information, please let me know where to find the full log.)
I have tried disabling all styles,loras, and switching base model.
The image preview loads but does not fully complete. Even with an empty prompt.
Upon further inspection it seems that the developer setting "Save Metadata to Images" is causing this.Nevermind, It seems my config file was corrupted somehow. Anyways all that I have changed was the "example_inpaint_prompts".
Note: I was not using the inpainting function after the error occurred.
I hope you can do something with this information.
Steps to reproduce the problem
What should have happened?
Fooocus should have fully generated my image.
What browsers do you use to access Fooocus?
Microsoft Edge, Other
Where are you running Fooocus?
Locally
What operating system are you using?
Windows 11 Pro (Different edition, similar to enterprise)
Console logs
Additional information
I have a different version of Windows, however this hasnt impacted most programs and I dont believe this is causing the issue.
The text was updated successfully, but these errors were encountered: