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

File not found error #5

Open
nazmussakib44 opened this issue Apr 8, 2022 · 2 comments
Open

File not found error #5

nazmussakib44 opened this issue Apr 8, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nazmussakib44
Copy link

staring...
Traceback (most recent call last):
File "C:\xampp\htdocs\nadir-patcher-master\nadir-patcher.py", line 256, in
main(sys.argv[1:])
File "C:\xampp\htdocs\nadir-patcher-master\nadir-patcher.py", line 65, in main
first_s = get_res(file_list[0])
File "C:\xampp\htdocs\nadir-patcher-master\nadir-patcher.py", line 222, in get_res
ffprobe_output = subprocess.check_output(args).decode('utf-8')
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

@MobiGA
Copy link

MobiGA commented May 9, 2023

I seem to have the same problem. What may have went wrong?

@himynamesdave
Copy link
Member

himynamesdave commented Sep 6, 2023

the error is

FileNotFoundError: [WinError 2] The system cannot find the file specified

can you share the input command here @nazmussakib44 @MobiGA ?

E.g.

python3 nadir-patcher.py samples\input\GSAA7468.JPG nadir-library\trek_view_full_nadir.png 25 samples\output\

Note, depending on permissions, the directory used to output might need to be created before the script run. (e.g. in the above example I would create samples\output\ before running the script)

@himynamesdave himynamesdave self-assigned this Sep 6, 2023
@himynamesdave himynamesdave added the bug Something isn't working label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants