Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to run a python code with 1 parameter using External program task in QMC.
We are migrating to new production server and on the previous server same exact code worked with no problem.
On the new server exact code, with exactly same setting gives "Process start returned null" error.
I have found a workaround using following configuration but would like to use previous tasks.
Hi @Bhbtr
Please try to check the below points
To fix the "Process start returned null" error in Qlik QMC when running a Python script:
Use Full Python Path: In the External Program task, specify the full path to the Python executable (e.g., C:\Python39\python.exe
).
Check Permissions: Ensure the Qlik service account has read/execute permissions for both Python and the script file.
Run Script Manually: Test running the Python script directly from the command line to ensure it works.
Enable Logs: Check Qlik logs for more error details (located in C:\ProgramData\Qlik\Sense\Log
).
Test with a Simple Script: Use a basic script (print("Hello, World!")
) to confirm if the issue is with the script or Qlik configuration.
Check Firewall/Antivirus: Ensure security software is not blocking Python or Qlik processes.