Message4123
On Mon, Aug 23, 2010 at 08:12:58AM +0000, Benni Bärmann wrote:
>
> New submission from Benni Bärmann <benni@attac.de>:
>
> If i send a multi-part-message to the mailgw, i just got an error back:
>
> ---------------------------------------------------------------
> Es gab ein Problem mit Ihrer Nachricht:
> Expected list, got <type 'str'>
Did you do any changes to your roundup installation?
This looks to me like you changed/added a detector that now throws an
AttributeError exception with the error message you've given.
For historical reasons, roundup treats AttributeError in a detector like
a Reject -- in the early days there was no separate Reject Exception in
detectors. (Richard: Maybe we should fix this, it's hard to debug detector
errors... and I don't think there are many old detectors out there now)
You might want to look around line 1387 of roundup/mailgw.py and print
out the full exception there to debug the problem. Please let us know if
the problem was in your own code or if it turns out to be a problem in
roundup core. In the latter case, please attach the full traceback.
You can print it by calling format_exc from the traceback module, e.g.
(completely untested):
at to of file:
from traceback import format_exc
around line 1387:
except (TypeError, IndexError, ValueError, exceptions.Reject), message:
exc = format_exc ()
raise MailUsageError, _("""
There was a problem with the message you sent:
%(message)s\n%(exc)s
""") % locals()
Thanks, Ralf |
|
Date |
User |
Action |
Args |
2010-08-23 08:40:59 | schlatterbeck | set | recipients:
+ schlatterbeck, benni |
2010-08-23 08:40:59 | schlatterbeck | link | issue2550667 messages |
2010-08-23 08:40:59 | schlatterbeck | create | |
|