[Mailman-Users] problem in replybot.py

Marc MERLIN marc_news at valinux.com
Fri Jul 13 19:46:22 CEST 2001


On Fri, Jul 13, 2001 at 12:00:16PM -0400, Barry A. Warsaw wrote:
>     MM> How do I find which list it comes from or further debug this?
> 
> Someone's got a bogus autoreply text.  The syslog() calls in
> HandlerAPI.py should include the name of the list that got the
> uncaught exception.  You can add this by going to HandlerAPI.py and
> changing
> 
>     syslog('error', 'Delivery exception: %s' % e)
> 
> to
> 
>     syslog('error', 'Uncaught exception on list: %s' % mlist.internal_name())
>     syslog('error', 'Delivery exception: %s' % e)

Thanks.

Jul 13 10:39:01 2001 usw-sf-list1 (9425) Uncaught exception on list: traceroute-
general
Jul 13 10:39:01 2001 usw-sf-list1 (9425) Delivery exception: __int__
Jul 13 10:39:01 2001 usw-sf-list1 (9425) Traceback (innermost last):
  File "../Mailman/Handlers/HandlerAPI.py", line 82, in do_pipeline
  File "/var/local/mailman/Mailman/Handlers/Replybot.py", line 78, in process
    text = mlist.autoresponse_postings_text % d
AttributeError: __int__

----------------------------------------------------------------------------
Thankyou for emailing %listname, soon someone will reply to your email and help with any questions you have. If 
you dont get a response please email 
%owneremail
Do NOT responde to this email.
----------------------------------------------------------------------------

I replaced it with:
----------------------------------------------------------------------------
Thank you for emailing %(listname)s, soon someone will reply to your email and help with any questions you have. If 
you dont get a response please email 
%(owneremail)s
Do NOT respond to this email.
----------------------------------------------------------------------------

and now all is good.

Thanks Barry.
Marc
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key




More information about the Mailman-Users mailing list