[bug]: invokeai-batch command creates a logfile incompatible with windows filenames and fails #3005
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
OS
Windows
GPU
cuda
VRAM
12
What version did you experience this issue on?
2.3.2
What happened?
When in the developer CLI on windows, you should be able to call invokeai-batch according to the following syntax
invokeai-batch example.yml --invoke
where example.yml is a suitably formatted yaml, in this case, the output of
invokeai-batch --example > example.yml
When run without the --invoke command, the command creates a list of prompts from the combinations contained in the yaml, exactly as intended, but when called with invoke you get an error, an example of which is:
`(.venv) C:\Users\Administrator\invokeai>invokeai-batch example.yml --invoke
the key to the problem is that windows can't have ':' in filepaths, so the tool is trying to create a logfile that isn't permitted in Windows:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\invokeai-batch-logs\\2023-03-22-11:18:34-pid=10212.txt'
The same service works very neatly indeed on Ubuntu and has no issues creating the logfile, as is expected because ':' is permitted in filepaths in Ubuntu.
Screenshots
No response
Additional context
No response
Contact Details
One Eye#3268
The text was updated successfully, but these errors were encountered: