[Mailman-Users] gate_news raising NNTPProtocolError exceptions & pragraph duplication

Stuart Bishop zen at shangri-la.dropbear.id.au
Fri Nov 2 05:00:08 CET 2001


Hi.

I'm trying to setup an email feed of a couple of large Usenet news 
groups.
Articles seem to be flowing happily, although I'm getting a dozen or
so exceptions each day. It may be related to the number of aricles being
retrieved, as I get these exceptions everytime gate_news is run until
I perform a catchup on the news group. I was also getting the exceptions
much more often until I started running gate_news every 60 seconds 
instead
of once every five minutes.

The other problem I am seeing is that the first paragraph (the body 
before the
first blank line) is being repeated twice.

My client is a NetBSD box running Python 2.1.1 and Mailman 2.0.6.
The upstream news server is an NT DNews server, or a NetCache (which 
talks
to the same DNews server) - same problem with both.

Can anyone shed any light on this? My assumption would be that DNews
is brokent, but I don't know enough about NNTP to be sure.


On Thursday, November 1, 2001, at 06:14  PM, Cron Daemon wrote:

Traceback (most recent call last):
   File "/home/mailman/cron/gate_news", line 222, in ?
     main()
   File "/home/mailman/cron/gate_news", line 203, in main
     process_lists(lock)
   File "/home/mailman/cron/gate_news", line 179, in process_lists
     poll_newsgroup(mlist, conn, start, last+1, glock)
   File "/home/mailman/cron/gate_news", line 104, in poll_newsgroup
     body = conn.body(`num`)[3]
   File "/home/mailman/Mailman/pythonlib/nntplib.py", line 346, in body
     return self.artcmd('BODY ' + id)
   File "/home/mailman/Mailman/pythonlib/nntplib.py", line 322, in artcmd
     resp, list = self.longcmd(line)
   File "/home/mailman/Mailman/pythonlib/nntplib.py", line 215, in longcmd
     return self.getlongresp()
   File "/home/mailman/Mailman/pythonlib/nntplib.py", line 194, in 
getlongresp
     resp = self.getresp()
   File "/home/mailman/Mailman/pythonlib/nntplib.py", line 188, in getresp
     raise NNTPProtocolError(resp)
Mailman.pythonlib.nntplib.NNTPProtocolError: .


--
Stuart Bishop <zen at shangri-la.dropbear.id.au>
http://shangri-la.dropbear.id.au/





More information about the Mailman-Users mailing list