preprardir TypeError on linux
Issue #148
new
[dsrf@arch pyReScene-0.6.1]$ python bin/preprardir.py rarlinux/ TMP
Extracting 2010-03-15_rar393... done.
Extracting 2015-02-15_rar521... done.
Extracting 2006-08-04_rar360... done.
Extracting 2010-02-10_rar392... done.
Extracting 2012-01-09_rar410... done.
Extracting 2000-06-21_rar271... Traceback (most recent call last):
File "bin/preprardir.py", line 283, in <module>
sys.exit(main(options, args))
File "bin/preprardir.py", line 67, in main
extract_rarbin(input_dir, output_dir)
File "bin/preprardir.py", line 148, in extract_rarbin
extract = custom_popen(args)
File "bin/preprardir.py", line 257, in custom_popen
creationflags=creationflags)
File "/usr/lib/python3.6/subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1250, in _execute_child
executable = os.fsencode(executable)
File "/usr/lib/python3.6/os.py", line 798, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType