jotyGill / openpyn-nordvpn

Easily connect to and switch between, OpenVPN servers hosted by NordVPN on Linux (+patch leakes)
GNU General Public License v3.0
628 stars 114 forks source link

No such file or directory: 'openpyn-management' Error on raspberry pi #200

Open joergbirkhold opened 6 years ago

joergbirkhold commented 6 years ago

This the trace, strange enough, that it did work for months but suddenly stopped now...

File "/usr/bin/openpyn", line 9, in load_entry_point('openpyn', 'console_scripts', 'openpyn')() File "/home/pi/openpyntest/openpyn-nordvpn/openpyn/openpyn.py", line 144, in main args.skip_dns_patch, args.silent, args.nvram, args.openvpn_options, args.location) File "/home/pi/openpyntest/openpyn-nordvpn/openpyn/openpyn.py", line 415, in run return(connect(aserver, port, silent, test, skip_dns_patch, openvpn_options)) File "/home/pi/openpyntest/openpyn-nordvpn/openpyn/openpyn.py", line 879, in connect subprocess.Popen("openpyn-management --do-notify".split()) File "/usr/local/opt/python-3.5.2/lib/python3.5/subprocess.py", line 947, in init restore_signals, start_new_session) File "/usr/local/opt/python-3.5.2/lib/python3.5/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'openpyn-management'

jotyGill commented 6 years ago

openpyn-management command should be present. it's the openpyn/management/management.py file. I would uninstall openpyn and reinstall it. sudo python3 -m pip uninstall openpyn sudo python3 -m pip install --upgrade openpyn

joergbirkhold commented 6 years ago

the fix was to use --silent

jotyGill commented 6 years ago

If you use --silent openpyn-management is not called, that will do it. but it shouldn't be needed.