...
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:
Section |
---|
Column |
---|
|
Code Block |
---|
language | py |
---|
theme | Confluence |
---|
|
Could not create temp directory C:\Users\USER\AppData\Local\Temp\ECU-TEST 2020.1\ToolLibTemp: [WinError 5] Access is denied: '\\\\?\\C:\\Users\\USER\\AppData\\Local\\Temp\\ECU-TEST 2020.1' |
Code Block |
---|
language | py |
---|
theme | Confluence |
---|
|
Could not create temp directory C:\Users\USER\AppData\Local\Temp\ECU-TEST 2020.1\ToolLibTemp: [WinError 183] Cannot create a file when that file already exists: '\\\\?\\C:\\Users\\USER\\AppData\\Local\\Temp\\ECU-TEST 2020.1\\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:
...
Code Block |
---|
language | py |
---|
theme | Confluence |
---|
title | ToolLibs.ini |
---|
|
[General]
TempDir = %TEMP%\ECU-TEST 2020.1\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 2 different workarounds:
...
Expand |
---|
title | Workaround 1: The user has access to the ToolLibs.ini |
---|
|
- You can edit the file and add the relative path instead of the absolute path
or - You can delete the file and restart ECU-TEST with the desired user
|
Expand |
---|
title | Workaround 2: The user has no rights to edit the ToolLibs.ini |
---|
|
- Copy the
ToolLibs.ini file to another place on you PC - Change the TempDir entry in this copy to a suitable path
- Start ECU-TEST via:
- ECU-TEST.exe --toollibsini=C:\"PathToTheNewFile"\ToolLibs.ini
or - Tool-Server.exe --toollibsini= C:\"PathToTheNewFile"\ToolLibs.ini
|
Info |
---|
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. |