🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by Christopher Gunn Wed, 20 Oct 1999 00:00
[Xnews] Repeated lockup trashes newsrc
#53280
Author: Christopher Gunn
Date: Wed, 20 Oct 1999 00:00
31 lines
1849 bytes
I was bit by this bug several times with a slightly older version of Xnews;  
I upgraded to 2.09.30 a few weeks ago and thought that the change had fixed 
the problem, but last night it got me again.

What happens is that first I get the popup message:

   " is not a valid integer value

usually in response to a function-key operation, typically shift-F8 to mark 
all items read.

Subsequently, ANY attempt to quit, save, or even stop the program with ctl-
DEL from the shell brings up the message:

   Xnews could not access file <bunchoftext>.newsrc

(This is not the exact message, but similar.)  If I force an exit from the 
shell with repeated ctl-DEL's, I discover that my NEWSRC file has been 
clobbered, and there is no backup.  Basically, I've lost all record of what 
I've read in the newsgroups I've accessed.

What gives?  This is not a reproducable error, but it's now happened with 
two versions of Xnews, including one quite recent one.

-- 
Christopher Gunn
cgunn@ukans.edu                 561-361-7142
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53316
Author: GM
Date: Thu, 21 Oct 1999 00:00
20 lines
1319 bytes
cgunn@ukans.edu (Christopher Gunn) wrote in
<8E6616E03cgunnukansedu@63.10.16.11>: 

>cgunn@ukans.edu (Christopher Gunn) wrote in
><8E64D82BBcgunnukansedu@63.10.17.154>: 
>[snip]
>

You probably know this already, but you can have Xnews make automatic
backups of your .newsrc (xnews.ini|[Misc] BackUpNewsRC=1), it has the
.newsrc.bak extension. Or does this also get trashed when the program
crashes on you? 

Gregory

-- 
Make this a valid address:
put the land before the news.

Re: [Xnews] Repeated lockup trashes newsrc
#53331
Author: Christopher Gunn
Date: Thu, 21 Oct 1999 00:00
47 lines
2824 bytes
cgunn@ukans.edu (Christopher Gunn) wrote in
<8E64D82BBcgunnukansedu@63.10.17.154>: 

Feel funny following up my own post but this just struck me again.  
Immediate prior action to disaster was shift-F8 to mark all items in a 
newsgroup as read....  I was able to save the LAST newsrc file this time by 
immediately going into the Xnews folder and copying the ...newsrc file to a 
safe place.  Apparently, the newsrc file does not get erased by the '...is 
not an integer value' problem.  It is not until Xnews starts complaining 
about not accessing the newsrc file that the old one is erased.  Still, I 
lost a session's worth of marking posts read.  What's going on here?  I 
know I'm not the only one with this problem, I've seen other posts with the 
'...not an integer value' message reported.  But so far there's been no 
solution that I've seen.  Help please, this is a BAD bug!

>I was bit by this bug several times with a slightly older version of
>Xnews;  I upgraded to 2.09.30 a few weeks ago and thought that the
>change had fixed the problem, but last night it got me again.
>
>What happens is that first I get the popup message:
>
>   " is not a valid integer value
>
>usually in response to a function-key operation, typically shift-F8 to
>mark all items read.
>
>Subsequently, ANY attempt to quit, save, or even stop the program with
>ctl- DEL from the shell brings up the message:
>
>   Xnews could not access file <bunchoftext>.newsrc
>
>(This is not the exact message, but similar.)  If I force an exit from
>the shell with repeated ctl-DEL's, I discover that my NEWSRC file has
>been clobbered, and there is no backup.  Basically, I've lost all record
>of what I've read in the newsgroups I've accessed.
>
>What gives?  This is not a reproducable error, but it's now happened
>with two versions of Xnews, including one quite recent one.
>

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53336
Author: semanticist
Date: Fri, 22 Oct 1999 00:00
19 lines
1577 bytes
cgunn@ukans.edu (Christopher Gunn) spake this:

>Both the original and the backup are deleted;  the original is replaced
>by a file of size = 0, date the same as the time of the crash.
>

Have you tried manually saving the file periodically under Menu:
Special|Save Newsrc ? It doesn't seem likely, but it may be worth trying.
I would also wonder whether having the newsrc file in its default
location or not would make a difference. A simple workaround might be to
write a DOS batch file that copies your newsrc file to a safe location,
and run it periodically as you go. It seems odd that it would trash the
file. I've had more system crashes than I care to remember ;( , but my
newsrc file has never been nuked: I always get back a good copy of the
last saved version. HTH?!? 

rdb

Re: [Xnews] Repeated lockup trashes newsrc
#53347
Author: Ross Presser
Date: Fri, 22 Oct 1999 00:00
22 lines
1795 bytes
alt.distinguished.cgunn@ukans.edu (Christopher
Gunn).wrote.posted.offered: 

