D:\fdx-h211>srr Hitman_2_Update_1.01-FLTDOX.srr -z "C:\Winrars" -t temp
NOTE: install NumPy to speed up the reconstruction of RARs
with a Recovery Record.
SRR file created with pyReScene 0.5.
Recreating stored file: fdx-h211.nfo
Recreating stored file: fdx-h211.sfv
Re-creating RAR file: fdx-h211.rar
Trying to rebuild compressed file hitman2.exe.
Grabbing large enough data piece size for testing.
Trying 2002-12-07 3.10.
Good RAR version detected: 2002-12-07 3.10
C:\Winrars\2002-12-07_rar310b5.exe a -m5 -mdG -s -ds -vn -o+ -ep -idcd -vn c:\us
ers\josef\appdata\local\temp\tmpz7tpj2_pyReScene\pyReScene_compressed.rar D:\fdx
-h211\hitman2.exe D:\fdx-h211\hitman2_101_en.exe
Compressing hitman2.exe...
RAR 3.10 beta 5 Copyright (c) 1993-2002 Eugene Roshal 7 Dec 2002
Shareware version Type RAR -? for help
Evaluation copy. Please register.
Creating solid archive c:\users\josef\appdata\local\temp\tmpz7tpj2_pyReScene\pyR
eScene_compressed.rar
Adding D:\fdx-h211\hitman2.exe OK
Adding D:\fdx-h211\hitman2_101_en.exe OK
Done
Trying to rebuild compressed file hitman2_101_en.exe.
Compressing fdx-h211.nfo...
RAR 3.10 beta 5 Copyright (c) 1993-2002 Eugene Roshal 7 Dec 2002
Shareware version Type RAR -? for help
Evaluation copy. Please register.
Creating solid archive c:\users\josef\appdata\local\temp\tmpz7tpj2_pyReScene\pyR
eScene_compressed.rar
Adding D:\fdx-h211\hitman2.exe OK
Adding D:\fdx-h211\hitman2_101_en.exe OK
Adding D:\fdx-h211\fdx-h211.nfo OK
Done
Solid archive recompression.
ERROR: Unknown option: mt1None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt2None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt3None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt4None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt5None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt6None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt7None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt8None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt9None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt10None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt11None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt12None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt13None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt14None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt15None
None
Something went wrong executing Rar.exe:
Command line option error
ERROR: Unknown option: mt16None
None
Something isn't right yet.
Something went wrong executing Rar.exe:
Command line option error
C:\Winrars\2002-12-07_rar310b5.exe a -m5 -mdG -s -ds -mt16 -vn -o+ -ep -idcd -vn
-v2809543b c:\users\josef\appdata\local\temp\tmpmjkfjz_pyReScene\pyReScene_meth
od2.rar D:\fdx-h211\hitman2.exe D:\fdx-h211\hitman2_101_en.exe D:\fdx-h211\fdx-h
211.nfo
Compressing ALL files.
Command length: 17
ERROR: Unknown option: mt16None
None
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 1769, in compressed_rar_file_factory
File "rescene\main.pyo", line 2360, in __init__
File "rescene\main.pyo", line 2389, in set_file
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\\josef\\a
ppdata\\local\\temp\\tmpmjkfjz_pyReScene\\pyReScene_method2.rar'
Unexpected Error: [Errno 2] No such file or directory: u'c:\\users\\josef\\appda
ta\\local\\temp\\tmpmjkfjz_pyReScene\\pyReScene_method2.rar'Something went wrong
executing Rar.exe:
Command line option error
D:\fdx-h211>
[Bug] Command Line Option Error
Forum
» General discussion / ReScene
» [Bug] Command Line Option Error
Summary:
I tried To Rescene This Release (Hitman_2_Update_1.01-FLTDOX.srr) And Simply I Get This Error
One line with supports_setting_threads() needs to be added to rescene/main.py to prevent having the error.
# this happens with solid archives when the first file is small # an .idx file is detected as having -mt1, but the .sub file can # need 4 threads if self.rarstream.length() != block.packed_size: _fire(MsgCode.MSG, message="Solid archive recompression.") while(self.rarstream.length() != block.packed_size and self.good_rar.supports_setting_threads() and self.good_rar.args.increase_thread_count()): compress()
Then the first algorithm will fail and the second reconstruction algorithm is tried. This one will successfully reconstruct the RAR.
The change will end up in the repository when I'm committing the ZIP stuff. Thanks for reporting the issue!
/forum/t-812857/bug-command-line-option-error#post-