It is not your error. There problems operating sqlite from shell. I think there may be a timeout in keeping sqlite open. Not sure yet.
On Sep 14, 3:44 am, leone <[email protected]> wrote: > Good morning. > we2py is very interesting, and i am learning it. > I try, using web2py-shell, to operate on a sqlite db. > Where the db-file is created in filesystem by 'sqlite://test.sqlite' > command?? > I suppose on app/databases, but i don't find it. > When I try to define_table an error occurs: ProgrammingError: Cannot > operate on a closed database. > Where my error? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

