/
[DTS] Cannot add DTS as a tool in test bench configuration

[DTS] Cannot add DTS as a tool in test bench configuration

Issue

While trying to establish a connection to DTS in my test bench configuration I receive the following error:

Traceback (most recent call last): File "tts\core\toolingFramework\networking\ToolServerConnector.py", line 329, in PrintRemoteException File "tts\core\toolingFramework\networking\ToollibProcessStarter.py", line 628, in __CallCommandErrback File ".\Lib\site-packages\twisted\python\failure.py", line 504, in raiseException File ".\Lib\site-packages\twisted\python\threadpool.py", line 244, in inContext File ".\Lib\site-packages\twisted\python\threadpool.py", line 260, in <lambda> File ".\Lib\site-packages\twisted\python\context.py", line 117, in callWithContext File ".\Lib\site-packages\twisted\python\context.py", line 82, in callWithContext File "tts\tooling\tool\DTS\DTSlib.py", line 276, in GetProjectsList File "tts\tooling\tool\DTS\DTSlib.py", line 171, in CacheProjectList File "tts\tooling\tool\DTS\DTSlib.py", line 444, in SetSystemState_eINITIALIZED AttributeError: 'NoneType' object has no attribute 'State'

Solution

Please take a look at ecu.test_out.log as well. There you should find the following warning:

WARNING: Attention! DTS9 may not register the ComApi automatically during installation. The API can be registered in the command prompt (as an administrator): cd <InstallationPathDTS>\DTS9\<Version>\COS\x64\bin regsvr32 ComApi.dll
  1. Open command line cmd as an administrator

  2. Navigate to the installation directory of your DTS application to the folder bin (<InstallationPathDTS>\DTS9\<Version>\COS\x64\bin)

  3. Execute command regsvr32 ComApi.dll

Related content