🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #53362

Re: [Xnews] Repeated lockup trashes newsrc

#53362
From: 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

Technical Details
Message-ID: <8E6724FF0cgunnukansedu@63.10.15.200>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <8E64D82BBcgunnukansedu@63.10.17.154> <8E6616E03cgunnukansedu@63.10.16.11> <pjAP3.24433$E_1.1331203@typ11.nn.bcandid.com> <8E66CBD6Bcgunnukansedu@63.10.16.1> <8E674BA6p3141592654i@205.242.11.148>

Show Full Headers
Complete Article Headers
Message-ID: <8E6724FF0cgunnukansedu@63.10.15.200>
Subject: Re: [Xnews] Repeated lockup trashes newsrc
Date: Fri, 22 Oct 1999 00:00:00 +0000
From: cgunn@ukans.edu (Christopher Gunn)
References: <8E64D82BBcgunnukansedu@63.10.17.154> <8E6616E03cgunnukansedu@63.10.16.11> <pjAP3.24433$E_1.1331203@typ11.nn.bcandid.com> <8E66CBD6Bcgunnukansedu@63.10.16.1> <8E674BA6p3141592654i@205.242.11.148>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 539184263
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc01.worldnet.att.net 940581136 27185 63.10.15.200 (22 Oct 1999 08:32:16 GMT)
Organization: University of Kansas
User-Agent: Xnews/2.09.30
NNTP-Posting-Date: 22 Oct 1999 08:32:16 GMT
Newsgroups: news.software.readers