Hardware-Target-Game-Database icon indicating copy to clipboard operation
Hardware-Target-Game-Database copied to clipboard

Using build_pack.py DELETES the first rom it parses and then throws an error when it cannot find the file

Open plgagne opened this issue 1 year ago • 0 comments

python3 build_pack.py -i "/users/plgagne/romtemp" -d "/Users/plgagne/SMDB.txt" -o "/Users/plgagne/romtemp2" -m "/Users/plgagne/SMDB-miss.txt" Traceback (most recent call last): File "/Users/plgagne/Jeux/Roms/Hardware-Target-Game-Database/build_pack.py", line 176, in copy_file copy_fn(source, dest) File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 256, in copyfile with open(src, 'rb') as fsrc: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/users/plgagne/romtemp/GameCube/Rayman 3 - Hoodlum Havoc (USA) (En,Fr,De,Es,It).rvz'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/plgagne/Jeux/Roms/Hardware-Target-Game-Database/build_pack.py", line 363, in parse_folder(SOURCE_FOLDER, DATABASE, OUTPUT_FOLDER) File "/Users/plgagne/Jeux/Roms/Hardware-Target-Game-Database/build_pack.py", line 285, in parse_folder copy_file(info['filename'], File "/Users/plgagne/Jeux/Roms/Hardware-Target-Game-Database/build_pack.py", line 180, in copy_file copy_fn(source, fixed_dest) File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 256, in copyfile with open(src, 'rb') as fsrc: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/users/plgagne/romtemp/GameCube/Rayman 3 - Hoodlum Havoc (USA) (En,Fr,De,Es,It).rvz'

plgagne avatar Jul 14 '23 02:07 plgagne