Do you have a shell open with a transaction uncommitted? Or perhaps another 
instance of web2py that is stuck in a commit? Try kill all your pyhton 
instances.


On Wednesday, 6 August 2014 20:57:38 UTC-5, Ali Kayes wrote:
>
> So, in my db.py, I defined a table as such:
>
> db.define_table('dummy',
>             Field('name'),
>             Field('category'),
>             Field('number'))
>
> But how would I add my own values in that table? It seems like if I do 
> something like:
>
> db.dummy.insert(name='jon',category='cat',number='2')
>
> I get a "Database is locked" error. So, how can I have my own manual 
> table? I am using SQLite.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to