[Zope] Problems with xml-rpc
Mon, 21 May 2001 10:05:00 -0700
I did a little more digging with this.
This problem will not manifest itself in Zope in 99% of the cases.
Neither Zope 2.X nor Python 1.5.2 ship with the sgmlop library. The
branch of code which causes this memleak to happen won't be executed
unless you've installed sgmlop, which is only available (AFAIK) from
Chris McDonough wrote:
> 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 )
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )