[ToolLibs.ini] ecu.test does not work for some users of the PC
Issue
When I try to start my configurations or to connect a tool, I receive an error message which mentions another user and the ToolLibTemp.
Examples
Could not create temp directory C:\Users\USER\AppData\Local\Temp\ecu.test 2023.4\ToolLibTemp: [WinError 5] Access is denied: '\\\\?\\C:\\Users\\USER\\AppData\\Local\\Temp\\ecu.test 2023.4'
Â
Could not create temp directory C:\Users\USER\AppData\Local\Temp\ecu.test 2023.4\ToolLibTemp: [WinError 183] Cannot create a file when that file already exists: '\\\\?\\C:\\Users\\USER\\AppData\\Local\\Temp\\ecu.test 2023.4\\ToolLibTemp'
Solution
This happens if the TempDir path in the ToolLibs.ini
 points to one fixed user. Normally the path should be relative and look like:
ToolLibs.ini
[General]
TempDir = %TEMP%\ecu.test 2023.4\ToolLibTemp
In some cases the ToolLibs.ini
is created with a absolute path to one user, so that other users cannot access it.
Â
To fix this issue there are two different workarounds:
Â
Â
The ToolLibs.ini is stored under %allusersprofile%\tracetronic\ecu.test <version>
.
If the active user does not have write access to %allusersprofile%
, the ToolLibs.ini is stored under %localappdata%.
From within ecu.test you can also open the ToolLibs.ini
with the shortcut Ctrl+F11.