Wrong Subject

This is the place to help test and discuss Version 6 Beta releases.

Wrong Subject

Postby rcobourn » Tue Jan 21, 2014 9:09 pm

Okay, my head is buzzing with some sort of cold coming on, so if I'm hallucinating this, please forgive me. In a.b.e-book.flood, the posts are described in a document file called "_Translation.txt". Since the file name is the same for every days' posting, I use the bypass filters option to dl this file. At least as of the most recently released beta from yesterday, the subject reported in the files list is the subject from the first such file downloaded, rather than from the current one, so the subject reflects information for the wrong date. The correct file is downloaded and displayed when opened however. I'm not explaining that well, probably easier to try it. Grab a __Translation.txt, then grab another one using bypass filters. You only end up with one entry in the files list, and it has a date in the subject line that matches the first one downloaded, not the latest.
Robert F Cobourn
rcobourn
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Apr 08, 2004 3:32 pm

Registered Newsbin User since: 04/08/04

Re: Wrong Subject

Postby Quade » Tue Jan 21, 2014 10:14 pm

Grab a __Translation.txt, then grab another one using bypass filters. You only end up with one entry in the files list, and it has a date in the subject line that matches the first one downloaded, not the latest.


If you look in the download folder, you'll find them all listed. What I'm seeing is each one of these files gets renamed when the next file with the same name is downloaded.

First one downloads.

1 - _Translation.txt #1

Then you download #2.

1 - _Translation.txt #2
2 - _Translation-(0001).txt #1

Then you download #3.

1 - _Translation.txt #3
2 - _Translation-(0002).txt #2
3 - _Translation-(0001).txt #1

Each time you download one, the one that's already in the folder gets named to something else. Since the already renamed one doesn't also get renamed. The actual renames are out of chronological order.

Newsbin only lists the current download in the files list. Not the ones that are renamed in the background.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Wrong Subject

Postby rcobourn » Tue Jan 21, 2014 10:36 pm

Agreed. The issue I'm seeing is the description in the file list is wrong. It retains the description of the first file downloaded for each subsequent download. The only difference in the subject information is the date of the posting of the materials described in the file. I think when it handles identical file renaming it is retaining the older description.
Robert F Cobourn
rcobourn
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Apr 08, 2004 3:32 pm

Registered Newsbin User since: 04/08/04

Re: Wrong Subject

Postby Quade » Wed Jan 22, 2014 10:12 am

I get what you're saying now. It's not an issue with the filename but, that the files list doesn't reflect the real subject for the current download because of the rename.

I can look at that.

Quick look at the code suggests it should be showing the correct meta-data. I wonder if it's a caching issue. Might be interesting to restart and see if it's showing the correct subject on restart. That would indicate it's the cache that needs fixing.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Wrong Subject

Postby rcobourn » Wed Jan 22, 2014 11:39 am

You got it, it loads the correct data when Newsbin is closed and re-opened, so yes, the issue is in the cache.
Robert F Cobourn
rcobourn
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Apr 08, 2004 3:32 pm

Registered Newsbin User since: 04/08/04

Re: Wrong Subject

Postby Quade » Wed Jan 22, 2014 12:19 pm

Thanks for the feedback.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Wrong Subject

Postby Quade » Wed Jan 22, 2014 1:48 pm

Fix should be in the next beta. I clear the cache entry when the same filename comes in.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Wrong Subject

Postby rcobourn » Mon Feb 03, 2014 10:24 pm

Much less of an issue, at least for me, but there is something similar happening in the failed files list. I had a bunch of different episodes of a particular tv show queued. 4 of the older ones failed, all entries in the failed list reflected the title of the first post that failed.
Robert F Cobourn
rcobourn
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Thu Apr 08, 2004 3:32 pm

Registered Newsbin User since: 04/08/04

Re: Wrong Subject

Postby Quade » Mon Feb 03, 2014 11:16 pm

Much less of an issue, at least for me, but there is something similar happening in the failed files list. I had a bunch of different episodes of a particular tv show queued. 4 of the older ones failed, all entries in the failed list reflected the title of the first post that failed.


Failed list isn't even close to the same as Files list. I mean internally. Internally a failed list is really just another inactive download list. Duplicates shouldn't be possible. I'll think about how it might be possible that it's happening.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: kenr and 3 guests