It might be due to threading, every once in a while I can pull up the
admin page. It's pretty random thought.

On May 15, 8:24 pm, Sean Brant <brant.s...@gmail.com> wrote:
> Im running trunk rev: 10790 with Postgres 8.3 and when I access the
> admin area or when using login_required i get this error:
>
> Traceback (most recent call last):
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/core/
> servers/basehttp.py", line 278, in run
>     self.result = application(self.environ, self.start_response)
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/core/
> servers/basehttp.py", line 635, in __call__
>     return self.application(environ, start_response)
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/core/
> handlers/wsgi.py", line 245, in __call__
>     response = middleware_method(request, response)
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/contrib/
> sessions/middleware.py", line 36, in process_response
>     request.session.save()
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/contrib/
> sessions/backends/cached_db.py", line 28, in save
>     super(SessionStore, self).save(must_create)
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/contrib/
> sessions/backends/db.py", line 56, in save
>     sid = transaction.savepoint()
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/db/
> transaction.py", line 190, in savepoint
>     connection._savepoint(sid)
>
>   File "/Users/seanbrant/webapps/django/lib/python2.5/django/db/
> backends/__init__.py", line 62, in _savepoint
>     self.connection.cursor().execute(self.ops.savepoint_create_sql
> (sid))
>
> AttributeError: 'NoneType' object has no attribute 'cursor'
>
> running syncdb works fine and updates my database.
--~--~---------~--~----~------------~-------~--~----~
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