Error executing task: Cannot invoke "dev.botcity.runner.technology.PythonExecutor$BotPythonType.equals(Object)" because "this.pythonType" is null

Hi

When I exucuted my bots, the runner send me this log:

Error executing task: Cannot invoke “dev.botcity.runner.technology.PythonExecutor$BotPythonType.equals(Object)” because “this.pythonType” is null

return diagnostic.jar

“Test”,“Result”,“Note”

“Orchestrator server reachability - SSL Enabled”,“PASS”,“-”

“Orchestrator server l - SSL Disabled”,“SKIP”,“-”

“SDK Download reachability - SSL Enabled”,“FAIL”,“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond”

“SDK Download reachability - SSL Disabled”,“FAIL”,“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond”

“Orchestrator Login”,“SKIP”,“E-mail or password not provided. Skipping this check.”

“Java Runtime”,“PASS”,“Version: Java 17.0.3”

“Python Development”,“WARN”,“System was able to find a suitable Python version, but you may be required to add additional configuration to your BotCity Runner to define the proper interpreter to be used. Command executed: py --version”

“Java Development”,“PASS”,“Version: Java 22.0.2”

Hi @weverton.mata,

It’s probably some problem related to your Python installation:

By default, Runner tries to invoke the Python interpreter using the “python” call. I suspect that in your case, the Python installation path is not added to the system PATH, or the interpreter is only being recognized by calling it another way, such as “py” or “python3”.

I recommend using the Python installer to ensure the installation path has been added to the system’s PATH environment variable.

If the problem persists, you can try to identify how Python is being recognized on the machine by running commands such as:

  • python --version

  • where python