DIMETRA Express exported BS config batch file does not recognize Python


Symptom(s)

Not possible to program a Base Station using a DEX script. When running the batch file the following message was displayed:
"Checking if Python is installed....FAIL!"
 

Issue

Customer was trying to program a Base Station using the DEX script. As per "readme.txt" file a Python 3.6.8 version was installed on the service PC (Windows 11 Pro). Site could not be programmed because the Python was not detected on the service PC. When running the batch file the following message was displayed:
"Checking if Python is installed....FAIL!"

Python 3.6.8 was installed by default in the following folder:

C:\Users\admin\AppData\Local\Programs\Python\Python36-32\python.exe

and it was not recognized by the script.

Environment

Dimetra Express

R02.05.04 with TEA1 software (Other releases as well as clear will also be affected)

Service PC - Windows 11 Pro

Resolution

Investigation showed that the executable file - python.exe can be placed in two different folders, depending on the software version:

1. Python 32bit version:
C:\Users\<user name>\AppData\Local\Programs\Python\Python36-32\python.exe

2. Python 64bit version:
C:\Users\<user name>\AppData\Local\Programs\Python\Python36\python.exe

Script only checks the 2nd path; therefore 32bit version of Python is not detected when installed in the default location.

Issue noticed on both Windows versions 10 and 11.

 

Different workarounds:  


1. Renaming the folder name from "Python36-32" to "Python36"
2. Changing the path (renaming the folder) during installation of 32bit Python version.

- Choosing "Customize installation"

3. Uninstall 32bit Python version and installing 64bit Python version. 

 

Solution:

Problem will be fixed in the DIMETRA Express system release R2.6.