Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Bhbtr
Contributor
Contributor

External program task fail

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.

Bhbtr_0-1735274154129.png

Bhbtr_1-1735274286361.png

I have found a workaround using following configuration but would like to use previous tasks.

Bhbtr_2-1735274416345.png

Bhbtr_4-1735274678136.png

 

 

 

 

Labels (3)
1 Reply
pallavi_96
Partner - Creator
Partner - Creator

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:

  1. Use Full Python Path: In the External Program task, specify the full path to the Python executable (e.g., C:\Python39\python.exe).

  2. Check Permissions: Ensure the Qlik service account has read/execute permissions for both Python and the script file.

  3. Run Script Manually: Test running the Python script directly from the command line to ensure it works.

  4. Enable Logs: Check Qlik logs for more error details (located in C:\ProgramData\Qlik\Sense\Log).

  5. Test with a Simple Script: Use a basic script (print("Hello, World!")) to confirm if the issue is with the script or Qlik configuration.

  6. Check Firewall/Antivirus: Ensure security software is not blocking Python or Qlik processes.