Skip to content

FileNotFoundError during initialization #1

@teemue

Description

@teemue

Init process crashes after typing wireguard interface name:

Traceback (most recent call last):
File "./setup.py", line 318, in
main()
File "./setup.py", line 303, in main
setup()
File "./setup.py", line 282, in setup
create_wireguard_conf()
File "./setup.py", line 224, in create_wireguard_conf
keys = get_wireguard_keys()
File "./setup.py", line 82, in get_wireguard_keys
with Popen(['wg', 'genkey'], stdout=PIPE, stderr=PIPE) as priv:
File "/usr/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'wg': 'wg'

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