Printer FriendlyEmail Article Link

Spirent TestCenter :When using Generate streamblock , we get error:No TCL is installed. Please install TCL or specify the installation in stcbll.ini

Environment/Versions
  • Spirent TestCenter
  • Wireshark
  • Generate Streamblock from Pcap
  • TCL
Answer

Answer 1

  • Install Wireshark
  • Install Spirent’s Tcl version 8.4.13
    • from Spirent download page : http://support.spirentcom.com
    • or other version that uses tclsh.exe and not something like tclsh85.exe 
      • if you only installed Tcl 8.5.x (e.g., TCL 8.5.9 (configured for Spirent TestCenter Automation) from the CSC) then this only installs tclsh85.exe and it will not work
      • but if you simply make a copy of tclsh85.exe and rename the copy to tclsh.exe then it will work.
    • if other version being used, may need to edit the stcbll.ini file
      • Example: Edit stcbll.ini (located in Spirent Application folder)
        • [ThirdPartyConfiguration]
          wireshark="C:\Program Files\wireshark\tshark.exe"
          tclsh=C:\Program Files\Spirent Communications\ActiveActiveTcl\bin\
  • Check Spirent TestCenter application Settings > Traffic tab to set path to tshark.exe
    • for example C:\Program Files (x86)\Wireshark\tshark.exe)
    • the application will also prompt you to input this automatically when you select Generate Stream Block
  • As a last resort if it is still not working uninstall and then reinstall everything:
    • Tcl (this time be sure to use Spirent’s Tcl version 8.4.13),
    • Wireshark (this time use Spirent’s Wireshark),
    • Spirent TestCenter application (but only if the first two don’t solve your issue)

Answer 2

  • Spirent TestCenter is looking for a tclsh executable to use to run a script and the error is indicating Spirent TestCenter is not finding it.
  • So if  altering stcbll.ini doesn't work check the PATH environment variable and make sure it is pointing to a tclsh executable. 
    • It could be the one installed with Spirent TestCenter, for example:
      C:\Program Files (x86)\Spirent Communications\Spirent TestCenter 4.45\Spirent TestCenter Application\Tcl\bin
  • Also, on some systems, the PATH in "System variables" is not used so the path the tclsh executable must be added to the "User variables"

     

 


Product : Spirent TestCenter,Spirent TestCenter