[Zope] Problems with xml-rpc

Chris McDonough chrism@digicool.com
Mon, 21 May 2001 07:40:29 -0700


Hi Juan,

Thanks for the heads up on the xml-rpc mem leak bug and fix.  I imagine
this was never put into Zope because it never made it into a Secretlabs
stable release of xmlrpclib (0.9.8 doesn't have it, and 0.9.9 is marked
as development).

I'm not certain of the other bug, but it may be worthwhile to ask
secretlabs as well as waiting for answers on this list.

- C


Juan Carlos Coruña wrote:
> 
> Hi all,
> 
> The last problem I was having with xmlrpc and Zope was "Growing Refcounts"
> (you can review it in this mailing list). I resolved the problem applying
> the patch to xmlrpclib.py referenced in
> http://www.pythonware.com/products/xmlrpc/bug-xmlrpc1.htm. ¿Why, you, people
> of DC do not apply this patch?
> 
> But now there seems to appear another problem related to xml-rpc.
> I'm using a python xmlrpc client to talk to a Zope server.
> 
> The problem appears if I pass a string argument containing the symbol "&".
> Example
> > s = xmlrpclib.Server('http://localhost/RPC')
> > s.anymethod('string & parameter')
> 
> The zope server responds:
> 
> xmlrpclib.Fault: <Fault -2: 'Unexpected Zope error value:  <unknown>:1:0:
> not well-formed\012\012\012'>
> 
> I am using Zope-2.3.2.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )