[Mailman-Users] Help: 'str' object has no attribute 'get_sender'
Mark Sapiro
msapiro at value.net
Thu Sep 28 21:52:34 CEST 2006
aaron wrote:
>
>OK, with that change, now I am getting the following in /var/logs/error:
>
>Sep 28 11:13:02 2006 (51047) SHUNTING:
>1159419548.4104459+7be8d8ba533998b5017684209212ea3b97f69527
>Sep 28 11:13:02 2006 (51047) Uncaught runner exception: 'ascii' codec can't
>encode characters in position 0-2: ordinal not in range(128)
>Sep 28 11:13:02 2006 (51047) 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
>_dopipeline
> 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 characters in position 0-2:
>ordinal not in range(128)
Things appear to be very strange. Were these errors in response to
unshunting or newly arrived posts?
Take a look at some of these qfiles/shunt/*.pck entries with
bin/show_qfiles and bin/dumpdb. Do they seem to contain valid messages
or are the messages somehow garbled with non-ascii characters?
You may want to start over by running ./config.status and make install
in the original unpack directory.
I don't have any good ideas about this.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list