ANSLIC_ADMIN Utility option to Display the License Status produces the following error:

Could not create the file required to calculate the FLEXlm and Licensing Interconnect license server paths.

Path: c:DOCUME~1<user>LOCALS_1Temp1anslicadmin_licPathInfo_<user>_0.xml

Error: can't read "_0": no such variable

Note: <user> is the user's login name


Could not create the file required to calculate the FLEXlm and Licensing Interconnect license server paths.

Path: c:DOCUME~1<user>LOCALS_1Temp1anslicadmin_licPathInfo_<user>_0.xml

Error: can't read "_0": no such variable

Note: <user> is the user's login name


The usual cause of this error is that the username has a $ character in it. So for a user abcd$ the path in the error message:

CDOCUME~1<user>LOCALS_1Temp1anslicadmin_licPathInfo_<user>_0.xml

becomes

C:DOCUME~1abcd$LOCALS_1Temp1anslicadmin_licPathInfo_abcd$_0.xml

The scripts used by the ANSLIC_ADMIN Utility are written in Tcl. The $ character is the character that goes before a variable in Tcl when you want to use its value. So $_0 would be interpreted as the value of the variable "_0", which is not defined.

For the ANSYS 13 License Manager a fix has been developed which involves updates to 4 files in the c:program filesansys incshared fileslicensinglicadminscripts directory so that user names with a $ in them do not cause a problem. The 4 files are:

CommonProcs.itcl
WindowsSystemInfo.itcl
UnixSystemInfo.itcl
LicAdminGui.itcl

These can be supplied upon request.

The updates to these files in version 13 have been incorporated into the equivalent files in the version 14 license manager, so version 14 will not show this problem.





Show Form
No comments yet. Be the first to add a comment!