rar2.80 - rar2.90 do not support old style volume name

Issue #29 closed
Former user created an issue

It is impossible to recreate releases with these versions (including betas) since the support for old style volume name were absent.

Traceback (most recent call last): File "rescene\srr.pyo", line 460, in main File "rescene\srr.pyo", line 246, in manage_srr File "rescene\main.pyo", line 1146, in reconstruct File "rescene\main.pyo", line 1494, in get_rar_data_object File "rescene\main.pyo", line 1762, in compressed_rar_file_factory File "rescene\main.pyo", line 1887, in init File "rescene\main.pyo", line 2130, in search_matching_rar_executable File "rescene\rarstream.pyo", line 76, in init File "rescene\rarstream.pyo", line 44, in _check File "rescene\rar.pyo", line 1345, in init ArchiveNotFoundError: [Errno 2] No such file or directory: u'c:\Users\user\appdata\local\temp\tmpuh0jtb_pyReScene\pyReScene_compressed.rar' Unexpected Error: [Errno 2] No such file or directory: u'c:\Users\user\appdata\local\temp\tmpuh0jtb_pyReScene\pyReScene_compressed.rar'

The files are there but named pyReScene_compressed.part1.rar, pyReScene_compressed.part2.rar because as mentioned those 2 rar versions (and their betas) do not support the old style volume name at all.

I was wondering if it is possible to modify one of the scripts (probably rar.pyo ?) to allow to check for pyReScene_compressed.part1.rar. instead of the regular one. May be if one is not found check for the other or I could always switch the scripts when trying with one of these versions.

NOTE: This is a great program, very nice job.

Comments (7)

  1. Former user Account Deleted

    Same thing.Completely uninstalled and reinstall all the newest versions.

    The solution that was created can't fix the problem with rar2.80 - rar2.90. The -vn parameter only force the use of old style volume name on version 3.00 and higher. The 2 versions that I mentioned can't create the .rar, .r00, .r01 volumes. They can only create .part01.rar .part.02.rar .... If you want to try it, use a rar.exe from one of the two versions and compressed a file, split it into multi volumes and you will see what I mean. If you look at the command window during the creation, as soon as the second volume is created you see .part02.rar instead of .r00. Since those two versions were used in 2001-2002 and maybe later they are important in trying to save some of those releases that most people where extracting at that time (including myself).

    The -vn switch was introduce in version 3.00 after complaints about the new naming scheme. If you open the Rar.txt inside the installers from 2.80 or 2.90 the -vn switch was absent. Following is the text for the new -vn switch introduce in version 3.00:

    -vn Use the old style volume naming scheme

            By default RAR volumes have names like 'volname.partNNN.rar',
            where NNN is the volume number. Using -vn switch it is 
            possible to switch to another, extension based naming scheme,
            where the first volume file in a multi-volume set has
            the extension .rar, following volumes are numbered from .r00
            to .r99. It may have sense, if you are going to unpack
            an archive under the plain MS DOS, which does not allow
            more than one dot in a file name.
    
  2. Gfy repo owner

    Workaround for 2.80: remove rar.exe from the list of possibilities. 2.7x will be used instead.

    Same for 2.90 according to some test data, but I've added it to the list at the top, so there are probably some rare cases where it's still needed.

  3. Former user Account Deleted

    Agree for the 2.80, might not be necessary. As for the 2.90 since it was the first one with the new compression scheme it would have been helpful. I remember some group specifying in their nfo to use the new 2.90 to extract.

    I thought that a simple modification in one of the script could have solve the problem, but I guess it is more complicated than that.

  4. Gfy repo owner

    Nothing about it in the release notes of 2.90. 3.0 beta 1 was the first version that could create the new RAR archives, but 2.90 was already able to extract them.

          RAR 3.0 archives can be unpacked by any RAR version beginning
          from RAR 2.9, currently it is 2.9 and 3.0. RAR 3.0 can unpack
          archives created by all older RAR versions.
    
  5. Gfy repo owner

    I tried it out. It all works for me. This was already fixed with changeset 248:ba240a47fb90

    Both 2.80 and 2.90 react to the -vn switch, even though this is not documented in the interface. The behavior is the exact opposite of 3.00: -vn creates archives with the new style (hence vn: Volume New), which got the behavior flipped and documented in 3.00.

  6. Log in to comment