Hello,

I'm testing gunicorn in the server, and I get this error in every
request:

Traceback (most recent call last):
  File "project/env/lib/python2.6/site-packages/gunicorn/workers/
async.py", line 62, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "project/env/lib/python2.6/site-packages/django/contrib/
staticfiles/handlers.py", line 68, in __call__
    return self.application(environ, start_response)
  File "project/env/lib/python2.6/site-packages/django/core/handlers/
wsgi.py", line 273, in __call__
    response = self.get_response(request)
  File "project/env/lib/python2.6/site-packages/django/core/handlers/
base.py", line 168, in get_response
    receivers =
signals.got_request_exception.send(sender=self.__class__,
request=request)
  File "project/env/lib/python2.6/site-packages/django/dispatch/
dispatcher.py", line 172, in send
    response = receiver(signal=self, sender=sender, **named)
  File "project/env/lib/python2.6/site-packages/django/db/
__init__.py", line 101, in _rollback_on_exception
    transaction.rollback_unless_managed(using=conn)
  File "project/env/lib/python2.6/site-packages/django/db/
transaction.py", line 133, in rollback_unless_managed
    connection.rollback_unless_managed()
  File "project/env/lib/python2.6/site-packages/django/db/backends/
__init__.py", line 193, in rollback_unless_managed
    self._rollback()
  File "project/env/lib/python2.6/site-packages/django/db/backends/
__init__.py", line 50, in _rollback
    return self.connection.rollback()

Is working ok with mod_wsgi.

I'm using Debian 6.0 with Django 1.3, postgis for geodjango, the
latest stable version of gunicorn 0.12.1 and gevent. I've been trying
with a sync worker but I got the same error.

I have no idea what's wrong.

Any ideas?

Thank you!

Adrian

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