On Tue, Aug 26, 2008 at 9:12 PM, Brian Blais <[EMAIL PROTECTED]> wrote:
> 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

This happens when the process does not have permission to write to
that database file.
Look at the permissions of my.db.

--~--~---------~--~----~------------~-------~--~----~
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