[Mailman-Users] Upgrade from 2.0.x to 2.1.1-- incorrect paddingerror.

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Mon Feb 24 02:41:14 CET 2003


Oops, I forgot to add pointers.
http://sourceforge.net/tracker/index.php?func=detail&aid=670167&group_id=103&atid=300103
http://sourceforge.net/tracker/download.php?group_id=103&atid=300103&file_id=43266&aid=670167

Tokio Kikuchi wrote:
> I have now uploaded a new patch to fix this error.
> Please backout the last patch by mv Scrubber.py.orig Scrubber.py
> and apply new patch like this
> % patch < Scrubber.py.patch.030224.txt
> in <source>/Mailman/Handlers
> Then, make install and restart mailman qrunners.
> 
> Tokio
> 
> sumeet wrote:
> 
>> i clearly don't know what i'm doing. I did a patch -p1 < yourfile on
>> /tmp/mailman.2.1.1/Mailman/Handlers/Scrubber.py when it asked me for 
>> which
>> file and then recompiled. Can you tell me exactly how to apply this 
>> patch?
>> Thanks alot. I then got:
>> [root at mailman mailman-2.1.1]# python -S /list/cron/senddigests
>> Traceback (most recent call last):
>>   File "/list/cron/senddigests", line 94, in ?
>>     main()
>>   File "/list/cron/senddigests", line 86, in main
>>     mlist.send_digest_now()
>>   File "/list/Mailman/Digester.py", line 60, in send_digest_now
>>     ToDigest.send_digests(self, mboxfp)
>>   File "/list/Mailman/Handlers/ToDigest.py", line 123, in send_digests
>>     send_i18n_digests(mlist, mboxfp)
>>   File "/list/Mailman/Handlers/ToDigest.py", line 295, in 
>> send_i18n_digests
>>     msg = scrubber(mlist, msg)
>>   File "/list/Mailman/Handlers/Scrubber.py", line 320, in process
>>     if not t.endswith('\n'):
>> AttributeError: 'NoneType' object has no attribute 'endswith'
> 
> 
> 
> 




More information about the Mailman-Users mailing list