Is this the web based shell?

On Dec 14, 5:52 pm, Jake <j2g...@gmail.com> wrote:
> I'm reading through the web2py book (second ed), and i've run into an
> immediate problem using the shell:
>
> ===================================================
> web2py Shell Version 1.74.1 (2009-12-14 10:05:21)
> In[0]:  db = DAL('sqlite://storage.db')
>
> Out[0]:
>
> In[1]:  db.define_table('person', Field('name'))
>
> Out[1]:
>
> Traceback (most recent call last):
>   File "<input>", line 1, in <module>
>   File "gluon/sql.py", line 1247, in define_table
>   File "gluon/sql.py", line 1663, in _create
>   File "gluon/sql.py", line 887, in <lambda>
> ProgrammingError: Cannot operate on a closed database.
> ===================================================
>
> I checked the mailing list, and i see no previous reference to this
> problem.
>
> Thanks a lot!
> Jake

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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