Tracebacks with gevent and set_wait_callback go "missing"

From: Oliver Beattie <oliver(at)obeattie(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: Tracebacks with gevent and set_wait_callback go "missing"
Date: 2012-09-06 15:09:24
Message-ID: CALKtjUNfG0dqCfoQvnUBTW_vZp0ZYVY=q_R=-JRYv2zNLRadcw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Hi all,

I'm trying to debug an issue I'm seeing in production, whereby
traceback information about an exception is missing. This is
incredibly frustrating as it makes it extremely difficult to track
down errors. This has been observed before, as I found a ticket on the
Gunicorn GitHub site relating to this:

https://github.com/benoitc/gunicorn/issues/214

Specifically, what happens is when an exception is raised, the
traceback part of sys.exc_info() is None. To me, it seems the most
likely suspect is psycopg2, since this is going into C-land (though
obviously not the only possible explanation). I was wondering if
anyone on this else knows of this issue, or anything that may cause
it?

Many thanks!

– Oliver

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2012-09-06 15:37:10 Re: Tracebacks with gevent and set_wait_callback go "missing"
Previous Message Matthieu Rigal 2012-08-24 12:16:00 Problems between psycopg2 2.4.5 and OS X 10.8 Mountain Lion on libssl.dylib and libcrypto.dylib