Hi,
Below are the steps,I am doing to run the wireshark in windows using TCL scripts -
1.) From a tcl editor(eg. Light Edit), run the .tcl file giving command as --> tclsh85 test.tcl
content of test.tcl file —>
exec -ignorestderr “E:\pip\tcl\saket.bat”
-
content of saket.bat —>
c:
cd …/…/…
cd “program files”\wireshark
wireshark -a duration:20 -w 26apr.pcap -k -Q -
Wireshark opens, captures packet for 20 second and store the packet in 26apr.pcap file and finally wireshark closes successfully.
-
But it gives following error -
(wireshark.exe:5932): Gtk-WARNING **: unable to find signal handler for object(GtkEntry:02AD1020) with func(00000000) and data(02A1FC80)
(wireshark.exe:5932): Gtk-WARNING **: unable to find signal handler for object(GtkEntry:02AD1020) with func(00000000) and data(02A1FC80)
(wireshark.exe:5932): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL’ failed
(wireshark.exe:5932): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL’ failed
I installed gtk exe(gtk-dev-2.12.9-win32-2) but still no success. Can anyone help me how to get rid of this error?