Page 1 of 1

0.7.17 RC1 Possible Unrar 5 woes

Posted: February 23rd, 2014, 9:25 am
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?

Re: 0.7.17 RC1 Possible Unrar 5 woes

Posted: February 24th, 2014, 3:35 am
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.

Re: 0.7.17 RC1 Possible Unrar 5 woes

Posted: February 24th, 2014, 3:57 am
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.

Re: 0.7.17 RC1 Possible Unrar 5 woes

Posted: February 24th, 2014, 5:42 am
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,

Re: 0.7.17 RC1 Possible Unrar 5 woes

Posted: February 28th, 2014, 3:23 pm
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.