2009/1/17 gert <[email protected]>:
>
> On Jan 16, 2:45 am, gert <[email protected]> wrote:
>> it does work never mind :)
>
> Nope back to Graham mode
>
> [Sat Jan 17 01:58:34 2009] [error] ("INSERT INTO users (uid) VALUES
> ('test')", ())
> [Sat Jan 17 01:58:34 2009] [error] unable to open database file
>
> select statements work but non of the write statements work so my
> database file is basically read only in mod_wsgi aldo it has chmod 777
> permission.
>
> PS is this the new python3.0 create a list way
> s=('test',)

Get it working in Python 3.0 command line.

If you are using sqllite, the directory also has to be writable by
user WSGI application runs as.

Use daemon mode and run it as the user who has appropriate access to
directory rather than making stuff world writable.

Graham

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

Reply via email to