Thread View: news.software.readers
12 messages
12 total messages
Started by VanguardLH
Tue, 20 Jan 2009 09:25
40tude Dialog: How to script out the 'bad article' errors?
Author: VanguardLH
Date: Tue, 20 Jan 2009 09:25
Date: Tue, 20 Jan 2009 09:25
68 lines
5546 bytes
5546 bytes
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). I use Motzarella as my NNTP server (now that Comcast dropped their contract with Giganews to provide newsgroups service). It's a free service but it has problems, one of which is that it honors cancels. Why is that bad? They update their overview database once per day. They honor cancels. That means their overview database will still list the article but they no longer have it. Their overview and article databases get out of sync. The result is that 40Tude Dialog will generate "bad article" or "index out of range" errors. It's not possible not to incur the conditions under which these errors occur because of how Motzarella operates their NNTP service. Any NSP that honors cancels can get out of sync with their overview database and the window of opportunity exists until they update that overview database. Apparently it is CPU or disk intensive to update the overview database but then doing it once per day means a lot more records have to be updated than the far fewer number if performed every hour or even far fewer if performed every minute (but there would probably be lockout problems during the update that would cause responsiveness issues for users trying to use the NNTP service). 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. So every time Dialog retrieves headers from a newsgroup but for which there have been cancels that were honored, the headers listed in the overview database don't match up with the actual articles available from that server and you get the out-of-sync error condition. One obvious solution is to leave Motzarella and move to an NNTP server that does not honor cancels. Then the overview database is guaranteed to be in sync with the available articles. It's hard to leave a free service but I might end up doing just that (and might go to individual.net for its cheap price and since I only do text groups). Another possible solution is to figure out how to write a script that would alter Dialog's behavior in either remembering the error ignores between Dialog sessions or to add an error to a table or list that get ignored. I'm not sure there is any easy way to add a script to Dialog that will make sticky the ignores in its silent filter or to scan a blacklist of ignored error types. There is the OnArticleListPaint event where maybe a script could be used to ignore the absence of an article (that the overview database says still exists but the article got cancelled up to a day before). However, I wouldn't know what to code for that event's script. Well, there is one other solution and that would be to retrieve the bodies of all articles when I select a newsgroup (because there is an event script for when clicking on a newsgroup); however, I'm not sure that getting the bodies (which would identify which articles were no longer available) would actually get rid of the errors. I could end up wasting lots of time and bandwidth waiting for all bodies to download only to end up still getting the errors that can only be silently ignored within that session of Dialog. Getting rid of the nuisance of the recurring errors due to out-of-sync problems with the overview database is probably not going to go away until I dump freeMotzaralla and go to an NNTP server that doesn't honor cancels. But there's always the chance that someone figured out how to make sticky the silent filter or a script that could be added to ignore those sync errors. However, genuflecting usually just gives me sore knees. It could happen but it'd be like a miracle.
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Bernd Rose
Date: Tue, 20 Jan 2009 13:51
Date: Tue, 20 Jan 2009 13:51
53 lines
3600 bytes
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
XOVER sucks big time, don't use it !
Author: Jeffâ–˛Relf
Date: Wed, 21 Jan 2009 01:21
Date: Wed, 21 Jan 2009 01:21
3 lines
957 bytes
957 bytes
XOVER sucks big time, don't use it ! Have 40tude Dialog download the entire article, everytime.
Re: XOVER sucks big time, don't use it !
Author: Pieter Zijlstra
Date: Wed, 21 Jan 2009 01:59
Date: Wed, 21 Jan 2009 01:59
15 lines
1340 bytes
1340 bytes
Jeffâ–˛Relf wrote: > XOVER sucks big time, don't use it! Care to explain why? > Have 40tude Dialog download the entire article, everytime. Or is it just a 40tude_Dialog issue? -- Pieter "We totally deny the allegations, and we are trying to identify the allegators."
Re: XOVER sucks big time, don't use it !
Author: Jeffâ–˛Relf
Date: Wed, 21 Jan 2009 02:27
Date: Wed, 21 Jan 2009 02:27
7 lines
1186 bytes
1186 bytes
No matter your newsreader, XOVER adds complexity&problems, including the problems VanguardLH mentioned here: news:gl4591$fbo$1@news.motzarella.org Even at dialup speeds, XOVER isn't much faster than downloading the entire article.
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Rom
Date: Wed, 21 Jan 2009 08:03
Date: Wed, 21 Jan 2009 08:03
23 lines
1811 bytes
1811 bytes
On Tue, 20 Jan 2009 14:51:27 +0100, Bernd Rose wrote: > 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. It happens on gname.org with certain headers, whereas it used to be: | Bad article number; (Gmane) | Bad article number; (Gmane) (Finished) > 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! Thanks, that works for 2.0.15.1 and 2.0.15.41, but not 2.0.15.84. What's needed for 2.0.15.84? -- Rom
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Bernd Rose
Date: Wed, 21 Jan 2009 15:21
Date: Wed, 21 Jan 2009 15:21
30 lines
2611 bytes
2611 bytes
On Wed, 21 Jan 2009 19:03:40 +1100, Rom wrote: >| Bad article number; (Gmane) >| Bad article number; (Gmane) (Finished) Are you sure, both lines show the exact wording of the messages you encounter? I don't see those messages as part of the string part of Dialog.exe and the \Locale *.mo files. If it were, you'd probably see %s instead of the above "Gmane" parts. So you would need to overwrite %s to get generalized messages. >> 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! > > Thanks, that works for 2.0.15.1 and 2.0.15.41, but not 2.0.15.84. > What's needed for 2.0.15.84? The .84 executable does not differ from the earlier versions in this respect. So the changes /should/ apply likewise. If not, you may search for other occurrences of " not available", e.g. "%s not available" and replace any data type indicator [1] with spaces. Check surrounding strings, that you are more-the-less in the correct section of the message storage of the file. ;-) (Related messages are somewhat grouped.) [1] see: www.delphibasics.co.uk/RTL.asp?Name=Format Bernd
Re: XOVER sucks big time, don't use it !
Author: Pieter Zijlstra
Date: Wed, 21 Jan 2009 22:23
Date: Wed, 21 Jan 2009 22:23
23 lines
1936 bytes
1936 bytes
Jeffâ–˛Relf wrote: > No matter your newsreader, XOVER adds complexity&problems, > including the problems VanguardLH mentioned here: That's a 40tude_Dialog problem not an XOVER problem on itself. > Even at dialup speeds, > XOVER isn't much faster than downloading the entire article. If you're talking about just getting the last new posts, then yes the difference is probably not noticeable. Downloading large groups for which you don't have the intention to get all bodies, but just "scan" the headers and download/read the ones you're interested in, then XOVER really saves on download time and bandwidth. -- Pieter "Don't be so humble - you are not that great." -- Golda Meir (1898-1978) to a visiting diplomat
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Rom
Date: Thu, 22 Jan 2009 02:14
Date: Thu, 22 Jan 2009 02:14
55 lines
3519 bytes
3519 bytes
On Wed, 21 Jan 2009 16:21:00 +0100, Bernd Rose wrote: > On Wed, 21 Jan 2009 19:03:40 +1100, Rom wrote: > >>| Bad article number; (Gmane) >>| Bad article number; (Gmane) (Finished) > > Are you sure, both lines show the exact wording of the messages you > encounter? The above errors were added to the silent filter ages ago and copied from errfilt.wxt, but they aren't the (current) problem as the silent filter work[ed|s] for those above errors. IIRC, the above errors used to be the only errors I received from Gmane related to this when retrieving headers with bodies until some months ago, then started getting errors like the example you previously posted with the status window opening again, and realised adding it to the silent filter wouldn't work because of the inclusion of the article numbers. I can receive the second of the errors above if I delete a header of one of those that cause the error like you posted, then connect and sample to re-retrieve. >>> 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! >> >> Thanks, that works for 2.0.15.1 and 2.0.15.41, but not 2.0.15.84. >> What's needed for 2.0.15.84? > > The .84 executable does not differ from the earlier versions in this > respect. So the changes /should/ apply likewise. As I've been currently using 2.0.15.84, .84 was the executable I first tried editing (with the portable HxD v1.7.6.6 (November 8, 2008)), but every time receive the following error on starting Dialog 2.0.15.84: | --------------------------- | Error | --------------------------- | The file "dialog.exe" seems to be corrupt! | --------------------------- | OK | --------------------------- But when editing the 2.0.15.1 or 2.0.15.41 executables exactly the same as 2.0.15.84, Dialog starts okay for 2.0.15.1 and 2.0.15.41. I have tried various things. Does the error happen to anyone else starting 2.0.15.84 after editing? Any ideas? -- Rom
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Bernd Rose
Date: Thu, 22 Jan 2009 15:47
Date: Thu, 22 Jan 2009 15:47
34 lines
2687 bytes
2687 bytes
On Thu, 22 Jan 2009 13:14:08 +1100 Rom wrote: >>>| Bad article number; (Gmane) >>>| Bad article number; (Gmane) (Finished) These are server responses, not strings created by 40tude Dialog. [Patch Dialog to general error message] >>> Thanks, that works for 2.0.15.1 and 2.0.15.41, but not 2.0.15.84. >>> What's needed for 2.0.15.84? >> >> The .84 executable does not differ from the earlier versions in this >> respect. So the changes /should/ apply likewise. > > As I've been currently using 2.0.15.84, .84 was the executable I first > tried editing (with the portable HxD v1.7.6.6 (November 8, 2008)), but > every time receive the following error on starting Dialog 2.0.15.84: > >| --------------------------- >| Error >| --------------------------- >| The file "dialog.exe" seems to be corrupt! >| --------------------------- >| OK >| --------------------------- Ah, sorry. I checked for the strings, but didn't test-run the .84 version. This new build not only introduced a new (sometimes still buggy) memory manager, but also module-level checksums. So you'd need to adjust these checksums, as well, which makes the task "a bit" ;-) more complicated. I suggest sticking with .41, which (IMHO) is the best version available. Bernd
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: VanguardLH
Date: Sat, 24 Jan 2009 04:12
Date: Sat, 24 Jan 2009 04:12
59 lines
4178 bytes
4178 bytes
Bernd Rose wrote: > 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 I'm not ignoring your post, Bernd. I just haven't had time to get around to making the changes and testing them. Hopefully will get to it this weekend.
Re: 40tude Dialog: How to script out the 'bad article' errors?
Author: Bernd Rose
Date: Sat, 24 Jan 2009 08:24
Date: Sat, 24 Jan 2009 08:24
23 lines
2322 bytes
2322 bytes
On Fri, 23 Jan 2009 22:12:10 -0600 VanguardLH wrote: > I'm not ignoring your post, Bernd. I just haven't had time to get > around to making the changes and testing them. Hopefully will get to it > this weekend. No problem. ;-) Please check to exact wording of the offending error messages, beforehand. As with Rom (please check his posts and my replies, also), the messages that continue appearing may be partially server-side creations. In this case you may have problems to adopt my suggestions... Report back the exact wording of the errors, if you don't have success with patching the executable. In any case, error messages you added to the silent filter *should* appear inside errfilt.wxt and survive Dialog restarts. If not, you may think of switching to version .41, which IMHO is he best one available: http://dialog.datalist.org/downloads/download.html Version .84 introduced a new memory management (among other things) which some people found to be too buggy for "production" use. Bernd
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads