Hey team!
I am trying to run flows off of an agent on a windows server and am getting this error while starting a flow run:
"083200.000 | INFO | prefect.agent - Completed submission of flow run 'a441fbfb-26bb-481a-8d87-d992532e38a8'
'C:\Program' is not recognized as an internal or external command,
operable program or batch file."
I know windows support is under development, does anyone know what this issue could be?
✅ 1
t
Tim Galvin
11/08/2022, 1:50 PM
To me, it looks like a path is not properly escaped, and the space between 'Program' and 'Files' is splitting the path into two arguments. What the resolution is I do not know without trying to get a close look at the code and set up.
r
Ryan Peden
11/08/2022, 2:00 PM
I agree with Tim - the space in 'Program Files' is causing the problem. I'll check if we have an issue open for this and open one if not. The immediate workaround would be to run Prefect from a location that has no spaces in the path.
s
Stephen Thibeault
11/08/2022, 2:01 PM
Thanks you two, that is what I figured the issue was, currently working on setting up a venv with no spaces to give it a test. If this is an issue that gets raised, please let me know!
w
Will Truong
01/11/2023, 7:58 AM
I have the same problem too. So did you solve it, Stephen?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.