[Mailman-Users] digest delivery problem
Dan Phillips
dhphllps at memphis.edu
Mon Jun 9 21:04:18 CEST 2003
I've Googled this and found several refences to the error message but
none of them seem to be caused by this situation. One of my lists has
had trouble sending the digest the last few days. It sends it to all
but 31 subscribers, then leaves this in the error log:
Jun 09 12:00:02 2003 (460) Traceback (most recent call last):
File "/users/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
self._onefile(msg, msgdata)
File "/users/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/users/mailman/Mailman/Queue/OutgoingRunner.py", line 72, in
_dispose
self._func(mlist, msg, msgdata)
File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 146, in
process
deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 332, in
verpdeliver
bulkdeliver(mlist, msgcopy, msgdata, envsender, failures, conn)
File "/users/mailman/Mailman/Handlers/SMTPDirect.py", line 345, in
bulkdeliver
msgtext = msg.as_string()
File "/users/mailman/pythonlib/email/Message.py", line 109, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 230, in
_handle_multipart
g.flatten(part, unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 230, in
_handle_multipart
g.flatten(part, unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 297, in
_handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 199, in
_handle_text
raise TypeError, 'string payload expected: %s' % type(payload)
TypeError: string payload expected: <type 'list'>
Jun 09 12:00:02 2003 (460) SHUNTING:
1055178001.113483+4cf795ff1bac2bb920026ee3d9b2d9eec506dea8
=============
The other 330 members get their digest fine. I copied the digest.mbox
to a test list and sent it with cron/senddigests and it worked fine.
The file in qfiles/shunt is:
=============
bin/dumpdb 1055178001.113483+6ef95bc566ff9e38083c23c3a2cb515f842bfb73.db
{ 'isdigest': 1,
'lang': 'en',
'listname': 'horn',
'original_sender': 'horn-request at xxxx.xxxxxx.xxx',
'personalize': 1,
'pipeline': [],
'received_time': 1055178001.113483,
'recips': [ 'claude.benson at xxxxxx.xxx',
'blackbort at xxxxx.xx',
-=--snip--=- list of subscribers
'william.oliver at xxxxx.xx.xxx'],
'undelivered': [ ['claude.benson at xxxxx.xxx'],
['blackbort at xxxxx.xx'],
-=--snip--=- same list as before
['william.oliver at xxxxx.xx.xxx']],
'verp': 1,
'version': 3,
'whichq': '/users/mailman/qfiles/out'}
=========
incidentally, trying to run dumpdb on the .pck file produces another
error message:
=======
[music:~/qfiles/shunt] mailman% dumpdb -p
1055178001.113483+6ef95bc566ff9e38083c23c3a2cb515f842bfb73.pck
Traceback (most recent call last):
File "/Users/mailman/bin/dumpdb", line 134, in ?
msg = main()
File "/Users/mailman/bin/dumpdb", line 128, in main
pp.pprint(m)
File "/usr/lib/python2.2/pprint.py", line 110, in pprint
self.__stream.write(self.pformat(object) + "\n")
File "/usr/lib/python2.2/pprint.py", line 114, in pformat
self.__format(object, sio, 0, 0, {}, 0)
File "/usr/lib/python2.2/pprint.py", line 136, in __format
rep = self.__repr(object, context, level - 1)
File "/usr/lib/python2.2/pprint.py", line 200, in __repr
self.__depth, level)
File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
rep = `object`
File "/users/mailman/Mailman/Message.py", line 50, in __repr__
return self.__str__()
File "/users/mailman/pythonlib/email/Message.py", line 99, in __str__
return self.as_string(unixfrom=True)
File "/users/mailman/pythonlib/email/Message.py", line 109, in
as_string
g.flatten(self, unixfrom=unixfrom)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 230, in
_handle_multipart
g.flatten(part, unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 230, in
_handle_multipart
g.flatten(part, unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 297, in
_handle_message
g.flatten(msg.get_payload(0), unixfrom=False)
File "/users/mailman/pythonlib/email/Generator.py", line 102, in
flatten
self._write(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 130, in
_write
self._dispatch(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 156, in
_dispatch
meth(msg)
File "/users/mailman/pythonlib/email/Generator.py", line 199, in
_handle_text
raise TypeError, 'string payload expected: %s' % type(payload)
TypeError: string payload expected: <type 'list'>
==============
running bin/unshunt just duplicates the above errors. I emptied
qfiles/shunt before today's digest without effect.
Any ideas of where to look next?
More information about the Mailman-Users
mailing list