{"comment":{"created_at":"2011-10-19T13:47:43Z","body":"The bug is still present. Jason's test project doesn't exhibit the bug because you have to connect to the database in the view, which will call psycopg_gevent's code. I've recreated a test project: http://share.alwaysdata.com/gunicorn_bug_214.tar.gz. Here is my full shell session, from creating the virtualenv to getting the bug (on my Ubuntu 11.04):\r\n\r\nhttp://www.friendpaste.com/4tRW1ergfFWnUeKQXGSVRr\r\n\r\nNote that you'll have to edit the settings.py to enter your PostgreSQL database settings. The database won't be touched at all (there are no models in the project).","updated_at":"2011-10-19T13:47:43Z","url":"https://api.github.com/repos/benoitc/gunicorn/issues/comments/2455845","id":2455845,"user":{"avatar_url":"https://secure.gravatar.com/avatar/85b397a16bbe5979f0cb2f39033398eb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"85b397a16bbe5979f0cb2f39033398eb","url":"https://api.github.com/users/cbay","id":725049,"login":"cbay"}},"action":"created","issue":{"number":214,"created_at":"2011-06-01T14:42:09Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I migrated my application from Apache/mod_fcgid to gunicorn 0.12.2 with gevent as worker class. I'm using Django 1.2.5.\r\n\r\nMy email tracebacks are now received truncated, for instance:\r\n\r\n    DoesNotExist: Transaction matching query does not exist.\r\n    \r\n    \r\n    <WSGIRequest\r\n    GET:<QueryDict: {}>,\r\n    POST:<QueryDict: {}>,\r\n\r\n    [...]\r\n\r\nThere's no stack trace, only the exception message. It used to work fine with Apache/mod_fcgid (I had a complete stack trace.)\r\n\r\nI'll try to reproduce it with a minimal application. Everything else is working fine, by the way.","comments":8,"title":"Django email tracebacks are truncated (no stack trace)","updated_at":"2011-10-19T13:47:43Z","url":"https://api.github.com/repos/benoitc/gunicorn/issues/214","id":984820,"assignee":null,"milestone":null,"closed_at":"2011-08-22T13:09:57Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/85b397a16bbe5979f0cb2f39033398eb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"85b397a16bbe5979f0cb2f39033398eb","url":"https://api.github.com/users/cbay","id":725049,"login":"cbay"},"html_url":"https://github.com/benoitc/gunicorn/issues/214","labels":[],"state":"closed"},"legacy":{"issue_id":984820,"comment_id":2455845}}