[Zope] ZSyncer doesn't

Ng Pheng Siong ngps@netmemetic.com
Mon, 16 Jun 2003 00:27:05 +0800


On Fri, Jun 13, 2003 at 11:00:01PM +0200, Dieter Maurer wrote:
> I use ZSyncer 0.4.4 together with Zope 2.6.1 (and 2) without problems.
> (I know, it does not solve your problem. It's just the information
> that it may work.)

Thanks for the note.

I figured it out: the problem is with (Py)Expat: My M2Crypto
xmlrpc-over-ssl demo also failed with the same error. (It used to work
with some older version of (Py)Expat.)

Zope's bundled xmlrpclib doesn't pick up my copy of the Sgmlop parser which
is bundled with PyXML. A 1-line patch later, it does, and SgmlopParser
handles ZSyncer's xmlrpc call properly where (Py)Expat doesn't.

So ZSyncer does, now.

Can you check which parser your copy of ZSyncer is loading?

ngps@vista:~/pkg/zope261/lib/python/Products/ZSyncer$ python2.1
Python 2.1.3 (#2, Jun 10 2003, 00:24:34) 
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.insert(1, '/usr/local/home/ngps/pkg/zope261/lib/python')
>>> import xmlrpclibBasicAuth as X
>>> X.xmlrpclib.getparser()
(<xmlrpclib.SgmlopParser instance at 0x819b50c>, <xmlrpclib.Unmarshaller instance at 0x812504c>)


Cheers.

-- 
Ng Pheng Siong <ngps@netmemetic.com>