pk8251
(pk825)
April 7, 2024, 8:37am
1
Hi use PySirl to calibrate images and if I have a direcotry with a space I receive an error in the convert command. I see that in the CD command I have to use ’ in order to avoid error, but in the convert in my program doesn’t work
app.Execute("convert light -out='" + process_dir + "' -fitseq")
> convert light -out='D:\NINA\Image\KPS-1 b_2024-04-06\work\R_112s\work' -fitseq
INFO : status: error convert
: log: Running command: convert
: log: Cannot create output folder: 'D:\NINA\Image\KPS-1
I have Siril 1.2.1 and the last version of PySIrl in WIndows 10 enviroment
I don’t know for pysiril, but in Siril you need to use " when you have spaces in filepath.
You can have a look here: Commands — Siril 1.2.0 documentation
pk8251
(pk825)
April 7, 2024, 8:47am
3
in the CD command:
directories with spaces in the name can be protected using single or double quotes
cd ‘…/OIII 2x2/’
I try both single and double quote (’ and ") without any success the CD command works, the convert command not
Because your command is wrong.
The second Tip of the page I gave you says:
pk8251
(pk825)
April 7, 2024, 12:45pm
5
Great!!! it works thank you
I missed the hint and read only the one related to the CD command