Am I Mis-Understanding Old/New Headers.

Post Reply
JohnE
Posts: 7
Joined: Thu Dec 08, 2011 9:52 pm

Am I Mis-Understanding Old/New Headers.

Post by JohnE »

I'm not sure if this might just be me misunderstanding something.

I've attached a screenshot of one group, with "New" checked. I then mark all messages as "Old", using the "Old Man" button in the taskbar, and close the group.

If I immediately do a "Open&get new headers", I don't see anything being pulled from the server, and with a select "New", nothing shows up, which I'm guessing is correct.

However, if I exit the program, reload it, and then select "Open&get new headers", I see headers being pulled from the server, and when I select "New" I see exactly the same list of headers as before.

I've also included a shot of the Newsgoups settings, which incidentally shows a retention of 120 days, yet some of the "new" headers show older than that.

This issue is happening on multiple, if not all, the groups I am subscribed to.
Attachments
NewsGroupProperties.jpg
NewsGroupProperties.jpg (119.5 KiB) Viewed 10886 times
NewsGroupMessages.jpg
NewsGroupMessages.jpg (162.99 KiB) Viewed 10886 times
alex
Posts: 4538
Joined: Thu Feb 27, 2003 5:57 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by alex »

Retention is automatically applied on loading newsgroup it means headers older than 120 days will be gone when you reload (given your retention setting), the question then is why the older headers are redownloaded.

If you unload the newsgroup (from workspace right click newsgroup -> advanced -> unload) then open&get headers again are the headers still redownloaded?

If they are try to reset headers or header ranges (advanced), then check if the same behaviour persists, maybe the server has changed header ranges.

If headers are not redownloaded would mean settings are not saved somehow (interference?).

What about this partial 64d, @ MisteryMan was it there already? If not clear try to open newsgroup to see what is there after restarting, then invoke "get headers". If no headers means maybe UE is lacking some file permissions.
JohnE
Posts: 7
Joined: Thu Dec 08, 2011 9:52 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by JohnE »

OK, hopefully I did this in the right order:

Started program and opened group. Checked age of posts, and the oldest was 119 days.

Get new headers, which reloaded the old ones again.

Flagged all headers as old, closed, reopened group. Get new headers, which again, found none.

Unload, followed by Open&get new headers reacquired the same ones again.

Reset header ranges. Mark all old, unload, Open&get new headers again reacquired the headers.

After Unload and Open, yes, that particular entry is with 3 parts. I have included before and after screenshots.

Because you also mentioned file permissions, I checked to see what files are stored with a date/time of when the program is closed. A cursory search found the following:

Code: Select all

Bodies:
01/21/2012  01:37 PM         9,249,552 bd.00.mdb
01/21/2012  01:37 PM             2,160 cnt.sdb
01/21/2012  01:37 PM                 9 bd.ini.dat

Settings:
01/21/2012  01:37 PM                 0 flt.dat
01/21/2012  01:37 PM                 0 bla.dat.copy
01/21/2012  01:37 PM            14,379 api.dat
01/21/2012  01:37 PM             1,105 api.ini
01/21/2012  01:37 PM               717 api.xml
01/21/2012  01:37 PM                 0 bla.dat
01/21/2012  01:37 PM                 0 flt.dat.copy
01/21/2012  01:37 PM            68,803 reg.dat
01/21/2012  01:37 PM            68,803 reg.dat.copy

Newsgroups:
01/21/2012  01:37 PM    <DIR>          tm
01/21/2012  01:37 PM             1,818 map.txt
01/21/2012  01:37 PM    <DIR>          11

Newsgroups\tm:
01/21/2012  01:37 PM                 0 mex.sdb
01/21/2012  01:37 PM                 0 utq.sdb
01/21/2012  01:37 PM                 0 str.sdb
01/21/2012  01:37 PM                 0 nid.sdb
01/21/2012  01:37 PM                 0 uta.sdb
01/21/2012  01:37 PM                 0 pst.sdb
01/21/2012  01:37 PM           564,338 art.sdb
01/21/2012  01:37 PM               863 mit.sdb
01/21/2012  01:37 PM         6,037,593 ng.sdb

