- marked as minor
- edited description
OSError: [Errno 8] Exec format error
Issue #133
new
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 1316, in reconstruct
in_folder, hints, auto_locate_renamed)
File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 1705, in get_rar_data_object
auto_locate_renamed))
File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2017, in compressed_rar_file_factory
nblock, followup_src, solid=False)
File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2142, in __init__
first_block, blocks, thread_count)
File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2273, in search_matching_rar_executable
proc = custom_popen([rarexe.path()] + args.arglist())
File "/usr/local/lib/python2.7/dist-packages/rescene/main.py", line 2772, in custom_popen
creationflags=creationflags)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Unexpected Error: [Errno 8] Exec format error
Comments (1)
-
repo owner - Log in to comment
Can you provide some more details? Can you get it to work because this doesn't seem to be a ReScene bug.
The error means that the external program (rar) is not a valid executable. It can have the wrong architecture or maybe the windows rar files are used.
Could be related to http://rescene.wikidot.com/faq#linux
Solution: better error handling after reproducing this with a good explanation of what exactly goes wrong.