On Sun, 6 Aug 2000 11:56:35 -0400 , Chris McDonough

>Only strings, integers, floats, "booleans", dictionaries, tuples, lists,
>and special "datetime", base64, and fault objects can be passed via
>XML-RPC.   Anything else is too complex.  The spec at
>http://www.xml-rpc.com/spec is useful.

Also, xmlrpclib will marshall a class instance as a dictionary, using
it's __dict__.

This applies to instances of python classes, but not extension
classes. Fixing this would be a bad idea: ObjectManager.objectItems
would try to return your whole database.

>> -----Original Message-----
>> From: Gijs Reulen [mailto:[EMAIL PROTECTED]]
>> Sent: Sunday, August 06, 2000 6:53 AM
>> Subject: [Zope] XMLRPC returns error sometimes
>> I am experimenting with xml-rpc and Zope. Some Methods from 
>> the API work ok,
>> but others return an error. A common error is:
>> Error Value: cannot marshal <extension class
>> Acquisition.ImplicitAcquirerWrapper at 00C950F0> objects
>> I receive this error for example when for Zope 2.1.6 I execute:
>> ObjectManager.objectValues
>> Where as the next Method works ok:
>> ObjectManager.objectItems
>> Maybe the to be returned info is to complex ?

Toby Dickenson

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to