>Oh, another bug I've noticed in the last couple of days, perhaps related
>and perhaps not:  sometimes a newsgroup that shows (say) 20 messages 
>unread, 420 read, will come up when opened with ALL messaged (including
>the read ones) displayed.  The options I've set should allow only unread
>messages to be displayed, which is the behavior that usually happens. 
>But not always.
>

I believe it has been established that if Xnews crashes while a group is
open, the .hdr files are not deleted, and when Xnews starts up again, it
sees the .hdr file and turns on header storage for that group. 

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

Re: [Xnews] Repeated lockup trashes newsrc
#53357
Author: Luu Tran
Date: Fri, 22 Oct 1999 00:00
14 lines
1170 bytes
semanticist@lurker.com wrote in <8E674D462p3141592654i@205.242.11.168>:

>Also, this is a shot in the dark, but it
>might help to delete your newsrc, and then let XN build a fresh one. 


That would be my suggestion.  And clear out your data\ folder for good 
measure.

-- 
  luu 
author of Xnews - http://xnews.3Dnews.net

Re: [Xnews] Repeated lockup trashes newsrc
#53362
Author: Christopher Gunn
Date: Fri, 22 Oct 1999 00:00
60 lines
3883 bytes
semanticist@lurker.com wrote in <8E674BA6p3141592654i@205.242.11.148>:

>cgunn@ukans.edu (Christopher Gunn) spake this:
>
>>Both the original and the backup are deleted;  the original is replaced
>>by a file of size = 0, date the same as the time of the crash.
>>
>
>Have you tried manually saving the file periodically under Menu:
>Special|Save Newsrc ? It doesn't seem likely, but it may be worth trying.
>I would also wonder whether having the newsrc file in its default
>location or not would make a difference. A simple workaround might be to
>write a DOS batch file that copies your newsrc file to a safe location,
>and run it periodically as you go. It seems odd that it would trash the
>file. I've had more system crashes than I care to remember ;( , but my
>newsrc file has never been nuked: I always get back a good copy of the
>last saved version. HTH?!? 

This would work as an awkward interim fix....  The problem has happened 
once more and I now have a better idea about the sequence of events.  
Basically, once I see the "... is not an integer value" message then I'm 
hosed, but the file problems don't occur exactly THEN.  I can copy the 
latest (i.e., previous) .newsrc to a safe location and restore it later.  
What then happens appears to be that, upon any attempt to exit the program:

-a new, empty .newsrc file is successfully created
-the old ...newsrc.BAK is deleted
-an attempt to copy the previous .newsrc information to a new ...BAK fails
-an attempt (if any) to write to the news .newsrc file fails
-I can keep on doing *some* operations, such as continue to read posts;
  but nothing involving writing to a file (including attempting a manual
  save at this point) works

Thus I have no .BAK file and an empty .newsrc.  If I've copied the .newsrc 
somewhere, I've at least got the latest version.  I'll start doing a manual 
save periodically so that this latest version will have most of the current 
session's changes.  But this falls short of an ideal situation....

Oh, another bug I've noticed in the last couple of days, perhaps related 
and perhaps not:  sometimes a newsgroup that shows (say) 20 messages 
unread, 420 read, will come up when opened with ALL messaged (including the 
read ones) displayed.  The options I've set should allow only unread 
messages to be displayed, which is the behavior that usually happens.  But 
not always.

This is Xnews 2.09.30, running on a two-month-old HP 'Pavilion' 4550Z with 
W98 2nd ed. and no other known software problems.

Suggestions on how to proceed at this point?  This is unfortunately not a 
reproducable problem, although it is a recurring one....  If there's a 
trigger or predictive behavior that preceeds the problem, I haven't deduced 
it yet....

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53363
Author: Christopher Gunn
Date: Fri, 22 Oct 1999 00:00
26 lines
1673 bytes
marti@mainews.com.invalid (GM) wrote in 
<pjAP3.24433$E_1.1331203@typ11.nn.bcandid.com>:

>cgunn@ukans.edu (Christopher Gunn) wrote in
><8E6616E03cgunnukansedu@63.10.16.11>: 
>
>>cgunn@ukans.edu (Christopher Gunn) wrote in
>><8E64D82BBcgunnukansedu@63.10.17.154>: 
>>[snip]
>>
>
>You probably know this already, but you can have Xnews make automatic
>backups of your .newsrc (xnews.ini|[Misc] BackUpNewsRC=1), it has the
>.newsrc.bak extension. Or does this also get trashed when the program
>crashes on you? 

