I'm getting an error when reconstructing most releases consisting of multiple CUE/BIN images. More precisely, this error happens if the script has to use method2 on an archive then it fails when it moves on to the next one. I suspect it's due to something not being reset properly between archives since this issue can be bypassed by using partial SRRs.
Traceback (most recent call last):
File "D:\Sources\pyrescene\rescene\rarstream.py", line 86, in __init__
self._current_volume = self._rar_volumes[0]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Sources\pyrescene\rescene\srr.py", line 602, in main
parser.exit(manage_srr(options, infolder, infiles, working_dir))
File "D:\Sources\pyrescene\rescene\srr.py", line 316, in manage_srr
options.volume is None, options.volume, rar_mt)
File "D:\Sources\pyrescene\rescene\main.py", line 1328, in reconstruct
in_folder, hints, auto_locate_renamed)
File "D:\Sources\pyrescene\rescene\main.py", line 1718, in get_rar_data_object
auto_locate_renamed))
File "D:\Sources\pyrescene\rescene\main.py", line 1978, in compressed_rar_file_factory
regular_method_failed.set_file(block)
File "D:\Sources\pyrescene\rescene\main.py", line 2665, in set_file
packed_file_name=os.path.basename(block.file_name))
File "D:\Sources\pyrescene\rescene\rarstream.py", line 89, in __init__
raise AttributeError("File not found in the archive.")
AttributeError: File not found in the archive.
Re-creating RAR file: vng-tnmt3b.rar
Trying to rebuild compressed file vng-tnmt3b.bin.
Unexpected Error: File not found in the archive.
Examples where this occurs:
https://www.srrdb.com/release/details/APOCALYPTICA-DEViANCE
https://www.srrdb.com/release/details/Half-Life_2_Retail-VENGEANCE
https://www.srrdb.com/release/details/Ratatouille-JFKPC
https://www.srrdb.com/release/details/Teenage_Mutant_Ninja_Turtles_Mutant_Melee-VENGEANCE