Hello,

I have an sqlite database, which I access in webpy 0.3 like:

db = web.database(dbn='sqlite',db='my.db')

and then I want to update the values of some things in the database  
like:

db.update('mytable',where="id=1",label='hello')

but I get an error like:

attempt to write a readonly database


Is this an sqlite limitation, or am I doing something wrong?  I don't  
recall ever setting whether it should be read-only or read/write, so  
I am not sure what is going on.



                thanks,

                        Brian Blais

--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to