[Mailman-Developers] Re: Subject's being mangled (I'm extendeding the length of thissubject to see how it wraps)

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Feb 18 16:20:50 EST 2003


David,

Will you please send me the offending subject line.
As to the other case, the problem you stated did not reproduce.

> Subject:
>  [testlist]  RE: FTP from QNTC prepends "?"
>  to file name

Tokio

David Gibbs wrote:
> Ack, this also happened ...
> 
> ==> error <==
> Feb 16 07:55:49 2003 (12529) Uncaught runner exception: string index out of
> range
> Feb 16 07:55:49 2003 (12529) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, 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/ToDigest.py", line 71, in
> process
>     g.flatten(msg, unixfrom=1)
>   File "/usr/local/mailman/pythonlib/email/Generator.py", line 100, in
> flatten
>     self._write(msg)
>   File "/usr/local/mailman/pythonlib/email/Generator.py", line 135, in
> _write
>     self._write_headers(msg)
>   File "/usr/local/mailman/pythonlib/email/Generator.py", line 165, in
> _write_headers
>     text = '%s: %s' % (h, v)
>   File "/usr/local/mailman/pythonlib/email/Header.py", line 183, in __str__
>     return self.encode()
>   File "/usr/local/mailman/pythonlib/email/Header.py", line 480, in encode
>     return self._encode_chunks(newchunks)
>   File "/usr/local/mailman/pythonlib/email/Header.py", line 447, in
> _encode_chunks
>     if len(chunks) >0 and chunks[-1][-1] in ' \t':
> IndexError: string index out of range
> "David Gibbs" <david at midrange.com> wrote in message
> news:b2o3mm$mur$1 at main.gmane.org...
> 




More information about the Mailman-Developers mailing list