Bug#384016: I have this problem too, and it's caused by python 2.4.

2006-09-11 Thread Mário Filipe
Hi Joey

Dom, 2006-09-10 às 13:32 -0400, Joey Hess escreveu:
 Here's one way to avoid this problem:
 
 wren% python2.3 /usr/lib/mailman/cron/senddigests
 wren% echo $?
 0

This does work...

 So for a temporary workaround, I've edited the hashbang in that file
 to force the use of python2.3..

Where and how did you change it? I'm sorry but as far as Python is
concerned all I know is that it is a OO language.

Thanks
-- 
Mário Filipe
Serviço de Computação da Universidade de Évora
[EMAIL PROTECTED]
http://neptuno.sc.uevora.pt/~mjnf 




Bug#384016: I have this problem too, and it's caused by python 2.4.

2006-09-10 Thread Joey Hess
wren% /usr/lib/mailman/cron/senddigests
Traceback (most recent call last):
  File /usr/lib/mailman/cron/senddigests, line 94, in ?
main()
  File /usr/lib/mailman/cron/senddigests, line 86, in main
mlist.send_digest_now()
  File /var/lib/mailman/Mailman/Digester.py, line 60, in send_digest_now
ToDigest.send_digests(self, mboxfp)
  File /var/lib/mailman/Mailman/Handlers/ToDigest.py, line 142, in 
send_digests
send_i18n_digests(mlist, mboxfp)
  File /var/lib/mailman/Mailman/Handlers/ToDigest.py, line 324, in 
send_i18n_digests
msg = scrubber(mlist, msg)
  File /var/lib/mailman/Mailman/Handlers/Scrubber.py, line 393, in process
replace_payload_by_text(msg, sep.join(text), charset)
  File /var/lib/mailman/Mailman/Handlers/Scrubber.py, line 175, in 
replace_payload_by_text
msg.set_payload(text, charset)
  File email/Message.py, line 218, in set_payload
  File email/Message.py, line 242, in set_charset
TypeError: iso-8859-1

Here's one way to avoid this problem:

wren% python2.3 /usr/lib/mailman/cron/senddigests
wren% echo $?
0

So for a temporary workaround, I've edited the hashbang in that file
to force the use of python2.3..

-- 
see shy jo


signature.asc
Description: Digital signature