Subject:
|
Re: Trouble seeing new articles with Free Agent
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Tue, 29 Sep 1998 19:40:50 GMT
|
Viewed:
|
510 times
|
| |
| |
sarah@eskimo.com (Perhaps a Princess....) writes:
> On Mon, 28 Sep 1998 01:39:56 GMT, lehman@javanet.com (Todd Lehman)
> wrote:
>
> > Ever seen Agent or Free Agent fail to recognize the existence of newly
> > posted article on a server?
>
> > All 4 of the articles I posted to lugnet.general today were ignored by Free
> > Agent until I unsubscribed the group and re-added it. Netscape news can
> > see them just fine. And they show up just fine interactively with "telnet
> > lugnet.com 119". The server software hasn't changed recently and appears
> > to be working 100% correctly. Bug in Free Agent or something I'm missing?
>
> Interesting. When you reset the groups, Todd, I had this exact same
> problem with Agent. I wondered why I was not getting any mail in
> announce or lugnet.general :) THen I did a manual Get All Messages and
> downloaded 7 in announce and 39+ in lugnet.general. ANd it is
> downloading new fine now.
I fixed the problem -- and I think it affected everyone, not just Free
Agent -- I introduced a stoopit bugaboo when I diddled with the cancel mods
last week. Here's a repost of the article I posted 2 days ago right before
the groups were wiped:
--Todd
___________________________________________________________________________
Xref: lugnet.com lugnet.general:292
Newsgroups: lugnet.general
Path: lugnet.com!lugnet
From: lehman@javanet.com (Todd Lehman)
Subject: Re: Trouble seeing new articles with Free Agent
X-Newsreader: Forte Free Agent 1.11/32.235
Organization: Fibblesnork Software
Message-ID: <360f36c6.55437893@lugnet.com>
References: <360ee87d.35393825@lugnet.com>
X-Nntp-Posting-Host: bos-us435.javanet.com
Date: Mon, 28 Sep 1998 07:19:22 GMT
Lines: 49
lehman@javanet.com (Todd Lehman) writes:
>
> Mike/Sarah/anyone --
>
> Ever seen Agent or Free Agent fail to recognize the existence of newly
> posted article on a server?
>
> All 4 of the articles I posted to lugnet.general today were ignored by Free
> Agent until I unsubscribed the group and re-added it. Netscape news can
> see them just fine. And they show up just fine interactively with "telnet
> lugnet.com 119". The server software hasn't changed recently and appears
> to be working 100% correctly. Bug in Free Agent or something I'm missing?
>
> --Todd
Shame on me -- it was my fault. I didn't understand (and may still not)
all the subtleties of the code change I made 2-3 days ago when I made the
cancelling rename article files instead of actually deleting them.
Turns out CNews's implementation GROUP command in NNTP scans the directory
(for a newsgroup) on the fly counting articles. A snippet of relevant code
from scandir.c:
while ((dirent = readdir(dirp)) != NULL) {
artnum = atoi(dirent->d_name);
if (artnum == 0 || artnum < low_msg || artnum > high_msg)
continue;
So the cancelled files like
260!
were matching in this section of code as regular articles, since atoi()
returns an integer up to a non-digit character. Derrr. And this was
throwing off the counts when the GROUP command said how many articles
existed.
So. Names like
_260
do not confuse the code above. God forbid if they confuse some other
obscure little chunk of code! I never would have guessed it was scanning
the directory on-the-fly. But then again it'll be cached in memory and
still quite fast under Unix.
--Todd
|
|
Message has 1 Reply: | | Re: Trouble seeing new articles with Free Agent
|
| (...) But I was not having the same problems when you were having it. Rather, I had the problem only in the groups which 1) were wiped, but stuck around 2) I had old messages still sitting in inside of Agent. (because of information I needed to (...) (26 years ago, 29-Sep-98, to lugnet.admin.general)
|
Message is in Reply To:
| | Re: Trouble seeing new articles with Free Agent
|
| (...) Interesting. When you reset the groups, Todd, I had this exact same problem with Agent. I wondered why I was not getting any mail in announce or lugnet.general :) THen I did a manual Get All Messages and downloaded 7 in announce and 39+ in (...) (26 years ago, 29-Sep-98, to lugnet.admin.general)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|