I encountered a problem in the mywiki example of the tutorial in
Chapter 3 of the book.

Mac OS X 10.6.8
web2py 1.98.2 downloaded as source
Python 7.2.2 (EPD 7.1-1)

When I tried to run the example in the book

        for item in server.find_by('wiki'):
                print item.created_on, item.title

it raised an exception that item did not have a created_on attribute.

Instead, I changed it to item['created_on'] and item['title'], and it
worked fine.

Maybe xmlrpc no longer returns items as objects, but as dicts instead?

Thanks in advance.

Reply via email to