File not found in the archive

Issue #164 new
Adam Baxter created an issue
Calculating the control sum
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rescene/srr.py", line 602, in main
    parser.exit(manage_srr(options, infolder, infiles, working_dir))
  File "/usr/local/lib/python2.7/dist-packages/rescene/srr.py", line 316, in manage_srr
    options.volume is None, options.volume, rar_mt)
  File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 1323, in reconstruct
    in_folder, hints, auto_locate_renamed)
  File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 1712, in get_rar_data_object
    auto_locate_renamed))
  File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2031, in compressed_rar_file_factory
    (in_folder, hints, auto_locate_renamed))
  File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2632, in __init__
    self.set_file(self.current_block)
  File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2659, in set_file
    packed_file_name=os.path.basename(block.file_name))
  File "/usr/local/lib/python2.7/dist-packages/rescene/rarstream.py", line 89, in __init__
    raise AttributeError("File not found in the archive.")
AttributeError: File not found in the archive.

I think this was the last file to be added to the archive in this case

Comments (6)

  1. Johnye Bravo

    I’m getting the same error. I'm trying to rescene releases that failed on Windows 10 due to too long RAR arguments and/or other errors, by trying it on Linux Mint x64 and Ubuntu x64. The error seems to happen right after rescene is finished compressing the release to RAR, but before using those RARs to rcreate the original RARs. Last file is correctly added to the RARs. I installed python 2, extracted pyReScene-0.7.zip to /home/user/pyReScene, used prepardir.py to prepare RAR x64 executables from rarlinux-master.zip to /home/user/pyReScene/rar, copied the .SRR and release folder to /home/user/pyReScene, then ran "/home/user/pyReScene/bin/srr.py /home/user/pyReScene/release.srr -z /home/user/pyReScene/rar -t /home/user/pyReScene/temp" from the /home folder. Could it be some step I did wrong, or is it something within the script?

  2. Log in to comment