[Zope-dev] TCPWatch or other such tool

Christian Theune ct at gocept.com
Thu Mar 4 14:36:33 EST 2004


On Wed, 2004-02-25 at 05:53, Bjorn Stabell wrote:
> Has anyone gotten TCPWatch to work recently?  Using Python2.1/2.2/2.3
> I get:
>  
> Unhandled exception in thread started by <function window_loop at
> 0x402877d4>
> Traceback (most recent call last):
>   File "/zope/opt/bin/tcpwatch.py", line 656, in window_loop
>     app.mainloop()
>   File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 965, in mainloop
>     self.tk.mainloop(n)
> RuntimeError: Calling Tcl from different appartment
>  
>  
> Are there any other good, free TCPWatch-like tools that allow you to
> snoop on HTTP requests.

This is a problem with python-tk most probably a problem in your
distribution (I had that a lot with debian).

You can also call tcpwatch with the -s commandline parameter to suppress
the GUI and get a CLI. Another option is enabling logging to write
requests and responses to files.

Regards,
Christian

-- 
Christian Theune, gocept gmbh & co. kg
http://www.gocept.com - ct at gocept.com
fon: 03496 3099112 fax: 03496 3099118 mobile: 0179 7808366
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20040304/f3e4f3dd/attachment.bin


More information about the Zope-Dev mailing list