Bug with renamed files "AttributeError: File not found in the archive."
I just tried reconstructing "Farming.Simulator.2011-SKIDROW", the ISO file was renamed and I used the -r option but I got an exception.
After renaming the ISO file to "sr-fs011.iso" I tried it again and it worked.
START: 2013-06-03 - 22:42:40,68
"M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\bin\_srr_batch.cmd"
--- Verify source files ---
"pysrr.bat" -r -q "Farming.Simulator.2011-SKIDROW.srr" -i "A:\Software\Games\PC-
GAMEs\Farming.Simulator.2011-SKIDROW.[2010].[Simulation].[ENG-GER]"
File OK: A:\Software\Games\PC-GAMEs\Farming.Simulator.2011-SKIDROW.[2010].[Simul
ation].[ENG-GER]\Farming.Simulator.2011-SKIDROW.iso matches sr-fs011.iso.
All files OK!
ERRORLEVEL-SRR: 0
--- Reconstruct release ---
"pysrr.bat" "Farming.Simulator.2011-SKIDROW.srr" -r -z rar\ -p -c -i "A:\Softwar
e\Games\PC-GAMEs\Farming.Simulator.2011-SKIDROW.[2010].[Simulation].[ENG-GER]" -
o out\Farming.Simulator.2011-SKIDROW\ -t K:\tmp\pyReScene\
************************************************************
WARNING: SRR files for compressed RARs are like SRS files:
you can never be sure they will reconstruct!
************************************************************
SRR file created with pyReScene Usenet.
Recreating stored file: skidrow.nfo
Recreating stored file: sr-fs011.sfv
Re-creating RAR file: sr-fs011.rar
Trying 'renamed' file: A:\Software\Games\PC-GAMEs\Farming.Simulator.2011-SKIDROW
.[2010].[Simulation].[ENG-GER]\Farming.Simulator.2011-SKIDROW.iso
Trying to rebuild compressed file sr-fs011.iso.
Trying 'renamed' file: A:\Software\Games\PC-GAMEs\Farming.Simulator.2011-SKIDROW
.[2010].[Simulation].[ENG-GER]\Farming.Simulator.2011-SKIDROW.iso
Grabbing large enough data piece size for testing.
Trying 2011-03-02 4.00.
Good RAR version detected: 2011-03-02 4.00
rar\2011-03-02_rar400.exe a -m3 -mdG -s- -ds -mt4 -vn -o+ -ep -idcd -vn -v331661
80b K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.rar A:\Software\Ga
mes\PC-GAMEs\Farming.Simulator.2011-SKIDROW.[2010].[Simulation].[ENG-GER]\Farmin
g.Simulator.2011-SKIDROW.iso
Compressing Farming.Simulator.2011-SKIDROW.iso...
Evaluation copy. Please register.
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.rar
Adding A:\Software\Games\PC-GAMEs\Farming.Simulator.2011-SKIDROW.[2010].[Simu
lation].[ENG-GER]\Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r00
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r01
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r02
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r03
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r04
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r05
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r06
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r07
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r08
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r09
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r10
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r11
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r12
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r13
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r14
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r15
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r16
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r17
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r18
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r19
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r20
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r21
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r22
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r23
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r24
... Farming.Simulator.2011-SKIDROW.iso
Calculating the control sum
Creating archive K:\tmp\pyReScene\tmpfptlfs_pyReScene\pyReScene_compressed.r25
... Farming.Simulator.2011-SKIDROW.iso OK
Calculating the control sum
Traceback (most recent call last):
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\srr.py", line 454, in
main
parser.exit(manage_srr(options, infolder, infiles, working_dir))
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\srr.py", line 246, in
manage_srr
options.rar_executable_dir, options.temp_dir)
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\main.py", line 1144,
in reconstruct
in_folder, hints, auto_locate_renamed)
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\main.py", line 1492,
in get_rar_data_object
in_folder, hints, auto_locate_renamed))
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\main.py", line 1758,
in compressed_rar_file_factory
nblock, followup_src, solid=False)
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\main.py", line 1940,
in __init__
packed_file_name=os.path.basename(first_block.file_name))
File "M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\rescene\rarstream.py", line 8
9, in __init__
raise AttributeError("File not found in the archive.")
AttributeError: File not found in the archive.
Unexpected Error: File not found in the archive.
ERRORLEVEL-SRR: 99
ERROR: Reconstruction failed
ERRORLEVEL: 90004
END: 2013-06-03 - 22:47:35,50
M:\pyReScene-HG\Gfy-pyrescene-ae771a7d3eb3\bin>
Unfold
Bug with renamed files "AttributeError: File not found in the archive." by Anonymous (guest), 03 Jun 2013 21:06