Thread View: news.software.readers
31 messages
31 total messages
Started by Chupo
Mon, 10 Jul 2017 14:12
[Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Mon, 10 Jul 2017 14:12
Date: Mon, 10 Jul 2017 14:12
36 lines
2266 bytes
2266 bytes
Anyone still remembers MicroPlanet Gravity? I am still using Gravity 2.60 and a few days ago it showed the following warnings: <start copy/paste> Your newsserver has reset all the article numbers for newsgroup hr.ime.grupe. Server reports lowest article 0 instead of xxxx Gravity expects the article numbers to increase. This is the mechanism by which Grabity detects new article headers. Until this problem is corrected, Gravity can not download headers for this newsgroup. To work around this problem, you can unsubsscribe from this newsgroup and later resubscribe to it. Note that this will erase all information in the newsgroup. <end copy/paste> for about 15 newsgroups and Gravity can not anymore retrieve new articles for those newsgroups. I remember the same situation happened in the past and the problem can be solved by unsrubscribing and then resubscribing. However, I have a lot of articles marked as 'protected' and I wouldn't like to lose all those saved articles. Is there a way to solve the problem without losing the saved articles? Moving the 'Highest server count slider' does not solve the problem. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Mon, 10 Jul 2017 19:21
Date: Mon, 10 Jul 2017 19:21
47 lines
2876 bytes
2876 bytes
Dne 10/07/2017 v 16:12 Chupo napsal(a): > Anyone still remembers MicroPlanet Gravity? > > I am still using Gravity 2.60 and a few days ago it showed the > following warnings: > > <start copy/paste> > Your newsserver has reset all the article numbers for newsgroup > hr.ime.grupe. Server reports lowest article 0 instead of xxxx > Gravity expects the article numbers to increase. This is the mechanism > by which Grabity detects new article headers. > > Until this problem is corrected, Gravity can not download headers for > this newsgroup. > > To work around this problem, you can unsubsscribe from this newsgroup > and later resubscribe to it. Note that this will erase all information > in the newsgroup. > <end copy/paste> > > for about 15 newsgroups and Gravity can not anymore retrieve new > articles for those newsgroups. > > I remember the same situation happened in the past and the problem can > be solved by unsrubscribing and then resubscribing. However, I have a > lot of articles marked as 'protected' and I wouldn't like to lose all > those saved articles. > > Is there a way to solve the problem without losing the saved articles? > > Moving the 'Highest server count slider' does not solve the problem. > You have to archive the articles or copy their content. I am not aware of any other way. AFAIK, as I do not use Gravity for some time, you can write a rule, that can save context of all protected articles from the group to a text file. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Mon, 10 Jul 2017 20:50
Date: Mon, 10 Jul 2017 20:50
49 lines
3081 bytes
3081 bytes
In article <ok0jsi$g89$1@dont-email.me>, Poutnik <poutnik4nntp@gmail.com> says... > You have to archive the articles or copy their content. > I am not aware of any other way. So you do know about the problem I described? I am surprised I couldn't find at least one mention of that problem. I thought I would find some info on Tom's Gravity Pages: http://gravity.tbates.org/ but I couldn' find anything :-/ > AFAIK, as I do not use Gravity for some time, you can write a rule, > that can save context of all protected articles from the group to a text > file. I could do that but I have a hundreds of protected articles since more than last 10 years ago and I wouldn't like to lose them from the Gravity where I can display them by changing the filter or by searching for keywords that I remember. I am suspecting someone who knows the backup format might create a backup and then use hex editor (or even some mySQL utility) to change the bytes corresponding to article number for particular newsgroup. Or the article numbers could be updated directly in the .dat files in newsdb folder. I could' first do the backup, then unsubscribe and resubscribe to see the valid article numbers - and then restore the backup and finally edit the files. But I could do that only if I knew the .dat file format. Tom bates might have info about backup file structure, he replied me a few times about Gravity but that was back in 2005. I was hoping he might be reading this newsgroup or someone who knows him would see my question and send him a note. Maybe I could try to ask the same question on Gravity Open Source project developer's pages - developers who created newer versions probably knew the structure of the original database files. I thought Update Server Counts command would maybe solve the problem but unfortunately it did not. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Tue, 11 Jul 2017 06:33
Date: Tue, 11 Jul 2017 06:33
65 lines
3871 bytes
3871 bytes
Dne 10/07/2017 v 22:50 Chupo napsal(a): > In article <ok0jsi$g89$1@dont-email.me>, Poutnik > <poutnik4nntp@gmail.com> says... >> You have to archive the articles or copy their content. >> I am not aware of any other way. > > So you do know about the problem I described? I am surprised I couldn't > find at least one mention of that problem. I thought I would find some > info on Tom's Gravity Pages: > > http://gravity.tbates.org/ > > but I couldn' find anything :-/ > >> AFAIK, as I do not use Gravity for some time, you can write a rule, >> that can save context of all protected articles from the group to a text >> file. > > I could do that but I have a hundreds of protected articles since more > than last 10 years ago and I wouldn't like to lose them from the > Gravity where I can display them by changing the filter or by searching > for keywords that I remember. > > I am suspecting someone who knows the backup format might create a > backup and then use hex editor (or even some mySQL utility) to change > the bytes corresponding to article number for particular newsgroup. > > Or the article numbers could be updated directly in the .dat files in > newsdb folder. I could' first do the backup, then unsubscribe and > resubscribe to see the valid article numbers - and then restore the > backup and finally edit the files. But I could do that only if I knew > the .dat file format. > > Tom bates might have info about backup file structure, he replied me a > few times about Gravity but that was back in 2005. I was hoping he > might be reading this newsgroup or someone who knows him would see my > question and send him a note. > > Maybe I could try to ask the same question on Gravity Open Source > project developer's pages - developers who created newer versions > probably knew the structure of the original database files. > > I thought Update Server Counts command would maybe solve the problem > but unfortunately it did not. > Such article renumbering happened to me quite often, so I have learnt not to rely on protected articles in long term, making archiving of old protected ones. You can always search text files. I very doubt any article number hacking would help, as Gravity would get confused by conflicting the same numbers of new and old articles. The all idea seems to me too much trouble to be worthy to go its path. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Tue, 11 Jul 2017 21:48
Date: Tue, 11 Jul 2017 21:48
45 lines
2702 bytes
2702 bytes
In article <ok1r83$mbt$1@dont-email.me>, Poutnik <poutnik4nntp@gmail.com> says... > Such article renumbering happened to me quite often, > so I have learnt not to rely on protected articles in long term, > making archiving of old protected ones. It hasn't happened to me for years until a few day ago. last time it happened it was only one newsgroup and this time about 15-20 newsgroups were affected. > You can always search text files. Yes but it was nice having those old protected articles in Gravity's user interface. > I very doubt any article number hacking would help, > as Gravity would get confused by conflicting the same numbers > of new and old articles. > > The all idea seems to me too much trouble to be worthy to go its path. In that case it seems I don't have another choice but to archive the protected articles and resubscribe to the affected newsgroups :-/ A pity the article renumbering forces users to destroy the protected articles. I wonder if article renumbering causes troubles to some other newsreaders as well. I've already exported the protected articles (the file has 201729 lines without full headers and 290870 lines including full headers) and I noticed the articles are not sorted as in the Gravity (by date). It even seems as the articles are exported in a different order when Show Full Headers is turned on, than when full headers are turned off. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Stan Brown
Date: Wed, 12 Jul 2017 00:16
Date: Wed, 12 Jul 2017 00:16
28 lines
2197 bytes
2197 bytes
On Mon, 10 Jul 2017 16:12:50 +0200, Chupo wrote:
> I remember the same situation happened in the past and the problem can
> be solved by unsrubscribing and then resubscribing. However, I have a
> lot of articles marked as 'protected' and I wouldn't like to lose all
> those saved articles.
I get it occasionally for individual newsgroups. It's annoying, and I
don't honestly know whether it's a news server issue or a Gravity
glitch.
I don't know of any way within Gravity that you can solve the issue.
The protected articles probably aren't on the news server anyway.
But why don't you mail them to yourself? Or, as you're going to have
to deal with them sooner or later anyway, save them as text files? If
you find yourself not knowing how you want to categorize some of
them, that may be a sign that your need for that subgroup has
expired.
I haven't tried this, but maybe if you're really desperate, you can
run Gravity under a second Windows login, and start fresh there,
without losing the articles in your original login.
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://BrownMath.com/
http://OakRoadSystems.com/
Shikata ga nai...
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Wed, 12 Jul 2017 03:06
Date: Wed, 12 Jul 2017 03:06
82 lines
4626 bytes
4626 bytes
In article <MPG.33cf345e95096eb198faeb@news.individual.net>, Stan Brown <the_stan_brown@fastmail.fm> says... > I get it occasionally for individual newsgroups. It's annoying, and I > don't honestly know whether it's a news server issue or a Gravity > glitch. Seems to me it has to do something with Gravity. The error is: Server reports lowest article 0 instead of xxxx (some number) One of the affected newsgroups was comp.lang.python and when I opened properties the slider was at 681606. The lowest value that could be selected was 660189. However, Gravity wouldn't accept the values even if I did not change anything - the only way to close the properties window was to click Cancel. If I clicked OK (without moving the slider or changing the number in the 'Reset to' field) there was a message: 'Please enter the integer between 660189 and 662902. After i unsubscribed and resubscribed, the Highest read server article slider could go from 660189 to 661903 - meaning server did not reset article count to zero. One more detail I noticed is - most of the affected newsgroups are in the first half of the list. > I don't know of any way within Gravity that you can solve the issue. > The protected articles probably aren't on the news server anyway. Most of the protected articles expired years ago but some of the most recent are still on the server. > But why don't you mail them to yourself? Or, as you're going to have > to deal with them sooner or later anyway, save them as text files? If > you find yourself not knowing how you want to categorize some of > them, that may be a sign that your need for that subgroup has > expired. I did export all the protected articles to a text file now that this happened. It is not a matter of backuping the contents but some of the protected articles are dating back in 2005 :-) and I got used having these old articles in the list. For example I still have this article: http://tinyurl.com/y7fx9c8c from year 2005 arhived as protected in comp.sys.sinclair newsgroup. And I have many more archived articles from hr.sci.elektronika and some other newsgroups where I was writing about programming and electronics. > I haven't tried this, but maybe if you're really desperate, you can > run Gravity under a second Windows login, and start fresh there, > without losing the articles in your original login. > I did a full Gravity backup and if nothing else I will be able to run another Gravity in offline mode in a virtual machine - to be still able to access those old articles from the UI and view them in threads. But I believe there is a solution - I am sure some (or all) of the Gravity developers know what is causing this issue. In fact, the existence of an error message: 'To work around this problem, you can unsubsscribe from this newsgroup and later resubscribe to it.', is a proof they were aware this would happen. If there is a conflict between old (protected) article numbers and the new numbers assigned by server, the solution would be to assign different IDs to the articles that are very old or to maybe transpose the numbers of the protected articles in case server suddenly resets the article count. I am now aware of the internal structure of the Gravity's database nor of the NNTP protocol details but I am sure the problem has a solution. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Wed, 12 Jul 2017 06:53
Date: Wed, 12 Jul 2017 06:53
29 lines
2544 bytes
2544 bytes
Dne 12/07/2017 v 05:06 Chupo napsal(a): > But I believe there is a solution - I am sure some (or all) of the > Gravity developers know what is causing this issue. In fact, the > existence of an error message: 'To work around this problem, you can > unsubsscribe from this newsgroup and later resubscribe to it.', is a > proof they were aware this would happen. You were already told the reason by the error message. Gravity relies on increasing message index numbers. IT is this design to be blamed. > If there is a conflict between old (protected) article numbers and the > new numbers assigned by server, the solution would be to assign > different IDs to the articles that are very old or to maybe transpose > the numbers of the protected articles in case server suddenly resets > the article count. I am now aware of the internal structure of the > Gravity's database nor of the NNTP protocol details but I am sure the > problem has a solution. > As there was zero or one developer in last many years, and as currently Gravity seems like abandoned, it is not probable to be fixed. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Kilgore Trout
Date: Wed, 12 Jul 2017 20:33
Date: Wed, 12 Jul 2017 20:33
24 lines
1829 bytes
1829 bytes
In article <ok4gq2$lpr$1@dont-email.me>, poutnik4nntp@gmail.com says... > > As there was zero or one developer in last many years, > and as currently Gravity seems like abandoned, > it is not probable to be fixed. The last version available of Gravity is 3.0.4, released in September 2009 (even though Sourceforge says 2013-03-30). That can be downloaded here, along with the source: https://sourceforge.net/projects/mpgravity/ It sure looks abandoned at this point :-( I don't know squat about programming in C, nor do I have a copy of MS Visual Studio, otherwise I'd take a poke at fixing the bugs that 3.0.4 has. I tried the free VS, but it's missing the libraries that only the full versions have,and won't compile. -- Al McCann albert(dot)mccann(at)outlook(dot)com
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Wed, 12 Jul 2017 21:48
Date: Wed, 12 Jul 2017 21:48
38 lines
2545 bytes
2545 bytes
In article <ok4gq2$lpr$1@dont-email.me>, Poutnik <poutnik4nntp@gmail.com> says... > You were already told the reason by the error message. > Gravity relies on increasing message index numbers. > IT is this design to be blamed. I have just heard the croatian provider set up a new newsgroup server but they didn't make a full backup - instead they reset many of the newsgroups relayed by their servers. That is why this problem arose. And I have an information that Thunderbird users were affected by article count reset as well. But if somebody was to write a news client he would have to account for the fact article count sometimes might be reset!? If that is not something unusual then occurrence of such an event should not cause loss of the articles that were *protected* :-/ > As there was zero or one developer in last many years, > and as currently Gravity seems like abandoned, > it is not probable to be fixed. Unfortunately I am using Gravity build 2060 known as Super Gravity: http://gravity.tbates.org/super.html for which I believe the source code was never released. However, there certainly are people who do have the documentation about Gravity's database structure - even about the older versions. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Thu, 13 Jul 2017 06:28
Date: Thu, 13 Jul 2017 06:28
31 lines
2251 bytes
2251 bytes
Dne 12/07/2017 v 23:48 Chupo napsal(a): > > Unfortunately I am using Gravity build 2060 known as Super Gravity: > > http://gravity.tbates.org/super.html > > for which I believe the source code was never released. So did I, 3.0.4, using Gravity for many years. But at some point, it kept crashing for me, so I abandoned it. > However, there certainly are people who do have the documentation about > Gravity's database structure - even about the older versions. AFAIK, the groups have separate files, containing group names..... Perhaps there are related metadata files, I do not remember. what if to rename the old groups files to non existing group names, and resubscribe ? Will Gravity keep the renamed orphan groups ? -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Whiskers
Date: Thu, 13 Jul 2017 15:43
Date: Thu, 13 Jul 2017 15:43
53 lines
3541 bytes
3541 bytes
On 2017-07-12, Chupo <bad_n_mad@yahoo.com> wrote: > In article <ok4gq2$lpr$1@dont-email.me>, Poutnik > <poutnik4nntp@gmail.com> says... >> You were already told the reason by the error message. >> Gravity relies on increasing message index numbers. >> IT is this design to be blamed. > > I have just heard the croatian provider set up a new newsgroup server > but they didn't make a full backup - instead they reset many of the > newsgroups relayed by their servers. > > That is why this problem arose. > > And I have an information that Thunderbird users were affected by > article count reset as well. > > But if somebody was to write a news client he would have to account for > the fact article count sometimes might be reset!? If that is not > something unusual then occurrence of such an event should not cause > loss of the articles that were *protected* :-/ [...] 'Protected' seems to be something that only Gravity understands, it isn't part of the general usenet system. I don't know what 'protected' is meant to do. If you want to preserve an article indefinitely, then 'save' it to a text file - or run your own news-server and make your own rules for it. Usenet articles are ephemeral, they are not expected to remain for ever, or even for very long. All news-servers have a limited 'retention' of articles within each group, based on either the number of articles or on the storage space they occupy. (But people do archive some groups, or try to; Google try to do that for a large part of usenet. Some servers have remarkably long 'retentions'). Servers renumbering articles is a standard part of the usenet system. It doesn't happen often, so it can catch people out, and it affects all newsreaders equally. The user has to unsubscribe from the group(s) concerned and then subscribe again, which is a nuisance as you lose track of which articles have been 'marked as read', but that is only a temporary problem. The renumbering happens because news-servers can't cope with article numbers that get bigger for ever. RFC 3977 section 6 sets a maximum article number of 2,147,483,647. <http://www.faqs.org/rfcs/rfc3977.html> <https://en.wikipedia.org/wiki/2,147,483,647> -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Thu, 13 Jul 2017 17:26
Date: Thu, 13 Jul 2017 17:26
41 lines
3133 bytes
3133 bytes
Dne 13/07/2017 v 17:43 Whiskers napsal(a): > > 'Protected' seems to be something that only Gravity understands, it > isn't part of the general usenet system. I don't know what 'protected' > is meant to do. If you want to preserve an article indefinitely, then > 'save' it to a text file - or run your own news-server and make your own > rules for it. Protected flag is the Gravity feature, with meaning of R/O flag for the offline article header ( + body, if downloaded ) in the Gravity local group database file. It can reside in the groups for years, until server article renumbering cause troubles to Gravity. > > > Servers renumbering articles is a standard part of the usenet system. > It doesn't happen often, so it can catch people out, and it affects all > newsreaders equally. The user has to unsubscribe from the group(s) > concerned and then subscribe again, which is a nuisance as you lose > track of which articles have been 'marked as read', but that is only > a temporary problem. > > The renumbering happens because news-servers can't cope with article > numbers that get bigger for ever. RFC 3977 section 6 sets a maximum > article number of 2,147,483,647. > <http://www.faqs.org/rfcs/rfc3977.html> > <https://en.wikipedia.org/wiki/2,147,483,647> > AFAIK, I an not sure if have ever seen an article number higher than a few millions. With 1000 articles daily, what some high traffic groups in deep past had, 1 000 000 would serve for about 3 years. 2 billions up to 6000 years. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Whiskers
Date: Thu, 13 Jul 2017 18:02
Date: Thu, 13 Jul 2017 18:02
45 lines
3279 bytes
3279 bytes
On 2017-07-13, Poutnik <poutnik4nntp@gmail.com> wrote: > Dne 13/07/2017 v 17:43 Whiskers napsal(a): >> >> 'Protected' seems to be something that only Gravity understands, it >> isn't part of the general usenet system. I don't know what 'protected' >> is meant to do. If you want to preserve an article indefinitely, then >> 'save' it to a text file - or run your own news-server and make your own >> rules for it. > > Protected flag is the Gravity feature, with meaning of R/O flag > for the offline article header ( + body, if downloaded ) > in the Gravity local group database file. > > It can reside in the groups for years, > until server article renumbering cause troubles to Gravity. By which time the article may be long gone from the server. >> Servers renumbering articles is a standard part of the usenet system. >> It doesn't happen often, so it can catch people out, and it affects all >> newsreaders equally. The user has to unsubscribe from the group(s) >> concerned and then subscribe again, which is a nuisance as you lose >> track of which articles have been 'marked as read', but that is only >> a temporary problem. >> >> The renumbering happens because news-servers can't cope with article >> numbers that get bigger for ever. RFC 3977 section 6 sets a maximum >> article number of 2,147,483,647. >> <http://www.faqs.org/rfcs/rfc3977.html> >> <https://en.wikipedia.org/wiki/2,147,483,647> >> > AFAIK, I an not sure if have ever seen > an article number higher than a few millions. > With 1000 articles daily, what some high traffic groups > in deep past had, 1 000 000 would serve for about 3 years. > 2 billions up to 6000 years. One group I read is up to about 2,500,000 on the server I use, and according to Google gets up to almost 10,000 new articles per month. The really large numbers are probably in the 'binary' groups. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Thu, 13 Jul 2017 18:14
Date: Thu, 13 Jul 2017 18:14
26 lines
2427 bytes
2427 bytes
Dne 13/07/2017 v 20:02 Whiskers napsal(a): > On 2017-07-13, Poutnik <poutnik4nntp@gmail.com> wrote: >> Protected flag is the Gravity feature, with meaning of R/O flag >> for the offline article header ( + body, if downloaded ) >> in the Gravity local group database file. >> >> It can reside in the groups for years, >> until server article renumbering cause troubles to Gravity. > > By which time the article may be long gone from the server. Obviously, but that is not the question. The question is, why is there ever the need of article number reset, when the counter can last thousands of years until overflow, and when it is known the renumbering causes troubles ? Even in case of the server HW/SW refresh, there is still backup and restore. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Michael Bäuerle
Date: Thu, 13 Jul 2017 18:39
Date: Thu, 13 Jul 2017 18:39
28 lines
2430 bytes
2430 bytes
Poutnik wrote: > Dne 13/07/2017 v 20:02 Whiskers napsal(a): > > On 2017-07-13, Poutnik <poutnik4nntp@gmail.com> wrote: > > > > > > Protected flag is the Gravity feature, with meaning of R/O flag > > > for the offline article header ( + body, if downloaded ) > > > in the Gravity local group database file. > > > > > > It can reside in the groups for years, > > > until server article renumbering cause troubles to Gravity. > > > > By which time the article may be long gone from the server. > > Obviously, but that is not the question. > > The question is, why is there ever the need of article number reset, > when the counter can last thousands of years until overflow, > and when it is known the renumbering causes troubles ? > > Even in case of the server HW/SW refresh, > there is still backup and restore. Article number reset should not happen. But there are some cases that could lead to such a situation. Consider unreadable backup media after hardware failure or changing the server software (data format not compatible). If it happens, the state of the client need to be reset too.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Thu, 13 Jul 2017 19:11
Date: Thu, 13 Jul 2017 19:11
25 lines
2419 bytes
2419 bytes
Dne 13/07/2017 v 20:39 Michael Bäuerle napsal(a): > > Article number reset should not happen. But there are some cases that > could lead to such a situation. Consider unreadable backup media after > hardware failure or changing the server software (data format not > compatible). > > If it happens, the state of the client need to be reset too. > Yes, but this is obvious. I have meant normal server operations. I remember some years ago, it happened quite often to my Gravity. OTOH, I do not remember, if it was in time period when I was using direct server connections, or when I was using local article header proxy NewsPlex. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Fri, 14 Jul 2017 00:35
Date: Fri, 14 Jul 2017 00:35
46 lines
2613 bytes
2613 bytes
In article <ok73nt$61p$1@dont-email.me>, Poutnik <poutnik4nntp@gmail.com> says... > AFAIK, the groups have separate files, containing group names..... > Perhaps there are related metadata files, I do not remember. There are quite a few files that probably hold metadata, for example: ArtIDs.dat ServerIDs.dat Newsgroup List (no extension) newsrc (no extension) etc. but there aren't per-group meta files. > what if to rename the old groups files > to non existing group names, > and resubscribe ? > > Will Gravity keep the renamed orphan groups ? > I might test that in a virtual machine. Quite unusual - the extension for the files with newsgroups articles is ' g' (space + 'g') so the names of the files are as in: news.software.readers. g The 'newsrc' file contains newsgroup names, the colon and then some comma separated ranges or numbers: news.software.readers: 131720-132044,132046-132059,132061- 132066,132068-132075,132077-132303,132308-132710,132712- 132735,132752,132816- 132818,132823,132830,132837,132850,132856,132916,132920,133073,133186,1 33222-133223 However, not all of the newsgroups I am subscribed to is on the list and these numbers don't seem to corresponnd to the article numbers. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Fri, 14 Jul 2017 01:34
Date: Fri, 14 Jul 2017 01:34
104 lines
5706 bytes
5706 bytes
In article <slrnomf59h.75v.catwheezel@ID-107770.user.individual.net>, Whiskers <catwheezel@operamail.com> says... > 'Protected' seems to be something that only Gravity understands, it > isn't part of the general usenet system. I don't know what 'protected' > is meant to do. Yes, of course it is Gravity's feature - that is why I inserted the string [Gravity] at the beginning of the message subject. The articles marked by the 'protected' flag/icon should be... well, protected :-) from disappearing after certain ammount of time (set by the 'purge' options). To be more precise, the 'protected' flag is described with these words: <start copy/paste> The article is protected and cannot be purged or deleted. <end copy/paste> in the Gravity's help. Since there isn't a description similar to: 'The article is protected and cannot be purged or deleted but you will lose all the protected articles in the case article count becomes inconsistent, which from time to time/sooner or later certainly *is* going to happen - so the option really can not protect the articles as long as you wish.', I was relying the option works as described. > If you want to preserve an article indefinitely, then > 'save' it to a text file - or run your own news-server and make your own > rules for it. As I already said: <start copy/paste> I did export all the protected articles to a text file now that this happened. It is not a matter of backuping the contents but some of the protected articles are dating back in 2005 :-) and I got used having these old articles in the list. For example... <end copy/paste> Since Gravity's 'protected' flag was ment to protect/'save' the articles until the 'protected' flag is removed and since there wasn't a note that under the certain circumstances it wouldn't be able to work as expected - I was simply using that option. Since Gravity has a handy tool for backuping everything, I have still had my 10+ year old protected articles in various groups. > Usenet articles are ephemeral, they are not expected to remain for ever, > or even for very long. All news-servers have a limited 'retention' of > articles within each group, based on either the number of articles or on > the storage space they occupy. Yes but that has nothing to do with the Gravity's ability to protect the selected articles. From newsreader's point of view it is the same if the server deletes the articles after only 24 hours of after a year. > (But people do archive some groups, or > try to; Google try to do that for a large part of usenet. Some servers > have remarkably long 'retentions'). > > Servers renumbering articles is a standard part of the usenet system. > It doesn't happen often, so it can catch people out, and it affects all > newsreaders equally. The user has to unsubscribe from the group(s) > concerned and then subscribe again, which is a nuisance as you lose > track of which articles have been 'marked as read', but that is only > a temporary problem. As I said: <start copy/paste> But if somebody was to write a news client he would have to account for the fact article count sometimes might be reset!? If that is not something unusual then occurrence of such an event should not cause loss of the articles that were *protected* :-/ <end copy/paste> In other words - if we can expect the article count could sooner or later become inconsistent but we still would like to implement the option to protect the selected articles - then we would have to deal with the fact we know about the article count. I believe almost every programmer can, in just a few minutes, think of at least 10 algorithms which would prevent losing the protected articles when article count disruption occurs. > The renumbering happens because news-servers can't cope with article > numbers that get bigger for ever. RFC 3977 section 6 sets a maximum > article number of 2,147,483,647. While that might be the case when the article count overflows, I think it would be statistically near to impossible for that to happen to 10 or even 15 newsgroups at the same time - even if we would account for all the newsgroups that exist and not only for the small subset to which one user has been subscribed. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Fri, 14 Jul 2017 05:54
Date: Fri, 14 Jul 2017 05:54
51 lines
3118 bytes
3118 bytes
Dne 14/07/2017 v 02:35 Chupo napsal(a): > > etc. but there aren't per-group meta files. Yes, I had in mind groups specific metadata. I was not sure if there are any. >> what if to rename the old groups files >> to non existing group names, >> and resubscribe ? >> >> Will Gravity keep the renamed orphan groups ? >> > > I might test that in a virtual machine. Quite unusual - the extension > for the files with newsgroups articles is ' g' (space + 'g') so the > names of the files are as in: > > news.software.readers. g Yes, this I remember. Quite funny. > > The 'newsrc' file contains newsgroup names, the colon and then some > comma separated ranges or numbers: > > news.software.readers: 131720-132044,132046-132059,132061- > 132066,132068-132075,132077-132303,132308-132710,132712- > 132735,132752,132816- > 132818,132823,132830,132837,132850,132856,132916,132920,133073,133186,1 > 33222-133223 > > However, not all of the newsgroups I am subscribed to is on the list > and these numbers don't seem to corresponnd to the article numbers. > Is this not corresponding of numbers related to the renumbering, or does it apply even to not renumbered groups ? It is possible the read groups do not have a record in the newsrc group. In any case, you would need to rename the groups in newsrc as well... IMHO, it is worthy to try, effectively turning the original group into archive. But before such renaming, cancel any automatic update operations for these groups. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Fri, 14 Jul 2017 06:14
Date: Fri, 14 Jul 2017 06:14
45 lines
3106 bytes
3106 bytes
Dne 14/07/2017 v 03:34 Chupo napsal(a): > > Yes, of course it is Gravity's feature - that is why I inserted the > string [Gravity] at the beginning of the message subject. > > The articles marked by the 'protected' flag/icon should be... well, > protected :-) from disappearing after certain ammount of time (set by > the 'purge' options). To be more precise, the 'protected' flag is > described with these words: > > <start copy/paste> > The article is protected and cannot be purged or deleted. > <end copy/paste> > > in the Gravity's help. > And the articles are still protected and cannot be purged or deleted. IMHO, the protected flag was not really meant for long term storage. I periodically review protected articles, some of them I delete, not seeing them as such important, and those worthy of keeping I move to thematical documents. These documents have also different sources than Usenet. > In other words - if we can expect the article count could sooner or > later become inconsistent but we still would like to implement the > option to protect the selected articles - then we would have to deal > with the fact we know about the article count. It is a common thing software not always work like we expect or want. It may be the software fault working like that, but it is our fault not expecting that. As Gravity is effectively a dead project, take it as is, unless you can and want to continue its development. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Whiskers
Date: Fri, 14 Jul 2017 13:02
Date: Fri, 14 Jul 2017 13:02
28 lines
2544 bytes
2544 bytes
On 2017-07-13, Poutnik <poutnik4nntp@gmail.com> wrote: > Dne 13/07/2017 v 20:39 Michael Bäuerle napsal(a): > >> >> Article number reset should not happen. But there are some cases that >> could lead to such a situation. Consider unreadable backup media after >> hardware failure or changing the server software (data format not >> compatible). >> >> If it happens, the state of the client need to be reset too. >> > Yes, but this is obvious. > I have meant normal server operations. > > I remember some years ago, it happened quite often to my Gravity. > > OTOH, I do not remember, if it was in time period > when I was using direct server connections, > or when I was using local article header proxy NewsPlex. Once upon a time, news servers ran on 16-bit or even 8-bit hardware; that limits the largest integer that can be easily handled. The current limit assumes 32-bit processing is in use. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Fri, 14 Jul 2017 13:14
Date: Fri, 14 Jul 2017 13:14
27 lines
2640 bytes
2640 bytes
Dne 14.7.2017 v 15:02 Whiskers napsal(a): > On 2017-07-13, Poutnik <poutnik4nntp@gmail.com> wrote: >>> >> Yes, but this is obvious. >> I have meant normal server operations. >> >> I remember some years ago, it happened quite often to my Gravity. >> >> OTOH, I do not remember, if it was in time period >> when I was using direct server connections, >> or when I was using local article header proxy NewsPlex. > > Once upon a time, news servers ran on 16-bit or even 8-bit hardware; > that limits the largest integer that can be easily handled. The current > limit assumes 32-bit processing is in use. Yes. I did some Z80 assembler programming in late 80s. But the article numbers were in my Gravity case definitely bigger than 16 bit. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Fri, 14 Jul 2017 14:22
Date: Fri, 14 Jul 2017 14:22
55 lines
4073 bytes
4073 bytes
In article <okafsu$35o$1@dont-email.me>, Poutnik <poutnik4nntp@gmail.com> says... > Yes. I did some Z80 assembler programming in late 80s. What a coincidence :-) I started with Z80 assembler (on ZX Spectrum) in the 1st half of the 80s as well. A few years ago I rediscovered Z80 when I saw SjASMPlus Z80 crosscompiler can directly create .sna file for using in ZX Spectrum emulators. Here is a small demo I made in 2012. but have uploaded only recently: https://youtu.be/I-oCUoGAaPA It is a demo of Z80's interrupt mode 2 moving the blue square in the background while not disturbing the Basic interpreter. And here is a text scroller running in interrupt mode 2 routine: https://youtu.be/eGDLdf3nZL0 The time taken by interrupt routine can be estimated by observing the border (blue bar at the top) because at the beginning of the interrupt routine (upon VBANK when electron beam is during vertical retrace returning back to the top) the border color is changed to cyan - and before leaving the interrupt routine the color is returned to white. Recently I decided to try to write a program that will run on the original Pac-Man hardware (based on Z80). I've already finished routines for displaying the tiles and the sprites and I am just finishing the code for converting the .bmp images into the binary format for Pac-Man's ROMs. Since I do not have an original arcade machine I am using MAME to run and debug the code I write. I would prefer to write a program for Scramble hardware which has 8 way joystick, 2 buttons and hardware scroll of the background tiles but I still don't have enough information on that hardware. Seems as the only way to gather the info about Scramble hardware is to analyze MAME's source code which may take weeks. On the other hand, I have all the information I need to write a program for Pac-Man hardware but it has only 4 way joystick, no additional buttons and no hardware scroll. I could use 1 Player Start and 2 Players Start buttons instead of 'real' buttons but since it is not possible to write directly into the video RAM (you can only display the tile defined in ROM) it would be very complicated to make a scrolling game, that's why all games based on the original Pac-Man hardware have static screen (Ms. Pac-Man HW has hardware scroll but at the expence of color depth). -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [OT][Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Sat, 15 Jul 2017 08:10
Date: Sat, 15 Jul 2017 08:10
53 lines
3790 bytes
3790 bytes
Dne 14/07/2017 v 16:22 Chupo napsal(a): > In article <okafsu$35o$1@dont-email.me>, Poutnik > <poutnik4nntp@gmail.com> says... >> Yes. I did some Z80 assembler programming in late 80s. > > > What a coincidence :-) I started with Z80 assembler (on ZX Spectrum) in > the 1st half of the 80s as well. A few years ago I rediscovered Z80 > when I saw SjASMPlus Z80 crosscompiler can directly create .sna file > for using in ZX Spectrum emulators. > > Here is a small demo I made in 2012. but have uploaded only recently: > > https://youtu.be/I-oCUoGAaPA > > It is a demo of Z80's interrupt mode 2 moving the blue square in the > background while not disturbing the Basic interpreter. > > And here is a text scroller running in interrupt mode 2 routine: > > https://youtu.be/eGDLdf3nZL0 > > The time taken by interrupt routine can be estimated by observing the > border (blue bar at the top) because at the beginning of the interrupt > routine (upon VBANK when electron beam is during vertical retrace > returning back to the top) the border color is changed to cyan - and > before leaving the interrupt routine the color is returned to white. > > Recently I decided to try to write a program that will run on the > original Pac-Man hardware (based on Z80). ...... It is nice to see. I got ZX Spectrum as well in 1986. Nothing beats the computer user amusement from that time. I did not make much programming then, even if I had a book with the commented ZX Spectrum ROM Assembler. I have learnt a lot from it. I made most of my Z80 assembler programming in M80 on CP/M on Sharp 800 Z80 computer, with the dreamy home made ( not by me ) 5.25in diskette mechanic and 256 MB ramdisk. I made some assembler graphical routines for CP/M Turbo Pascal, or for fun, some simple cell live screen simulation combined with C. -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Chupo
Date: Sat, 15 Jul 2017 22:51
Date: Sat, 15 Jul 2017 22:51
54 lines
2745 bytes
2745 bytes
Update: All of a sudden Gravity fetched this article: http://tinyurl.com/yauo56e6 which is in one of the newsgroups that were affected by article count renumbering we are talking about. As you can see I successfully replied in that thread but Gravity didn't fetch any of other articles from this thred - not even mine. Gravity fetched only the first article from that thread which has article number 173733. The problem seems to be this older article: https://groups.google.com/forum/#!topic/hr.sci.elektronika/oXAU2hc85nc has article number 174204 which is greater. Now I can see why that happened - from the headers of older protected articles I can see the lines similar to: Xref: news1.t-com.hr hr.sci.elektronika:174204 and the most recent articles from the same newsgroup have Xref line similar to: Xref: Iskon hr.sci.elektronika:173733 t-com and Iskon are different croatian telecom operators so according to these headers looks like they switched the servers. Although I have: news.t-com.hr set in the newsgroup server settings it now looks as I am receiving the data through: news.iskon.hr I am thinking of searching for 173733, 174204 and other arcitle numbers through newsgroup database files opened in hex editor to see if I can find those numbers and conclude how I can locate every article number and the I will try to change the article numbers of all older articles to some lower value. There is a chance these numbers are stored as 4 byte integers and I am going to chech for both Big-Endian and Little-Endian formats. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo
Re: [Gravity] Newsserver has reset all the article numbers
Author: J. Clarke
Date: Sun, 16 Jul 2017 14:42
Date: Sun, 16 Jul 2017 14:42
33 lines
2605 bytes
2605 bytes
In article <MPG.33d05189e15a9d0898a121@news.newsguy.com>, kilgore.trout@example.invalid says... > > In article <ok4gq2$lpr$1@dont-email.me>, poutnik4nntp@gmail.com says... > > > > > As there was zero or one developer in last many years, > > and as currently Gravity seems like abandoned, > > it is not probable to be fixed. > > The last version available of Gravity is 3.0.4, released in September 2009 > (even though Sourceforge says 2013-03-30). > > That can be downloaded here, along with the source: > > https://sourceforge.net/projects/mpgravity/ > > It sure looks abandoned at this point :-( > > I don't know squat about programming in C, nor do I have a copy of MS Visual > Studio, otherwise I'd take a poke at fixing the bugs that 3.0.4 has. I tried > the free VS, but it's missing the libraries that only the full versions > have,and won't compile. First, it's C++, not C. C++ is related to C but they have diverged enough that it's considered a different language. Second, Visual Studio Community 2017 seems to have all the needed libraries, but you have to run the installer and explicitly select "MFC". There are some other issues that seem to be related to features that were deprecated when Gravity was last released and are gone now. I don't know if there are easy workarounds.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Kilgore Trout
Date: Sun, 16 Jul 2017 20:41
Date: Sun, 16 Jul 2017 20:41
30 lines
2281 bytes
2281 bytes
In article <MPG.33d54557d761057998ae52@news.eternal-september.org>, j.clarke.873638@gmail.com says... > > In article <MPG.33d05189e15a9d0898a121@news.newsguy.com>, > kilgore.trout@example.invalid says... > > > > In article <ok4gq2$lpr$1@dont-email.me>, poutnik4nntp@gmail.com says... > First, it's C++, not C. C++ is related to C but they have diverged enough > that it's considered a different language. It's all Greek to me :-D > Second, Visual Studio Community 2017 seems to have all the needed > libraries, but you have to run the installer and explicitly select "MFC". I now see that. I previously tried the Express editon several years ago, which did not include MFC. > There are some other issues that seem to be related to features that were > deprecated when Gravity was last released and are gone now. I don't know > if there are easy workarounds. Something to play with in my 'spare' time, although I'm probably tilting at windmills trying to work on this. I'm retired, so I do have some spare time, but family issues keep stealing that away. -- Al McCann albert(dot)mccann(at)outlook(dot)com
Re: [Gravity] Newsserver has reset all the article numbers
Author: J. Clarke
Date: Sun, 16 Jul 2017 22:42
Date: Sun, 16 Jul 2017 22:42
34 lines
2790 bytes
2790 bytes
In article <MPG.33d599a0b51607ec98a123@news.newsguy.com>, kilgore.trout@example.invalid says... > > In article <MPG.33d54557d761057998ae52@news.eternal-september.org>, > j.clarke.873638@gmail.com says... > > > > In article <MPG.33d05189e15a9d0898a121@news.newsguy.com>, > > kilgore.trout@example.invalid says... > > > > > > In article <ok4gq2$lpr$1@dont-email.me>, poutnik4nntp@gmail.com says... > > > First, it's C++, not C. C++ is related to C but they have diverged enough > > that it's considered a different language. > > It's all Greek to me :-D If you think that wait til' you get a load of APL:) > > Second, Visual Studio Community 2017 seems to have all the needed > > libraries, but you have to run the installer and explicitly select "MFC". > > I now see that. I previously tried the Express editon several years ago, which > did not include MFC. > > > There are some other issues that seem to be related to features that were > > deprecated when Gravity was last released and are gone now. I don't know > > if there are easy workarounds. > > Something to play with in my 'spare' time, although I'm probably tilting at > windmills trying to work on this. I'm retired, so I do have some spare time, > but family issues keep stealing that away. I'm glad somebody's looking at it. I would but I fix busted code at work-- I don't really want to look at it for play.
Re: [Gravity] Newsserver has reset all the article numbers
Author: Bob
Date: Mon, 17 Jul 2017 00:17
Date: Mon, 17 Jul 2017 00:17
40 lines
3098 bytes
3098 bytes
In article <ok8a9m$48a$1@dont-email.me>, poutnik4nntp@gmail.com says... > > Dne 13/07/2017 v 17:43 Whiskers napsal(a): > > > > 'Protected' seems to be something that only Gravity understands, it > > isn't part of the general usenet system. I don't know what 'protected' > > is meant to do. If you want to preserve an article indefinitely, then > > 'save' it to a text file - or run your own news-server and make your own > > rules for it. > > Protected flag is the Gravity feature, with meaning of R/O flag > for the offline article header ( + body, if downloaded ) > in the Gravity local group database file. > > It can reside in the groups for years, > until server article renumbering cause troubles to Gravity. > > > > > > Servers renumbering articles is a standard part of the usenet system. > > It doesn't happen often, so it can catch people out, and it affects all > > newsreaders equally. The user has to unsubscribe from the group(s) > > concerned and then subscribe again, which is a nuisance as you lose > > track of which articles have been 'marked as read', but that is only > > a temporary problem. > > > > The renumbering happens because news-servers can't cope with article > > numbers that get bigger for ever. RFC 3977 section 6 sets a maximum > > article number of 2,147,483,647. > > <http://www.faqs.org/rfcs/rfc3977.html> > > <https://en.wikipedia.org/wiki/2,147,483,647> > > > AFAIK, I an not sure if have ever seen > an article number higher than a few millions. > With 1000 articles daily, what some high traffic groups > in deep past had, 1 000 000 would serve for about 3 years. > 2 billions up to 6000 years. 2,147,483,647 is 2^31 - 1, which is the largest signed 32 bit integer, IIRC. Bob
Re: [Gravity] Newsserver has reset all the article numbers
Author: Poutnik
Date: Mon, 17 Jul 2017 06:16
Date: Mon, 17 Jul 2017 06:16
22 lines
2242 bytes
2242 bytes
Dne 17/07/2017 v 02:17 Bob napsal(a): > In article <ok8a9m$48a$1@dont-email.me>, poutnik4nntp@gmail.com says... >> >>> >> AFAIK, I an not sure if have ever seen >> an article number higher than a few millions. >> With 1000 articles daily, what some high traffic groups >> in deep past had, 1 000 000 would serve for about 3 years. >> 2 billions up to 6000 years. > > 2,147,483,647 is 2^31 - 1, which is the largest signed 32 bit integer, IIRC. > Yes, sure, I am aware of that. Not that I exactly remember the number, I just know it is 2,1xx,xxx,xxx -- Poutnik ( The Pilgrim, Der Wanderer ) A wise man guards words he says, as they say about him more, than he says about the subject.
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