Re: [Zope-dev] Potential Improvements for xml-rpc debugging
> Now my question is whether this is a good thing in general +1 and not just for xmlrpc, the less HTML that gets sent in errors the better. -- Andy McKay Agmweb Consulting http://www.agmweb.ca ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Potential Improvements for xml-rpc debugging
On 30 Aug 2002 at 10:10, Casey Duncan wrote: > Now my question is whether this is a good thing in general. I like it > especially when accessing Zope using Python's xmlrpclib, but do any of have > reasons for keeping the html tags in the fault string? No, drop the HTML! I do a lot of xml-rpc with IE 5.5 clients, and getting a fault is a pita. I keep modifying xmlrpc.py (each time I update Zope) to print the traceback on the server, but that's a pita. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Potential Improvements for xml-rpc debugging
I am working on improved xml-rpc fault output because I find the current output from Zope less than useful. Basically what my version does is strip the html tags from the error value returned from Zope/standard_error_message, formats it in a simple way (basically justs trims line breaks down) and then generates a formatted traceback (if you are in debug mode) as the xml-rpc fault string. If you aren't in debug mode then it just outputs the error type and the formatted value as the fault string. Now my question is whether this is a good thing in general. I like it especially when accessing Zope using Python's xmlrpclib, but do any of have reasons for keeping the html tags in the fault string? Thought I would ask before I check this in. -Casey ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )