Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
plgagne opened this issue Jul 14, 2023 · 0 comments

Comments

@plgagne
Copy link

plgagne commented Jul 14, 2023

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant