On Mon, Oct 5, 2009 at 12:17 PM, bax...@gretschpages.com < mail.bax...@gmail.com> wrote:
> > In my server logs, I'm seeing things like this: > [Mon Oct 05 11:00:01 2009] [error] Exception exceptions.TypeError: > "'NoneType' object is not callable" in <bound method Cursor.__del__ of > <MySQLdb.cursors.Cursor object at 0x99b006c>> ignored > > > But I'm NOT getting an error report emailed to me for anything like > this. I'm getting emails, but nothing like this, and nothing at 11:00 > today. > > Is there some place this exception could be raised before the email > reporting would kick in? > > Notice the last word of the message says "ignored". This is a message written by Python to stderr in cases where it has encountered an exception but it cannot raise an exception. The comment for the routine used to write messages like this is: /* Call when an exception has occurred but there is no way for Python to handle it. Examples: exception in __del__ or during GC. */ All that happens in this situation is that Python writes the message to stderr, and things go on. There is no way for any other code to know a problem has occurred so there is no other error reporting done. > And more importantly, how do I track down the code that's raising the > error? > It's a MySQLdb method that is triggering the message, so I'd dig into its code/tracker/forums to see if it's an already-reported problem in that piece of code. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---