Use of Python in TEMS Investigation

Saturday, March 19, 2011

TEMS Investigation is widely used in celluar network operators to carry out drive test activities. It supports Python to decode TEMS logfiles to user specific format.

Python Environment Setup

Currently, I am using TEMS Investigation 11.0.5. If you follow the manual of TEMS Invesitgaton to setup Python environment (PYTHONPATH for TI and PATH for Python25), you may still hit the following error:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'TEMS.DataModel, Version=11.0.0.0, Culture=neutral, PublicKeyTok
en=148637998f549f7b' or one of its dependencies. The system cannot find the file specified.
File name: 'TEMS.DataModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=148637998f549f7b'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


It seems there is a bug with the TEMS.pyd in the Application folder of TI. Copy the python.exe in c:\python25 to C:\Program Files\Ascom\TEMS Products\TEMS Investigation 11.0\Application should be able to solve the problem.

Also, make sure your Python version is 2.5x. Manual of TEMS Investigation clearly stated:

Please note that precisely this version (2.5.x) is required, not any earlier or later version