[Zope] POST sucks.

Paul Winkler pw_lists at slinkp.com
Tue Sep 12 12:46:22 EDT 2006


On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote:
> +-------[ Paul Winkler ]----------------------
> | Been doing web services (XML-RPC) stuff lately.
> | What suggestions do people have for troubleshooting a zope-based
> | XML-RPC application?
> 
> When debugging;
> o Raise an exception from python scripts, you can include some info in it.

OK, but when we're dealing with a production system, I can't raise 
random exceptions just to gather information.

> o Use FireFox and use the JavaScript Console to see the traceback returned.

This is a web service. It's not designed to interact with browsers.

> o Don't forget to check /error_log in your Zope instance.

Of course.

Thanks for the suggestions. 
I'll probably have to just bite the bullet and do more manual logging.
Unless somebody has any more ideas...

fwiw, I've also used tcpwatch (http://hathawaymix.org/Software/TCPWatch)
which is really great for inspecting the actual data on the wire,
but again that's not something i can do in production.
 
-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list