In my controller I've got a following action defined:
@auth.requires_login() def chapter(): chapter_id = int(request.args[0]) chapter = db.chapter[chapter_id] book = chapter.book chapter_count = db(db.chapter.book == book.id).count() return {'chapter': chapter, 'book': book, 'chapter_count': chapter_count} It works fine both with a normally run web2py and GAE's dev_appserver.py but for some reason happens to crash once uploaded into the cloud. Any insight or ideas about it? --- Karol Marcjan