[web2py] Re: xml-rpc code causes compile error in mywiki default.py

2012-02-09 Thread bill.tha...@live.com
Thanks Ross. Found that this morning. It's a typo in the book. For future readers finding this post on a search; Make sure you put the closing paren in the correct spot or your new error is a bit more substantial. (Python shell returns an error saying, 'Query' object has no attribute 'select' )

[web2py] Re: xml-rpc code causes compile error in mywiki default.py

2012-02-09 Thread Ross Peoples
You have a syntax error in fony_by(keyword): return db(db.page.title.contains(keyword).select().as_list() Should be: return db(db.page.title.contains(keyword)).select().as_list() You forgot the closing parenthesis before .select().