Skip to content

Unable to self-host (FileNotFoundError: [WinError 2] The system cannot find the file specified) #75

@getCursorsExe

Description

@getCursorsExe
Traceback (most recent call last):
  File "C:\Users\mikol\Downloads\videoEditBot-dev\videoEditBot-dev\editor\videoEditor.py", line 1079, in videoEdit
    currentFilePath = edit(
                      ^^^^^
  File "C:\Users\mikol\Downloads\videoEditBot-dev\videoEditBot-dev\editor\videoEditor.py", line 308, in edit
    DURATION = getDur(newName)
               ^^^^^^^^^^^^^^^
  File "C:\Users\mikol\Downloads\videoEditBot-dev\videoEditBot-dev\editor\videoEditor.py", line 67, in getDur
    return get_output(["ffprobe", "-v", "error", "-show_entries", "format=duration", "-of", "default=noprint_wrappers=1:nokey=1", filename])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mikol\Downloads\videoEditBot-dev\videoEditBot-dev\editor\subprocessHelper.py", line 33, in get_output
    return Popen(command, shell = False, stdout = PIPE).communicate()[0].decode().strip()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\Python312\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Nie można odnaleźć określonego pliku

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions