[Zope] No stack trace returned on XMLRPC call

Jay, Dylan djay@avaya.com
Wed, 28 Aug 2002 09:45:22 +1000


> -----Original Message-----
> From: Dieter Maurer [mailto:dieter@handshake.de]
> Sent: Wednesday, 28 August 2002 6:48 AM
> To: Jay, Dylan
> Cc: 'zope@zope.org'
> Subject: Re: [Zope] No stack trace returned on XMLRPC call
> 
> 
> Jay, Dylan writes:
>  > I'm calling a PythonScript via xmlrpc and an error is 
> being returned that
>  > includes HTML with the error type and value but no stack 
> trace. I've no idea
>  > if this is correct behaviour or a bug or a 
> misconfiguration but it's really
>  > annoying me as I have no idea how to reproduce the error 
> inside zope where I
>  > do get stack traces. The zope instance is running on w2k 
> with -D option and
>  > I get stack traces in the HTML with normal webrequests 
> (assuming they cause
>  > an exception). 
> Call your PythonScript via HTTP (instead of XML-RPC).
> This can look something like:
> 
>      
> <http://<your-Zope>/<PathToTheScript>?param1=value1&param2=value2&...
> 
> You may need urlencoding and form variables converters to get 
> the correct
> values to the script.
> 
> If this is two complex, make a specialized Python Script, that calls
> your Python script with the correct arguments.
> Call this Python Script via HTTP.

If I could I would, but the arguments include lists of dictionaries which
zope doesn't handle as normal http yet.