Article View: news.software.readers
Article #142406Re: [Dialog] automatic header check for a category?
From: Barry Jones
Date: Fri, 30 Jan 2004 07:40
Date: Fri, 30 Jan 2004 07:40
51 lines
3207 bytes
3207 bytes
On Thu, 29 Jan 2004 21:35:16 +0000, Sh_Kilnao wrote:
> I discovered that the error 'EnterGroupFile failed with GrpHdl: -1' has
> nothing to do with my problem. It happens all the time and it's obviously
> benign.
>
> To give more details, here's my current contents of the OnStartup event:
>
> program OnStartup;
> procedure OnStartup;
> begin
> PostKey( ord('P'), false,true,false,false,false,false,false,false);//Alt-P
> ADo('NewsgroupPane');
> PostKey(Ord('A'),false,false,true,false,false,false,false,false);//Ctrl-A
> ADo('GetNewHeadersInSelectedGroups'); // <- here's the problem!!
> end;
> begin
> end.
>
> ; and it seems only that 'GetNewHeadersInSelectedGroups' does not get
> executed. However, when I put the same commands in the custom script it
> executes correctly.
I'm no expert, and I'm new enough with Dialog to have my own newbie
questions, but here's my theory:
First of all, it works for me.
That benign message you get suggests to me that the first time you send a
request to server, it refuses. After that, Dialog authenticates, and allows
you to communicate with the server. This would be a problem every time,
OnStartup, but not later on, after other activity. I would test my theory
by repeating the line:
ADo('GetNewHeadersInSelectedGroups');
so that it executes twice, to see if it works the second time. Then we can
track it down further, or find another theory. Let's see, E=MC², no, that
won't help . . .
One of the things I noted about Dialog is that the error messages stay
around forever. We can't tell if the error message we're seeing is an old
one, or a repeating one. It's a bit unsettling for me.
Until I get another error message, my system starts with the message:
Test warning message
and it remains there forever. I have no idea what it means, or if it's a
repeating problem. It looks like debugging code that escaped or something.
Anyway, good luck, and let us know how it goes.
--
Barry
Technical Details
Message-ID:
<1eaccv5s3zone$.gvqsgfrbn9wq$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mailReferences:
<jm8cfftae36f$.nmqe4f3fiore$.dlg@40tude.net> <1u5m41mlbj45.19qkptjt8fygd.dlg@40tude.net> <s1pfhblkoup4$.1ad4tttt29hv5.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <1eaccv5s3zone$.gvqsgfrbn9wq$.dlg@40tude.net> Subject: Re: [Dialog] automatic header check for a category? Date: Fri, 30 Jan 2004 07:40:49 GMT From: Barry Jones <bjones01@acm.org> References: <jm8cfftae36f$.nmqe4f3fiore$.dlg@40tude.net> <1u5m41mlbj45.19qkptjt8fygd.dlg@40tude.net> <s1pfhblkoup4$.1ad4tttt29hv5.dlg@40tude.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Lines: 51 NNTP-Posting-Host: 24.161.97.192 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1075448449 24.161.97.192 (Fri, NNTP-Posting-Date: Fri, 30 Jan 2004 02:40:49 EST Organization: Road Runner - NYC