Re: Disk I/O Error

2011-11-02 Thread m1chael
I would also check the disk space

On Tue, Nov 1, 2011 at 7:23 AM, Jani Tiainen <rede...@gmail.com> wrote:
> On 1.11.2011 8:23, Nicole Button wrote:
>>
>> I'm getting a DatabaseError, looking like this:
>>
>> Django Version:         1.3
>> Exception Type:         DatabaseError
>> Exception Value:        disk I/O error
>> Exception Location:     /usr/local/lib/python2.6/dist-packages/django/db/
>> backends/sqlite3/base.py in execute, line 234
>>
>> whenever I try to read or write to any of the databases associated
>> with any of the websites on one of our servers. The fact that all
>> these websites work locally, but not in their live versions seems to
>> suggest to me that something has gone wrong on the server, rather than
>> with django, but I thought I'd better ask and see if any one has had
>> any similar issues. I'm running python 2.6.6, django 1.3 and they're
>> on a Linux server.
>>
>
> My wild guess is that you don't have permissions to write in db directory...
> SQLite (if you're using it) requires read and write rights to directory
> where actual database resides.
>
> --
>
> Jani Tiainen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Disk I/O Error

2011-11-01 Thread Jani Tiainen

On 1.11.2011 8:23, Nicole Button wrote:

I'm getting a DatabaseError, looking like this:

Django Version: 1.3
Exception Type: DatabaseError
Exception Value:disk I/O error
Exception Location: /usr/local/lib/python2.6/dist-packages/django/db/
backends/sqlite3/base.py in execute, line 234

whenever I try to read or write to any of the databases associated
with any of the websites on one of our servers. The fact that all
these websites work locally, but not in their live versions seems to
suggest to me that something has gone wrong on the server, rather than
with django, but I thought I'd better ask and see if any one has had
any similar issues. I'm running python 2.6.6, django 1.3 and they're
on a Linux server.



My wild guess is that you don't have permissions to write in db 
directory... SQLite (if you're using it) requires read and write rights 
to directory where actual database resides.


--

Jani Tiainen

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Disk I/O Error

2011-11-01 Thread Nicole Button
I'm getting a DatabaseError, looking like this:

Django Version: 1.3
Exception Type: DatabaseError
Exception Value:disk I/O error
Exception Location: /usr/local/lib/python2.6/dist-packages/django/db/
backends/sqlite3/base.py in execute, line 234

whenever I try to read or write to any of the databases associated
with any of the websites on one of our servers. The fact that all
these websites work locally, but not in their live versions seems to
suggest to me that something has gone wrong on the server, rather than
with django, but I thought I'd better ask and see if any one has had
any similar issues. I'm running python 2.6.6, django 1.3 and they're
on a Linux server.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.