Printer FriendlyEmail Article Link

StcInit failed with exception: CStcInvalidArgument error reported when try to load the Spirent TestCenter package in Linux environment

Answer

 

Detail Description: The following error reported when try to load the Spirent Test Package. However, the error was not reported when try to use different login
% package require stc
StcInit failed with exception: CStcInvalidArgument Error during conversion: Cannot convert bool "". Expecting true, on, yes,
1, or false, off, no, 018:19:40.884 ERROR - in init: StcInit failed
terminate called after throwing an instance of 'std::runtime_error'
what(): in init: StcInit failed
Segmentation fault
Resolution/Possible Reason: The RHL user .bash_profile may have invalid information or pointing to different version of TCL may cause the issue. Copy the working .bash_profile and correct your environment setting accordingly
 

Product : Spirent TestCenter,L2-3,Automation,API