I am trying to run a python script but it keeps failing with the message:
“External program failed with exit code 1”
I have no other information available to work on or resolve this issue.
The EM process runs just fine on my desktop but not on the server.
The python code is a simple converter - to convert .xls files in a target folder to .xlsx format.
I was wondering if it could be due to one of the libraries I am using not there on the server, but it’s hard to say what the issue is with just ‘Failed due to exit code 1’ message.
Fixes I have tried so far:
Working directory (optional)
Can someone please help?
Tick the “Capture output” checkbox to see the actual error.
See example here:
Thank you for that. I’ll give that a shot.
Ok so first of all, I am sorry for creating another topic. I was able to find a similar error which was discussed here previously:
That’s the same issue I am facing.
I see the solution recommended is to add the full path to python exe like so:
Which ‘user’ would that be?
It’s the Windows account that runs the application.