/
[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
Open command line
cmd
as an administratorNavigate to the installation directory of your DTS application to the folder bin (
<InstallationPathDTS>\DTS9\<Version>\COS\x64\bin
)Execute command
regsvr32 ComApi.dll
, multiple selections available,
Related content
[Trace analysis] Timestamps are not monotonically increasing
[Trace analysis] Timestamps are not monotonically increasing
More like this
[Error] XMLRPC-API-Listener
[Error] XMLRPC-API-Listener
More like this
[Credentials] Vault has been corrupted
[Credentials] Vault has been corrupted
More like this
[SOME/IP] General Troubleshooting
[SOME/IP] General Troubleshooting
More like this
[General] General advice regarding ecu.test error messages
[General] General advice regarding ecu.test error messages
More like this
[Python] Migration help for ecu.test and a new Python version
[Python] Migration help for ecu.test and a new Python version
More like this