Error - Can't find a default Python

Error - Can't find a default Python

In version 10.6 and above when creating a Custom Trigger  you will need to paste a .txt file in the  Executor path as shown below instead of entering the scripts name there. 


To create a txt file you need to path to => ManageEngine\Service Desk\integrations\Custom scripts\Executor_file.
You need to create a new txt file and paste the  "py CreateJiraTicket.py $COMPLETE_V3_JSON_FILE" in that txt file. 

While doing this if you get an error saying "Can't find a default Python" in the history ! You need to follow the below mentioned solution. 

Instead of "pyin the txt file ("py CreateJiraTicket.py $COMPLETE_V3_JSON_FILE" ) you need to enter the complete path of the python installation.

For Example:  C:\Users\AppData\Local\Programs\Python\Python310\python.exe send_mail.py $COMPLETE_V3_JSON_FILE. 



                  New to ADSelfService Plus?

                    • Related Articles

                    • Cannot run program "python" or Can't find a default python

                      Use case While trying to run a python script, this error can be found. It usually occurs when the python is not installed/set up properly. Solution Try specifying the complete path of the python.exe instead of py and then in the argument specify the ...
                    • How to setup Python on the Server

                      This article explains how to set up the ServiceDesk plus server to run python scripts. 1. The first step is to install python on the application server and you can download it from here . Any version above 3.4.1 should work fine. Once you've ...
                    • Python Troubleshooting steps

                      Here we are listing the troubleshooting steps for the python script to be executed 1. Check whether python is installed or not in the sever where SDP is installed 2. If it's installed check the version of python ( Preferable version should be above ...
                    • How to setup Python on the Server

                      This article explains how to set up the ServiceDesk Plus MSP server to run python scripts. 1. The first step is to install python on the application server and you can download it from here. Any version above 3.4.1 should work fine. Start the setup ...
                    • Error While connecting default Postgres Database

                      If you are getting the below error while connecting the postgresDB , please follow the steps below : Error : psql: FATAL: no pg_hba.conf entry for host “::1”, user “postgres”, database “servicedesk”,SSL off Please open pg_hba.conf under [ServiceDesk ...