unrar failing on good rars

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

unrar failing on good rars

Postby gquiring » Wed Aug 31, 2011 10:05 am

I am randomly getting file creation errors when unraring good rar sets. I have plenty of disk space. The only thing I can guess is the file name length. I had two downloads recently where the file names were somewhat large. The file name in the rar was 73 characters and the path was equally as long. Are there any length limitation in NB? I am using 601B5.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby DThor » Wed Aug 31, 2011 11:33 am

There is an imposed limit on path length, basically Newsbin won't allow lengths that exceed what windows will be able to parse, for obvious reasons. Newsbin could allow it, but then you couldn't do anything with it.

Options are to make your download path shallower, or temporarily download to a shallower location, like C:Downloads. Note for Vista/Win 7 you won't have permissions for this, so you'll need to manage that, a location on a data disk would be better.

DT
V6 Troubleshooting FAQ . V6 docs. Usenet info at Usenet Tools. Thanks!
User avatar
DThor
Elite NewsBin User
Elite NewsBin User
 
Posts: 5943
Joined: Mon Jul 01, 2002 9:50 am

Registered Newsbin User since: 04/01/03

Re: unrar failing on good rars

Postby gquiring » Wed Aug 31, 2011 3:23 pm

The path and file lengths work with accessing and unraring with other utilities so it's either a limitation with NB or some other kink.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby Quade » Wed Aug 31, 2011 4:26 pm

Might have nothing to do with length. That's your idea. It sounded reasonable. There's a windows wide 255 char total path length. That's path and filename. I could exceed that but, I won't. Explorer can't access any file or path beyond the 255 char limit so, I'm not going to exceed it.

It could be your virus scanner blocking the initial unrar too. Who knows. Maybe you should check you V scanner logs. It shouldn't be that hard for you to figure this out. Use a shallow path and see if the problem goes away. Count the number of chars in the path. All D and I can do is throw ideas out there. It's up to you to figure out what's happening. I have no issues downloading and unraring. My files aren't close to the path limit though either. I downloaded 100 gigs from my test server today in preparation for the next beta release. They all unrared. Until you can figure out what's actually going on, I'm not going to take action. Newsbin internally prevent paths that are too long but, the RAR library is it's own thing and it might not be as careful as I am.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44885
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: unrar failing on good rars

Postby DThor » Wed Aug 31, 2011 4:29 pm

You weren't clear in your initial post - are the long filenames absolutely tied to the file creation errors? The file length thing is imposed because your average user will fire up file explorer and not see it. Yes, some apps might work with longer paths, but not file explorer. It was a conscious decision. It may be this whole issue has nothing to do with that, anyway. Try the same files to a shallower path. Does it work?

DT
V6 Troubleshooting FAQ . V6 docs. Usenet info at Usenet Tools. Thanks!
User avatar
DThor
Elite NewsBin User
Elite NewsBin User
 
Posts: 5943
Joined: Mon Jul 01, 2002 9:50 am

Registered Newsbin User since: 04/01/03

Re: unrar failing on good rars

Postby gquiring » Wed Aug 31, 2011 5:23 pm

I am not saying it's absolutely the length, I have plenty of downloads/unraring that works fine. The ones that failed all seem to have long paths/filenames which is the reason I speculated it might be that. It can't be my virus scanner as I can manually unrar the file with no issues. The contents of the rars are a mkv (movie) file. I'm just trying to understand why these last 3 rar sets I downloaded all failed with file creation errors.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby Quade » Wed Aug 31, 2011 5:43 pm

t can't be my virus scanner as I can manually unrar the file with no issues


You can't make that assumption. Newsbin doesn't retry an unrar and I don't know if the real winrar does or not. Virus scanners like to get first crack at new files and can get in the way. I'm not saying it is the scanner but, you can't just discount the idea out of hand.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44885
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: unrar failing on good rars

Postby gquiring » Wed Aug 31, 2011 5:50 pm

Scanned the files, no issues.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby DThor » Wed Aug 31, 2011 6:13 pm

I think you're missing Quade's point, but anyway, if you try to download to a shallower path, does it work? There's obviously something different about these posts, your guess of length is a good first guess.

DT
V6 Troubleshooting FAQ . V6 docs. Usenet info at Usenet Tools. Thanks!
User avatar
DThor
Elite NewsBin User
Elite NewsBin User
 
Posts: 5943
Joined: Mon Jul 01, 2002 9:50 am

Registered Newsbin User since: 04/01/03

Re: unrar failing on good rars

Postby gquiring » Wed Aug 31, 2011 7:08 pm

It's a bit time consuming as the mkv files are 15gig each. Trying again with no filename added to the NZB folder name.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby Quade » Thu Sep 01, 2011 9:28 am

I'll see if I can figure out the embedded path and shorten the total path length. It means the unrar folders are guaranteed to be incorrect in these cases though. Perhaps of the path is too long, I just remove the embedded path.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44885
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: unrar failing on good rars

Postby gquiring » Thu Sep 01, 2011 12:22 pm

Quade wrote:I'll see if I can figure out the embedded path and shorten the total path length. It means the unrar folders are guaranteed to be incorrect in these cases though. Perhaps of the path is too long, I just remove the embedded path.
That would ideal, I don't think many would care if the paths got truncated.

The one thing I realized when I unrared the mkv file I did not create the huge directory name. I use Total Commander to unrar and just dragged the file out. I did a rough count and it's possible with the paths I am going over 255 with these rar sets.
User avatar
gquiring
Seasoned User
Seasoned User
 
Posts: 257
Joined: Sat Jun 28, 2003 8:39 am
Location: SC

Registered Newsbin User since: 07/02/04

Re: unrar failing on good rars

Postby mho » Thu Sep 01, 2011 6:37 pm

Suggestion: If the internal path is too long, UnRAR to a directory like nb.<nnnn> and put a file inside it containing the name it "should" have been, so people can identify any possible mess:
Code: Select all
nb.0001/
    AUDIO_TS
    VIDEO_TS/
    newsbin.fileinfo
    [...]

where newsbin.fileinfo contains something like
Code: Select all
this_is_the_exceedingly_long_folder_name_that_the_poster_insisted_on_using


- mho
mho
Seasoned User
Seasoned User
 
Posts: 259
Joined: Sat Jan 02, 2010 8:57 pm

Registered Newsbin User since: 10/25/08

Re: unrar failing on good rars

Postby mho » Thu Sep 01, 2011 6:43 pm

mho wrote:where newsbin.fileinfo

Would have to be something like newsbin-fileinfo.txt, of course...
(I tend not to think about windows pecularities like file extensions actually matter:-))

- mho
mho
Seasoned User
Seasoned User
 
Posts: 259
Joined: Sat Jan 02, 2010 8:57 pm

Registered Newsbin User since: 10/25/08


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 2 guests