[Mailman-Developers] get_sender ? + .get ?

Fil fil at rezo.net
Sat Oct 16 11:44:31 CEST 2004


> 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



More information about the Mailman-Developers mailing list