[Mailman-Users] shunting messages

Noah admin2 at enabled.com
Sun Oct 8 03:53:32 CEST 2006


Take a look at this.  I ran bin/unshunt

now i have a ton of 'SHUNT' errors in the /usr/local/mailman/logs/error


so it looks like there are some python errors here.  please look below.  
I am not sure where to go from here.

# pkg_info | grep python
python-2.3.5_1      An interpreted object-oriented programming language
python-2.4.3        An interpreted object-oriented programming language
# pkg_info | grep mailman
mailman-2.1.9       A mailing list manager (MLM) with a user-friendly 
web front
# python -V
Python 2.4.3


---- snip ----

Oct 07 18:26:43 2006 (65294) SHUNTING: 
1160195626.2888789+de6ec73e1418406952d796443
2212bd9d3bac7a5
Oct 07 18:26:44 2006 (65294) Uncaught runner exception: 'str' object has 
no attribu
te 'get_sender'
Oct 07 18:26:44 2006 (65294) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 162, in _onefile
    sender = msg.get_sender()
AttributeError: 'str' object has no attribute 'get_sender'

Oct 07 18:26:44 2006 (65294) SHUNTING: 
1160195626.8973761+c430d72c38c000768d9a697a6
bc8379cbc23bbe7
Oct 07 18:26:45 2006 (65294) Uncaught runner exception: 'ascii' codec 
can't encode
character u'\xe7' in position 4: ordinal not in range(128)
Oct 07 18:26:45 2006 (65294) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130, 
in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153, 
in _dopipeli
ne
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/SpamDetect.py", line 111, in 
process
    g.flatten(p)
  File "/usr/local/mailman/pythonlib/email/Generator.py", line 101, in 
flatten
    self._write(msg)
  File "/usr/local/mailman/pythonlib/email/Generator.py", line 129, in 
_write
    self._dispatch(msg)
  File "/usr/local/mailman/pythonlib/email/Generator.py", line 155, in 
_dispatch
    meth(msg)
  File "/usr/local/mailman/pythonlib/email/Generator.py", line 198, in 
_handle_text
    self._fp.write(payload)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in 
position 4: ord
inal not in range(128)

Oct 07 18:26:45 2006 (65294) SHUNTING: 
1160195627.8984029+f529140d829e102ddbe3f700f
0077af52c6a98dd
Oct 07 18:26:45 2006 (65294) Uncaught runner exception: 'str' object has 
no attribu
te 'get_sender'
Oct 07 18:26:45 2006 (65294) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 162, in _onefile
    sender = msg.get_sender()
AttributeError: 'str' object has no attribute 'get_sender'






More information about the Mailman-Users mailing list