0.7.17 RC1 Possible Unrar 5 woes

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
mrwilby
Newbie
Newbie
Posts: 2
Joined: February 23rd, 2014, 9:15 am

0.7.17 RC1 Possible Unrar 5 woes

Post by mrwilby »

I'm using 0.7.17 RC1 on Ubuntu 12.04.

Code: Select all

box:~$ uname -a
Linux downloader 3.2.0-54-generic #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

box:~$ readlink -f "$(which unrar)"
/usr/bin/unrar-nonfree

box:~$ unrar

UNRAR 5.00 beta 8 freeware      Copyright (c) 1993-2013 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>
I'm seeing an increasing number of files unpack in a very strange way...

- When unpacking a set of (presumably rar5 files), some subset of the unpacked appear to correctly unpack into sub-directories as I would expect.
- In other cases, the files unpack on top of one another in the same directory. Since the files often have non-unique names, "something" is renaming the files during unpacking to contain unique suffixes. I end up seeing tens (often more) of files with unique integer suffixes:

myfile.1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.etc etc.realFileExtension

Note that the file extension is being preserved. The integers are prefixed in front of the extension.

As I said, what's odd is that some files correctly unpack to subdirs so I am not sure what's special about these files in particular.

(Unfortunately the rars get deleted as part of post-processing. I need to download a problematic instance again and validate without any post-processing to try to get a deeper understanding...)

Q's:
* Does anybody happen to know if this is an unrar5 bug ?
* Am I running the recommended version of unrar 5?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.17 RC1 Possible Unrar 5 woes

Post by shypike »

mrwilby wrote: UNRAR 5.00 beta 8 freeware Copyright (c) 1993-2013 Alexander Roshal
* Am I running the recommended version of unrar 5?
No, please go to http://www.rarlab.com/download.htm and get the package for Linux.
Note that only unrar is free to use, rar is not.
Other than that, RC1 doesn't handle RAR5 properly yet. The next release will.
User avatar
sander
Release Testers
Release Testers
Posts: 9113
Joined: January 22nd, 2008, 2:22 pm

Re: 0.7.17 RC1 Possible Unrar 5 woes

Post by sander »

shypike wrote: Other than that, RC1 doesn't handle RAR5 properly yet. The next release will.
Which things don't work? I've been using unrar5 on Ubuntu for a few months, and it seems to work for me.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.17 RC1 Possible Unrar 5 woes

Post by shypike »

sander wrote:
shypike wrote:
Which things don't work? I've been using unrar5 on Ubuntu for a few months, and it seems to work for me.
5.01 reports encryption different from the way you patched it.
SABnzbd's built-in rar viewer didn't recognize the new rar5 signature,
mrwilby
Newbie
Newbie
Posts: 2
Joined: February 23rd, 2014, 9:15 am

Re: 0.7.17 RC1 Possible Unrar 5 woes

Post by mrwilby »

shypike wrote:
mrwilby wrote: UNRAR 5.00 beta 8 freeware Copyright (c) 1993-2013 Alexander Roshal
* Am I running the recommended version of unrar 5?
No, please go to http://www.rarlab.com/download.htm and get the package for Linux.
Note that only unrar is free to use, rar is not.
Other than that, RC1 doesn't handle RAR5 properly yet. The next release will.
I download the x64 linux package and unrar is the same (in that package) as I already have 5.00 beta 8.

I suspect the problem I reported originally has something to do with the nuance that I am unpacking to a network share (windows-based). I think the issue may be that the unpacked filenames exceed some windows NTFS constraints around max length and this causes something to truncate the filenames and do the funky file name modifications.
Post Reply