[Mailman-Developers] get_sender ? + .get ?

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Sat Oct 16 13:37:16 CEST 2004


Are you sure you checked out Release_2_1-maint ? Command should be
% cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/mailman\
   co -r  Release_2_1-maint mailman

Fil wrote:

>>I've just upgraded my system to CVS, and I get this:
>>
>>Oct 16 11:26:36 2004 (19525) Uncaught runner exception: 'str' object has no
>>attribute 'get_sender'
>>Oct 16 11:26:36 2004 (19525) Traceback (most recent call last):
>>  File "/var/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>>    self._onefile(msg, msgdata)
>>  File "/var/local/mailman/Mailman/Queue/Runner.py", line 159, in _onefile
>>    sender = msg.get_sender()
>>AttributeError: 'str' object has no attribute 'get_sender'
> 
> 
> 
> I have corrected this by removeing the offending line (which selects the
> user language)... and now Mailman is processing old bounce files and I get
> lots of the following:
> 
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/var/local/mailman/Mailman/Queue/BounceRunner.py", line 182, in
> _dispose
>     if msg.get('to', '') == Utils.get_site_email(extra='owner'):
> AttributeError: 'str' object has no attribute 'get'
> 
> -- Fil
> 

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/



More information about the Mailman-Developers mailing list