question

NMOLINERO avatar image
NMOLINERO asked istrateradu answered

Invalid command name "av::dputs" is seen while executing avalanche script in tclshell

I'm running the test.tcl provided with the GUI2TCL and my virtual Avalanche configuration and I get this error:

% tclsh test.tcl
--------- ERROR -------------------- invalid command name "av::dputs"

any suggestions on what could be wrong? I also set the config.tcl and I think that's correct. I can provide more info if needed.

Avalanchetcl scriptavalanche automationtcl apiwindows 10
10 |950

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

istrateradu avatar image
istrateradu answered

I am glad to hear that.

Regards,

Radu

10 |950

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

NMOLINERO avatar image
NMOLINERO answered

Thanks @istrateradu I generated without ticking that option and it works now!! :)

10 |950

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

istrateradu avatar image
istrateradu answered istrateradu edited

Please send the config.tcl and test.tcl files at radu.istrate@spirent.com so I can have a look at them.

For running the tcl test on windows the Portable Test option should not be ticked. That option must be used only to generate tcl tests that willl be run on linux .

10 |950

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

NMOLINERO avatar image
NMOLINERO answered NMOLINERO edited

Hi @istrateradu,

Actually, I'm using Windows 10 and the reason why I'm using test.tcl is because I can't see ABR statistics from the iTest session. I generated this tcl with the Portable option ticked, but I still have that error.

Thanks,

Natalia

10 |950

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

NMOLINERO avatar image
NMOLINERO answered istrateradu edited

Hi Radu,

Thanks for your reply. I'm using Windows 10.

Best regards,

Natalia.

1 comment
10 |950

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

istrateradu avatar image istrateradu commented ·

Hi Natalia,

Was the information provided helpful? Are you still having the issue?

Regards,

Radu

0 Likes 0 ·
istrateradu avatar image
istrateradu answered

http://docid.spirent.com/KNI13466

,

Hello,

Are you running the test in linux environment? If so, when exporting via GUI2TCL, please check the box for "Portable Test" as described in document: http://docid.spirent.com/KNI13466

Regards,

Radu

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.