Both the original and the backup are deleted;  the original is replaced by 
a file of size = 0, date the same as the time of the crash.

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53368
Author: semanticist
Date: Fri, 22 Oct 1999 00:00
45 lines
3189 bytes
cgunn@ukans.edu (Christopher Gunn) spake this:
 
>Basically, once I see the "... is not an integer value" message then I'm
>hosed, but the file problems don't occur exactly THEN.  I can copy the 
>latest (i.e., previous) .newsrc to a safe location and restore it later.
>What then happens appears to be that, upon any attempt to exit the
>program: 
>  -a new, empty .newsrc file is successfully created
>  -the old ...newsrc.BAK is deleted
>  -an attempt to copy the previous .newsrc information to a new ...BAK
>   fails -an attempt (if any) to write to the news .newsrc file fails
>  -I can keep on doing *some* operations, such as continue to read
>   posts; but nothing involving writing to a file (including attempting a
>   manual save at this point) works

>Oh, another bug I've noticed in the last couple of days, perhaps related
>and perhaps not:  sometimes a newsgroup that shows (say) 20 messages 
>unread, 420 read, will come up when opened with ALL messaged (including
>the read ones) displayed.  The options I've set should allow only unread
>messages to be displayed, which is the behavior that usually happens. 
>This is Xnews 2.09.30, running on a two-month-old HP 'Pavilion' 4550Z
>with W98 2nd ed. and no other known software problems.
>Suggestions on how to proceed at this point?

You could try running Dr. Watson from Win98's msinfo32.exe utility. It
will record a log file of various system information at the time of the
crash. It's a little cumbersome to use, but it might give you some clue
as to where to look further. Also, this is a shot in the dark, but it
might help to delete your newsrc, and then let XN build a fresh one. If 
nothing else works, I would probably document everything as precisely as 
possible and post it up with "PING: Luu Tran" in the header. It may be
some of that murky tech stuff. 

As far as unread articles loading, what options do you have set? It's not
entirely clear what's happening from your description. At worst, you can
always simply filter out read articles, anyway. If the two phenomena are
related, perhaps XN and your server are having problems synchronizing
message lists? Someone schooled in the ways of NNTP might be able to
provide help if this is the case. I'm afraid my laymans' bag of tricks is
running fallow. 

rdb


Re: [Xnews] Repeated lockup trashes newsrc
#53379
Author: Christopher Gunn
Date: Sat, 23 Oct 1999 00:00
36 lines
2784 bytes
semanticist@lurker.com wrote in <8E674D462p3141592654i@205.242.11.168>:

>[....] Also, this is a shot in the dark, but it
>might help to delete your newsrc, and then let XN build a fresh one.

The lockup/crash(whatever you want to call it) *itself* deletes the 
existing newsrc;  when I crank it up again, it does in fact build a new one 
from scratch.  I thought that had fixed the problem, but it has since 
recurred.

>As far as unread articles loading, what options do you have set? It's not
>entirely clear what's happening from your description. At worst, you can
>always simply filter out read articles, anyway. If the two phenomena are
>related, perhaps XN and your server are having problems synchronizing
>message lists? Someone schooled in the ways of NNTP might be able to
>provide help if this is the case. I'm afraid my laymans' bag of tricks is
>running fallow. 

I've got it set not to retrieve headers for read articles.  This occasional 
problem of a bunch of read headers appearing (rarer than the file-loss 
crashes) isn't anything of consequence.  I just suspected that it might be 
related in an odd way.  As you suggest, Xnews appears to be getting 
confused about what *should* be in the newsrc file....  Now to figure out a 
way to find out what.  AT&T Worldnet nntp service is not particularly good-
-slow and erratic would be overly kind.  Maybe it is a server problem, but 
there's no way ever to get the Worldnet folks to admit it.  The have 
erected many, many layers of bureaucracy between the poor users and anybody 
who might actually be able to fix things.

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53395
Author: Christopher Gunn
Date: Sat, 23 Oct 1999 00:00
26 lines
2038 bytes
luutran@geocities_.com.invalid (Luu Tran) wrote in 
<8E675BDA7luutrangeocities@209.86.199.113>:

>semanticist@lurker.com wrote in <8E674D462p3141592654i@205.242.11.168>:
>
>>Also, this is a shot in the dark, but it
>>might help to delete your newsrc, and then let XN build a fresh one. 
>
>That would be my suggestion.  And clear out your data\ folder for good 
>measure.

As I said in another post just before this, the crash situation clobber the 
newsrc file, so a new one gets rebuilt the next time I invoke Xnews.  I 
hope each time that this will fix the problem, but so far it hasn't.

