[Mailman-Users] Just another day using Mailman

Todd Pfaff pfaff at edge.cis.mcmaster.ca
Tue Dec 7 17:33:18 CET 1999


i posted a solution to this problem (or a very similar problem) a few days
ago.  check the recent mailman-users archives and look for postings from
me regarding LogMsg.

On Mon, 6 Dec 1999, Brian Wilson wrote:

> I got this debug when I was in the process of approving a message to be sent 
> to my
> mailing list. Alas, I think I hit the browser 'back' and ended up resubmitting 
> the same
> message so multiple copies went out to about 20,000 people.
> 
> I like mailman but it sure is buggy still... hopefully I will be able to fix 
> some of the bugs
> as I am now being forced to learn some python.
> 
> After viewing the vetted messages in the web i/f I have to empty them out 
> using the
> 3 line python program that someone sent to this list a few weeks ago, as the 
> cgi seems
> to croak whenever I use it with this....
> 
> > Traceback (innermost last):
> >   File "/home/mailman/scripts/driver", line 112, in run_main
> >     main()
> >   File "/home/mailman/Mailman/Cgi/admindb.py", line 112, in main
> >     HandleRequests(doc)
> >   File "/home/mailman/Mailman/Cgi/admindb.py", line 200, in
> > HandleRequests
> >     list.HandleRequest(request, v, form[comment_key].value)
> >   File "/home/mailman/Mailman/ListAdmin.py", line 122, in
> > HandleRequest
> >     self.HandlePostRequest(request_data[2:], value, comment)
> >   File "/home/mailman/Mailman/ListAdmin.py", line 167, in
> > HandlePostRequest
> >     self.LogMsg("vette", note)
> >   File "/home/mailman/Mailman/MailList.py", line 835, in LogMsg
> >     logf.write(msg % args + '\n') TypeError: not enough arguments for
> > format string
> 
> 
> 
> 
> -- 
> 
> Brian Wilson <bwilson at oreilly.com>
> System administrator, O'Reilly Networks
> 101 Morris Street, Sebastopol, CA 95472
> 707-829-6529 FAX 707-829-0104
> 
> 
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users
> 

--
Todd Pfaff                         \  Email: pfaff at mcmaster.ca
Computing and Information Services  \ Voice: (905) 525-9140 x22920
ABB 132                              \  FAX: (905) 528-3773
McMaster University                   \
Hamilton, Ontario, Canada  L8S 4M1     \





More information about the Mailman-Users mailing list