Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ18291
Printer Friendly
Email Article Link
Spirent Test Center: issues when upgrading to STC FW 4.81 (On Linux)
Environment/Versions
STC 4.81 Linux
Getting error when installing 4.81 FW version:
2018-01-30T16:02:36: %AETEST-ERROR:
"source /ws/ujparikh-bxb/Spirent/Spirent_TestCenter_4.81/Spirent_TestCenter_Application_Linux/HltAPI/SourceCode/hltapi_5.10_stc_2.10.tcl"
Answer
The package: “pkgIndex.tcl” in STC-API install directory, needs to be changed for HLTAPI using P4.81 STC-API installs.
replace the package: “pkgIndex.tcl” in:
../Spirent_TestCenter_4.81/Spirent_TestCenter_Application_Linux
with the attached at the end of this KB article.
Or edit out the following in the pkgIndex.tcl file that is there. (../Spirent_TestCenter_4.81/Spirent_TestCenter_Application_Linux/pkgIndex.tcl)
#Creating HLTAPI Path
set hltDir [string trim $dir '\"']
set hltDir [string trimright $hltDir '/']
set hltDir "$hltDir/HltAPI/SourceCode/"
package ifneeded SpirentHltApi 4.81 [list source [file join "$hltDir" hltapi_5.10_stc_2.10.tcl]]
package ifneeded sth 4.81 [list source [file join "$hltDir" hltapi_5.10_stc_2.10.tcl]]
package ifneeded SpirentHltApiWrapper 4.81 [list source [file join "[set hltDir]hltapiWrapper/" sth_wrapper.lib]]
Attachments
Attachment
pkgIndex.tcl
Version
1.0
Publish Date
2018-02-16
Categories
Product : API
Related Articles