openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

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

Open joergbirkhold opened this issue 6 years ago • 3 comments

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'

joergbirkhold avatar Sep 22 '18 18:09 joergbirkhold

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

jotyGill avatar Sep 24 '18 05:09 jotyGill

the fix was to use --silent

joergbirkhold avatar Sep 24 '18 07:09 joergbirkhold

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

jotyGill avatar Sep 24 '18 07:09 jotyGill