[Zope] xml-rpc marshal problems

Steve Drees drees@the-bridge.net
Wed, 23 May 2001 10:41:59 -0500

Playing with xml-rpc a little and I'm confused.

view_sql is a zsql in the root of htpp://steve.wejustrock.com

[drees@gfa drees]$ python
Python 1.5.2 (#1, Dec 21 2000, 15:29:08)  [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import xmlrpclib
>>> s= xmlrpclib.Server('http://steve.wejustrock.com')
>>> for i in s.view_sql():
...   print i.entry_title
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 608, in
    return self.__send(self.__name, args)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 658, in
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 575, in request
    return self.parse_response(fd)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 590, in
    return u.close()
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 346, in close
    raise apply(Fault, (), self._stack[0])
xmlrpclib.Fault: <Fault -1: 'Unexpected Zope exception: cannot marshal
<extension class ExtensionClass at 401529cc> objects'>

Desperately seeking zen,