You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Error Tool table not found during Import Machine Settings
Problem Description
The Import Machine Settings feature causes the error Tool table not found. This issue occurs because the path to the tool file is incorrectly processed. The path is concatenated with Datapath.Tools using a backslash (\). However, the .ini file already contains the full path, so concatenating results in an invalid file name.
Steps to Reproduce
Attempt to import machine settings using the Import Machine Settings feature.
Observe the error: Tool table not found.
Cause
The path to the tool file is constructed incorrectly as:
Datapath.Tools+"\\"+ tmpstr
Solution
Modify the code in the IniFile.cs file to use Path.Combine instead of manual string concatenation.
Correct Code:
Path.Combine(Datapath.Tools,tmpstr)
Additional Notes
Using Path.Combine ensures proper handling of paths regardless of the platform and avoids issues caused by incorrect concatenation.
The text was updated successfully, but these errors were encountered:
Issue: Error
Tool table not found
duringImport Machine Settings
Problem Description
The
Import Machine Settings
feature causes the errorTool table not found
. This issue occurs because the path to the tool file is incorrectly processed. The path is concatenated withDatapath.Tools
using a backslash (\
). However, the.ini
file already contains the full path, so concatenating results in an invalid file name.Steps to Reproduce
Import Machine Settings
feature.Tool table not found
.Cause
The path to the tool file is constructed incorrectly as:
Solution
Modify the code in the IniFile.cs file to use
Path.Combine
instead of manual string concatenation.Correct Code:
Additional Notes
Using Path.Combine ensures proper handling of paths regardless of the platform and avoids issues caused by incorrect concatenation.
The text was updated successfully, but these errors were encountered: