Resurrecting this old thread about these errors spamming in the error log all 
the time:

Exception KeyError: KeyError(47435225036128,) in <module 'threading' from 
'/usr/local/lib/python2.6/threading.pyc'> ignored
Exception KeyError: KeyError(47435225036128,) in <module 'threading' from 
'/usr/local/lib/python2.6/threading.pyc'> ignored
Exception KeyError: KeyError(47435225036128,) in <module 'threading' from 
'/usr/local/lib/python2.6/threading.pyc'> ignored

Is your suggested fix included in the official mod_wsgi release yet?
Or any other fix that would address this issue?  Or any updates to Python 
itself that addresses this?

Since this was apparently a "harmless" (but very annoying) error, we have been 
living with it...

Thank you.

dk


On Apr 16, 2010, at 5:35 AM, Graham Dumpleton wrote:

> If keen to get rid of the KeyError message in logs, add the following
> two lines just before the call to Py_Finalize() in mod_wsgi.c code.
> 
>    if (!PyImport_AddModule("dummy_threading"))
>        PyErr_Clear();
> 
> Note that the error in the logs is harmless. These two lines just get
> rid of it by devious means rather than adding a run time check as to
> whether Python 2.6.5+ or Python 3.1.2+ is being used.
> 
> Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to