Roundup Tracker - Issues

Issue 2550685

classification
wired behaviour in mail gateway
Type: Severity: normal
Components: Mail interface Versions: 1.4
process
Status: closed works for me
:
: schlatterbeck : benni, schlatterbeck
Priority: :

Created on 2010-11-23 17:04 by benni, last changed 2012-10-10 14:24 by admin.

Files
File name Uploaded Description Edit Remove
mail_fehlerprod_roundup benni, 2010-11-23 17:04 error producing mail
Messages
msg4211 Author: [hidden] (benni) Date: 2010-11-23 17:04
Hi roundup-team,

The attached Mail produces the follwing error mail with roundup 1.4.16:


-----------------------------------------------
There was a problem with the message you sent:
   sequence item 0: expected string, NoneType found



Mail Gateway Help
=================
Incoming messages are examined for multiple parts:
. In a multipart/mixed message or part, each subpart is extracted and
[more deleted...]

----------------------------------

Any hints? Thanks!

Regards, Benni
msg4464 Author: [hidden] (schlatterbeck) Date: 2012-01-04 18:17
I cannot reproduce this with current roundup head.
The problem looks like a bug in a custom detector. To further debug this
(if the problem persists) you can apply the following patch to
roundup/mailgw.py to get a traceback in the error mail -- feel free to
reopen the issue if you get a traceback from code in roundup core not in
one of the detectors:

--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
@@ -1158,7 +1158,7 @@ Mail message was rejected by a detector.
             raise MailUsageError, _("""
 There was a problem with the message you sent:
    %(message)s
-""") % locals()
+""") % locals() + '\n' + traceback.format_exc ()
 
         return self.nodeid
History
Date User Action Args
2012-01-04 18:17:32schlatterbecksetstatus: new -> closed
assignee: schlatterbeck
resolution: works for me
messages: + msg4464
nosy: + schlatterbeck
2010-11-23 17:04:08bennicreate