🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229217

Re: 40tude Dialog: How to script out the 'bad article' errors?

#229217
From: Bernd Rose
Date: Tue, 20 Jan 2009 13:51
53 lines
3600 bytes
On Tue, 20 Jan 2009 03:25:57 -0600 wrote VanguardLH:

> I'm trying to figure out how to get 40tude Dialog to ignore - and always
> ignore - any errors regarding "bad article number" or "out of range"
> which is caused solely by honoring cancels (the article really doesn't
> exist anymore on that NNTP server).

There may be other reasons, as well. Some NNTP server farms have problems
synchronizing requests. You get the header overview from one server. When
you try to retrieve an article later on, the request may get directed to
another server, which may not have the article (yet).
 
> Right-clicking on the error in the dialog window showing the error to
> select "Add selected errors to silent filter" and enabling the silent
> filter mode only works within one session of 40tude Dialog.  Once you
> unload and reload Dialog for your next newsgroups session, you start
> from scratch.  What you selected before to ignore isn't sticky across
> Dialog sessions.  

That's not, what /really/ is going on. The exclusion list is saved to the 
file errfilt.wxt (data directory), which will survive Dialog restarts. 
Problem is, all error messages will be added *in detail*, e.g.:

| Article 754 not available on server (Finished)

If the next article cannot be found, the error message will likely refer 
to another article number. And the error window will pop up, again.

To circumvent this, you need to edit Dialog.exe within a hex editor.
Search for "%d not available" (without quotation marks and in Unicode!)
and replace "%d" by space chars. Be sure to leave the 00h bytes of the
Unicode characters untouched!

When you now get the error, you won't see a reference to the article 
number. And if you add this general error message to the exclusion filter,
the error won't open the error log window, again.

For localized Dialog versions, it is necessary to adjust the appropriate
string (this time not Unicode!) inside default.mo inside the locale 
subdirectory of the language used.

In both cases (Dialog.exe or default.mo), you may also see strings of
"%s not available". They are of no concern in your case.

Good hex editors capable of Unicode search are HxD and FrHed:

  http://mh-nexus.de/en/hxd
  http://www.kibria.de/frhed.html

Good luck, and safe a copy of the file to be edited, beforehand. - Just
in case...  ;-)

Bernd
Technical Details
Message-ID: <a0m9y6qrcmeo.dlg@b.rose.tmpbox.news.arcor.de>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!npeer.de.kpn-eurorings.net!npeer-ng1.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <gl4591$fbo$1@news.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <a0m9y6qrcmeo.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: 40tude Dialog: How to script out the 'bad article' errors?
Date: Tue, 20 Jan 2009 14:51:27 +0100
From: Bernd Rose <b.rose.tmpbox@expires-2009-01-31.arcornews.de>
References: <gl4591$fbo$1@news.motzarella.org>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!npeer.de.kpn-eurorings.net!npeer-ng1.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (a122770a.21.310)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 53
Organization: Arcor
NNTP-Posting-Date: 20 Jan 2009 14:52:11 CET
NNTP-Posting-Host: 8f5714f3.newsspool4.arcor-online.net
X-Trace: DXC=c[UW76GV:?ePXlQ;
 h]GTMd4IUK<Cl32<a4Fo<]lROoRa^YC2XCjHcbiM5BlOFhn7:bQNkb2^RT\kbZcmcaLWAG9g`]<kB9]ZMCa
X-Complaints-To: usenet-abuse@arcor.de