[Mailman-Users] Sudden error

miket at scitechsoft.com miket at scitechsoft.com
Tue Oct 30 21:29:02 CET 2001


My list server suddenly developed an error message that is all 
consuming.  I now have an error message that is 2gig in size.  This 
is only since the 18th of October, 01.

I had found the error upon receiving the Cron Daemon message:
**************************************************
**********
Logging error: <StampedLogger to '/home/mailman/logs/error'>
Traceback (innermost last):
  File "/home/mailman/Mailman/Logging/Logger.py", line 74, in write
    f.write(msg)
IOError: [Errno 27] File too large
Original log message:
[Errno 27] File too large
**************************************************
This error led me to editing the file "HandlerAPI.py" described 
below.  I found no erro on the indicated lines and when I tried to 
alter the file the message got worse.

The code preceding the error line is:
def do_pipeline(mlist, msg, msgdata, pipeline):
    while pipeline:
        modname = pipeline.pop(0)
        mod = __import__('Mailman.Handlers.' + modname)
        func = getattr(getattr(getattr(mod, 'Handlers'), modname), 
'process')
        try:
            pid = os.getpid()
            func(mlist, msg, msgdata)    #Error Line  82
I added ", pipeline" from above and the error changes to:
**************************************************
Oct 30 11:28:07 2001 (31223) Delivery exception: too many 
arguments; expected 3, got 4
Oct 30 11:28:07 2001 (31223) Traceback (innermost last):
  File "/home/mailman/Mailman/Handlers/HandlerAPI.py", line 82, 
in do_pipeline
    func(mlist, msg, msgdata, pipeline)
TypeError: too many arguments; expected 3, got 4
**************************************************
Oct 30 08:10:00 2001 (11866) Delivery exception: not enough 
arguments for format string
Oct 30 08:10:00 2001 (11866) Traceback (innermost last):
  File "/home/mailman/Mailman/Handlers/HandlerAPI.py", line 82, 
in do_pipeline
    func(mlist, msg, msgdata)
  File "/home/mailman/Mailman/Handlers/Decorate.py", line 41, in 
process
    footer = string.replace(mlist.msg_footer % d, '\r\n', '\n')
TypeError: not enough arguments for format string

Any help is greatly appreciated
Thanks
MikeT


******************************************************
SciTech Software Inc,
Michael E. Todd
System Administrator 
505 Wall Street
Chico, CA 95928
530.894.8400  ext 151




More information about the Mailman-Users mailing list