When I run the sample I'm getting:
Traceback (most recent call last):
  File "<pyshell#4>", line 2, in <module>
    print item.created_on, item.title
AttributeError: 'dict' object has no attribute 'created_on'

Here is the code:
>>> import xmlrpclib
>>> server = xmlrpclib.ServerProxy(
    'http://127.0.0.1:8000/mywiki/default/call/xmlrpc')
>>> for item in server.find_by('wiki'):
print item.created_on, item.title

Item looks like this:
>>> print item
{'body': 'blah', 'created_on': '2011-01-17 21:27:59', 'id': 3, 'created_by': 
1, 'title': 'My Wiki Page'}


This is in Python 2.7.1 

Reply via email to