On attempt to visit http://localhost/meth/admin/ I get the following in the
Apache error log:

[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] mod_wsgi
(pid=2655): Exception occurred processing WSGI script
'/var/www/meth/apache/django.wsgi'.
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] Traceback (most
recent call last):
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 245,
in __call__
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     response =
middleware_method(request, response)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/contrib/sessions/middleware.py",
line 36, in process_response
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]
request.session.save()
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/contrib/sessions/backends/db.py",
line 58, in save
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]
obj.save(force_insert=must_create)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/base.py", line 410, in
save
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]
self.save_base(force_insert=force_insert, force_update=force_update)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/base.py", line 495, in
save_base
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     result =
manager._insert(values, return_id=update_pk)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 177, in
_insert
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     return
insert_query(self.model, values, **kwargs)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/query.py", line 1087, in
insert_query
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     return
query.execute_sql(return_id)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/sql/subqueries.py", line
320, in execute_sql
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     cursor =
super(InsertQuery, self).execute_sql(None)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/models/sql/query.py", line 2369,
in execute_sql
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]
cursor.execute(sql, params)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/backends/util.py", line 19, in
execute
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     return
self.cursor.execute(sql, params)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]   File
"/usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py", line
193, in execute
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32]     return
Database.Cursor.execute(self, query, params)
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] OperationalError:
attempt to write a readonly database

2009/10/28 Christophe Pettus <x...@thebuild.com>

>
>
> On Oct 28, 2009, at 3:44 PM, Piotr Górski wrote:
> > When I try to go to admin site, I get 500 internal
> > server error (admin site works perfectly well on development server).
>
> Is there anything interesting in the Apache error log?
> --
> -- Christophe Pettus
>    x...@thebuild.com
>
>
> >
>

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

Reply via email to