Have you read the items that result from a search in this group on "ProgrammingError: Cannot operate on a closed database"? There a lot of hits with varyious causes. I had a similar problem the other day and the items which described my error were:
https://groups.google.com/forum/#!searchin/web2py/ProgrammingError$3A$20Cannot$20operate$20on$20a$20closed$20database./web2py/sp-XsCaoXfI/Uis4VX-GImkJ and https://groups.google.com/forum/#!searchin/web2py/current.globalenv%5B$27db$27%5D/web2py/0k0Fvw6fmb8/eSI3bDtdo1QJ They may not be relevant to your case though. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.