Can you please try the latest one that I just posted?

On May 6, 6:23 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote:
> Hi
>
> from the www shell:
>
> >>> rows=db().select(db.mytable.ALL)
>
> Traceback (most recent call last):
>   File "<input>", line 1, in <module>
>   File "/web2py/web2py-devel/gluon/sql.py", line 1964, in select
>     r = response(query)
>   File "/web2py/web2py-devel/gluon/sql.py", line 1959, in response
>     self._db._execute(query)
>   File "/web2py/web2py-devel/gluon/sql.py", line 654, in <lambda>
>     self._execute = lambda *a, **b: self._cursor.execute(*a,**b)
> ProgrammingError: Cannot operate on a closed database.
>
> I saw this working few minutes ago.. now it is not. I don't see why. I
> logged out and logged in, error was still there. Than I did:
>
> python web2py.py -S appname -M from my console.
>
> Checked that everything there is ok and then went back to www shell.
> That fixed the problem. Everything was working again. So I report this
> behavior in case it is a hidden bug.
>
> --
> Kuba
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to