[news.software.anu-news] What does 'REJECT

fac2@dayton.saic.com (Earle Ake) (02/09/90)

	What in the world does "REJECT (looping item)" really mean when adding 
an article to NEWS?  I suspect that because I have two sites feeding me NEWS 
that it really means that the article has already been posted and this is a 
duplicate.  I tried to track down where this message came from.  I found it in 
NEWSADD.C.  Two possibilities exist.  A return code of 'b00184ec' and 'b0010001'
would do it.  I changed 'b00184ec' to return 'Duplicate MsgID' and tried it 
again.  I still get 'looping item'.  The RMS code 184ec means duplicate record.
What really does this mean and can the message be changed to something more 
meaningful?  Thanks.

-- 
_____________________________________________________________________________
             ____ ____    ___
Earle Ake   /___ /___/ / /     Science Applications International Corporation
           ____//   / / /__                 Dayton, Ohio
-----------------------------------------------------------------------------
Internet: fac2%dayton.saic.com@uunet.uu.net    uucp: uunet!dayvb!fac2

sloane@kuhub.cc.ukans.edu (02/10/90)

In article <958.25d1fe71@dayton.saic.com>, fac2@dayton.saic.com (Earle Ake) writes:
> 	What in the world does "REJECT (looping item)" really mean when adding 
> an article to NEWS?  I suspect that because I have two sites feeding me NEWS 
> that it really means that the article has already been posted and this is a 
> duplicate. I tried to track down where this message came from. I found it in 
> NEWSADD.C. 2 possibilities exist. A return code of 'b00184ec' and 'b0010001'
> would do it.  I changed 'b00184ec' to return 'Duplicate MsgID' and tried it 
> again. I still get 'looping item'. The RMS code 184ec means duplicate record.
> What really does this mean and can the message be changed to something more 
> meaningful?  Thanks.

In V5.8 and earlier this was reported as "duplicate item."  What it
means is that the article is already in the news database, based on
the group number and the article id, thus the "duplicate record" status.
I tend to agree that "looping item" probably isn't the best possible
error message, but it isn't all that bad.  "Looping item" means that
NEWS has seen this before.  I would prefer "duplicate item" but I
think it is a minor matter.
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, sloane@ukanvax.bitnet, AT&T: (913)864-0444 

gih900@CSC1.ANU.OZ.AU (Geoff Huston) (02/12/90)

>        What in the world does "REJECT (looping item)" really mean when adding
>an article to NEWS?  I suspect that because I have two sites feeding me NEWS
>that it really means that the article has already been posted and this is a
>duplicate.  I tried to track down where this message came from.  I found it in
>NEWSADD.C.  Two possibilities exist.  A return code of 'b00184ec' and
 'b0010001'
>would do it.  I changed 'b00184ec' to return 'Duplicate MsgID' and tried it
>again.  I still get 'looping item'.  The RMS code 184ec means duplicate record.
>What really does this mean and can the message be changed to something more
>meaningful?  Thanks.
     
184ec is the RMS duplicate record code - if the item already exists in the
news.items file, then RMS will fail - the error is a duplication of the message
id field.
     
The b0010001 return code is returned when the item is located in the history
file - i.e. you had it, and have expired it locally already.
     
try SET NOHISTORY and see what errors you get.
     
     
Geoff Huston