RE: [Zope] No stack trace returned on XMLRPC call
-----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¶m2=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.
Jay, Dylan writes:
...
If this is two complex, make a specialized Python Script, that calls your Python script with the correct arguments. Call this (specialized) 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. Why do people not read my complete replies?
For your convenience, I stripped away the explanation for the simple case, because you are in the complex one. Do you see now how to proceed? Dieter
participants (2)
-
Dieter Maurer -
Jay, Dylan