What do I lose when I delete the files in the data folder?  There are some 
fairly big ones there, representing only a few of the newsgroups I've been 
reading regularly.  I'm not finding this in the on-line manual....

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews] Repeated lockup trashes newsrc
#53403
Author: Christopher Gunn
Date: Sat, 23 Oct 1999 00:00
34 lines
2495 bytes
rpresser@NOSPAMimtek.com.invalid (Ross Presser) wrote in 
<8E67672E9pt101594@10.4.0.21>:

>alt.distinguished.cgunn@ukans.edu (Christopher
>Gunn).wrote.posted.offered: 
>
>>Oh, another bug I've noticed in the last couple of days, perhaps related
>>and perhaps not:  sometimes a newsgroup that shows (say) 20 messages 
>>unread, 420 read, will come up when opened with ALL messaged (including
>>the read ones) displayed.  The options I've set should allow only unread
>>messages to be displayed, which is the behavior that usually happens. 
>>But not always.
>>
>
>I believe it has been established that if Xnews crashes while a group is
>open, the .hdr files are not deleted, and when Xnews starts up again, it
>sees the .hdr file and turns on header storage for that group. 

I'm beginning to think we're getting somewhere.  This 'lockup' bug occurs 
typically when I've been marching through numerous newsgroups (often late 
at night) using shift-F8 to mark read numerous posts.  Now, F7 causes 
storage of headers, which would cause the 'read articles re-appearing' 
problem.  What would shift-F7, or hitting F7 followed by shift-F8, do....  
I will follow Luu's advice and wipe out the data folder, then see (after 
saving things) whether I can replicate the problem I'm having with the F7 
and/or F9 keys....

-- 
Christopher Gunn
cgunn@ukans.edu                 337-474-5226
University of Kansas Department of Sociology
Fraser Hall, Lawrence, KS  66045

Re: [Xnews]: List-view option
#54663
Author: Ross Presser
Date: Mon, 29 Nov 1999 00:00
29 lines
1744 bytes
alt.distinguished.bbolsoey@rl.no.nospam (Bj�rnar 
Bols�y).wrote.posted.offered:

>
> When I select a message the cursor is activated in
> the message window instead of staying on the subject
> line. This is a bit troublesome when I want to move 
> through messages quickly using the arrow keys.
> Is there another way of doing this that I'm missing?

[I assume you want choices that allow you to keep your fingers on the 
keyboard.]

You can bind a key (I use ctrl-/) to acvSwitchView which moves the focus 
from the message pane to the headers pane.

You can use F12 to temporarily unsplit the pane before selecting a message 
with the mouse.

You can move through messages somewhat quickly while marking them read by 
using the [ key. 

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

[Xnews]: List-view option
#54672
Author: Bj�rnar Bols�y
Date: Mon, 29 Nov 1999 00:00
11 lines
1065 bytes
 When I select a message the cursor is activated in
 the message window instead of staying on the subject
 line. This is a bit troublesome when I want to move 
 through messages quickly using the arrow keys.
 Is there another way of doing this that I'm missing?


 Regards...

Re: [Xnews]: List-view option
#54696
Author: Bj�rnar Bols�y
Date: Tue, 30 Nov 1999 00:00
14 lines
1197 bytes
rpresser@NOSPAMimtek.com.invalid (Ross Presser) wrote in
<8E8D8D922pt101594@199.45.45.11>: 

>You can move through messages somewhat quickly while marking them read
>by using the [ key. 

That's the one I was looking for, a thousend thanks.
And, I just figured out the keyboard mapping, this
is brilliant. :)


Regards...

Re: [Xnews]: List-view option
#54824
Author: Jeff Knapp
Date: Fri, 03 Dec 1999 00:00
17 lines
1279 bytes
bbolsoey@rl.no.nospam (Bj�rnar Bols�y) wrote in 
<8E8EAC94Dbbolsoeyrlteliano@194.19.1.61>:

> When I select a message the cursor is activated in
> the message window instead of staying on the subject
> line. This is a bit troublesome when I want to move 
> through messages quickly using the arrow keys.
> Is there another way of doing this that I'm missing?

I use the arrow keys on the number-pad.  Works greast, use 5 to read the 
article.  That way I don't have to load up every article like when I use [, 
I can just hit the articles I want.

Jeff


Re: [Xnews]: List-view option
#54843
Author: Ross Presser
Date: Fri, 03 Dec 1999 00:00
16 lines
1374 bytes
alt.distinguished.director@gti.net (Jeff Knapp).wrote.posted.offered:

>I use the arrow keys on the number-pad.  Works greast, use 5 to read the
>article.  That way I don't have to load up every article like when I use
>[, I can just hit the articles I want.

Amazing!  I had *NO* idea that existed.  One more chalk mark on the board
for Luu! 

-- 
Ross Presser
ross_presser@imtek.com
"And if you're the kind of person who parties with a bathtub full of
pasta, I suspect you don't care much about cholesterol anyway."

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