question

ericnute avatar image
ericnute asked mallikarjunarao answered

TCL script for STC not working with TCL 8.5

Scripts written for TCL 8.4.13 for automating Spirent TestCenter are not working with TCL 8.5. Comparing the two install directories, I noticed that there seem to be missing directories in the TCL 8.5. How can I fix this so that the scripts will run? STC 8.4.13 Tcl Lib Dir ![STC 8.4.13 Tcl Lib Dir][1] STC 8.5.9 Tcl Lib Dir ![STC 8.5.9 Tcl Lib Dir.jpg][2] [1]: /storage/temp/3770-stc+8.4.13+tcl+lib+dir.jpg [2]: /storage/temp/3771-stc+8.5.9+tcl+lib+dir.jpg
Spirent TestCenter (STC)tcl script
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mallikarjunarao avatar image
mallikarjunarao answered
It' nothing wrong with TCL scripts, Might be it's problem with installation. try to install STC 4.36. Thanks http://tclscripting.blogspot.in/
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ericnute avatar image
ericnute answered
Maybe a TCL expert can give a better answer but here is what I have seen work when using TCL 8.5 with STC. There are some packages that were part of TCL 8.4 that are not part of TCL 8.5. After installation go to the DOS prompt and do the following 1. Teacup install Expect 2. Teacup install math 3. Teacup install math::bignum 4. Teacup install ip 5. Teacup install htmlparse 6. Teacup install XMLRPC It is possible that you may have to install additional packages. You can do that following the same procedure. /ht
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.