Newsgroups\11:
01/21/2012  01:37 PM         4,525,915 cnt.dat
01/21/2012  01:37 PM             6,778 cnt.sdb
01/21/2012  01:37 PM                 0 mex.sdb
01/21/2012  01:37 PM            18,400 mit.sdb
01/21/2012  01:37 PM           589,601 ng.sdb
So, based on that, I'm assuming that there aren't any issues with permissions to save the state of UE when closing.
Attachments
After Get Headers
After Get Headers
ArticlesAfter.jpg (118.72 KiB) Viewed 10875 times
Before Get Headers
Before Get Headers
ArticlesBefore.jpg (112.92 KiB) Viewed 10875 times
alex
Posts: 4538
Joined: Thu Feb 27, 2003 5:57 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by alex »

As to the non-logical new/old mix for a recent header with smaller retention, it wasn't reported in the past, something rare related to handling threads of replies in compact binary groups, I fixed it and reuploaded the files, just download it will show v3.3c in the about box, old will remain old.

The main question though why it redownloads headers older than the retention in properties (120 days in your case).

In edit menu->properties->general, newsgroup, rescan headers there is check box "let all incoming headers through", if you uncheck it the headers older than the retention will be ignored, but normally UE should download only new headers unless server misreports header range.

After header download complete what are header range properties, in workspace, the leftmost newsgroups tab, right click newsgroup, advanced, header range properties?
JohnE
Posts: 7
Joined: Thu Dec 08, 2011 9:52 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by JohnE »

OK Alex, the 3.3c version does indeed fix the issues with the headers that are below the retention date.

I wasn't sure where you wanted me to check the Header Ranges, so I've included both after the Open of the Group, and after the Get New Headers.

I also tried, with the Check Box unchecked, and so far, that appears to be working correctly. I didn't see any of the "older" headers come through. I'm going to do a run on all the Groups I'm subscribed to, to see if it fixes it on all.

Thanks Alex.
Attachments
Before Open Group
Before Open Group
HeadersBeforeOpen.jpg (35.55 KiB) Viewed 10857 times
After Open Group
After Open Group
HeadersAfterOpen.jpg (36.86 KiB) Viewed 10857 times
After Get New Headers
After Get New Headers
HeadersAfterGet.jpg (35.94 KiB) Viewed 10857 times
alex
Posts: 4538
Joined: Thu Feb 27, 2003 5:57 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by alex »

Did you reset header ranges between screenshots "before open newsgroup" and "after open newsgroup"?

"Program Range [undefined]" means it will redownload headers again, but no reason why it would change by itself.
JohnE
Posts: 7
Joined: Thu Dec 08, 2011 9:52 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by JohnE »

No, I did not reset.

And I just tried an Unload, check Header Range, Open, check Header Range, and see exactly the same sequence. It goes from a value to Undefined on the Open.
alex
Posts: 4538
Joined: Thu Feb 27, 2003 5:57 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by alex »

Try to redownload UE again, the version you'll see v3.3d.

I minimized permissions UE would need, check was it sufficient not to reset the header range?

If it worked, also check whether you can create and open a new newsgroup, if not you need to adjust permissions so UE can create directories along database path.

Most likely it got access denied somewhere, is UE database a regular directory on a fully accessable path?
JohnE
Posts: 7
Joined: Thu Dec 08, 2011 9:52 pm

Re: Am I Mis-Understanding Old/New Headers.

Post by JohnE »

Alex, thank you very much. That all seems to work correctly now and I also checked that I could subscribe to a new group, and that also worked well.

The DB is on my fileserver, so is accessed by a UNC path. It's running the latest Samba, with the SMB2 protocol enabled, which is also supported by my 64-bit Windows 7 desktop.

Thanks again.
Post Reply