[Mailman-Users] RE;Cron/senddigests bug

Dan Phillips dhphllps at memphis.edu
Mon Feb 3 01:06:46 CET 2003

Tried that and it reported no problems. The problem definitely seems to 
be in digest.mbox, although I can't see anything wrong. I renamed it 
and sent a test message to create a new one, the ran cron/senddigests 
-l, and it went out fine. when I moved the original mbox back it 
generated the same error. I also ran bin/cleanarch on it and it 
reported no problems and the correct number of messages.

Where's the best documentation on the structure of an mbox file?


On Sunday, February 2, 2003, at 06:00  PM, Jon Carnes wrote:

> Run a check_db on the offending list and see if the problem lays in the
> Database for the list...
> On Sun, 2003-02-02 at 17:54, Dan Phillips wrote:
>> Any idea where this error is coming from? This error is coming from
>> only one list; a manual running of senddigests -l on other lists
>> functions perfectly.  /lists/problemlist/digest.mbox appears to be
>> fine. Any ideas? anyone? what else should I be checking?
>>> Traceback (most recent call last):
>>>   File "/Users/mailman/cron/senddigests", line 94, in ?
>>>     main()
>>>   File "/Users/mailman/cron/senddigests", line 86, in main
>>>     mlist.send_digest_now()
>>>   File "/Users/mailman/Mailman/Digester.py", line 60, in
>>> send_digest_now
>>>     ToDigest.send_digests(self, mboxfp)
>>>   File "/Users/mailman/Mailman/Handlers/ToDigest.py", line 129, in
>>> send_digests
>>>     send_i18n_digests(mlist, mboxfp)
>>>   File "/Users/mailman/Mailman/Handlers/ToDigest.py", line 290, in
>>> send_i18n_digests
>>>     g(msg, unixfrom=0)
>>>   File "/Users/mailman/pythonlib/email/Generator.py", line 100, in
>>> flatten
>>>     self._write(msg)
>>>   File "/Users/mailman/pythonlib/email/Generator.py", line 128, in
>>> _write
>>>     self._dispatch(msg)
>>>   File "/Users/mailman/pythonlib/email/Generator.py", line 154, in
>>> _dispatch
>>>     meth(msg)
>>>   File "/Users/mailman/pythonlib/email/Generator.py", line 212, in
>>> _handle_text
>>>     raise TypeError, 'string payload expected: %s' % type(payload)
>>> TypeError: string payload expected: <type 'list'>

More information about the Mailman-Users mailing list