From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Fri, 09 Nov 2007 11:13:45 -0800 Subject: [sup-talk] 'undefined method `longname' for nil:NilClass' (error type NoMethodError) In-Reply-To: <47329B5D.4090907@gslab.com> References: <473186CB.8090307@gslab.com> <1194467915-sup-5870@south> <47329B5D.4090907@gslab.com> Message-ID: <1194635480-sup-4853@south> Excerpts from Manish Sapariya's message of Wed Nov 07 21:15:09 -0800 2007: > Thanks for the fix. However looks like I have some weird mail in my > box. The body and the charset both are nil. Is there any way I can > backtrack the offending message and find out whats the character set > and encoding used for that message? You have two options: insert some puts or logging statements in the code and try and figure out what the message id was (which then you can use to locate the message in the source), or convert the source into an mbox file (if it isn't already) and divide and conquer it until you find the offending message. Probably the first one is easier at this point. -- William