python - Django and uwsgi not playing nicely (tupleobject: bad argument to internal function) -
a few days ago, out of blue started getting lots of bad gateway errors django application. in logs i'm intermittently seeing these lines:
traceback (most recent call last): file "/var/www/site/environ/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 240, in __call__ django.conf import settings systemerror: ../objects/tupleobject.c:142: bad argument internal function site [pid: 30075|app: 0|req: 133/415] 65.55.215.78 () {38 vars in 505 bytes} [mon may 20 03:20:45 2013] /robots.txt => generated 0 bytes in 2 msecs (http/1.1 500) 0 headers in 0 bytes (0 switches on core 0)
i can't seem find online who's diagnosed cause of this. people fed , move different wsgi server.
has else here seen error or know causes it?
edit: version
$ uwsgi --version uwsgi 1.0.3-debian
acording @roberto, "ancient" version problem.
it not easy understand going on without details (like uwsgi config , python version or list of third party modules used in django apps). way sure not using ancient (read: broken) uwsgi version < 1.2.8 ? kind of errors happens on reference count bugs. threading problems too, paste config :)
Comments
Post a Comment