morpheusthewhite / nordpy

A gui application to connect automatically to the recommended NordVPN server
GNU General Public License v3.0
105 stars 16 forks source link

Window with list of servers not opening #25

Closed Kruk79 closed 5 years ago

Kruk79 commented 5 years ago

Describe the bug After providing the password the window with list of servers is not appearing.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' - start / system tools / select nordpy
  2. Provide password and press ok
  3. Error - window with servers is not appearing

Expected behavior As previously window with servers should appear

Desktop (please complete the following information):

Additional context My Raspbian was updated and I believe some of the settings/files/folders have been changed or removed. I'm not experienced with Linux so not sure how to fix it. Apologies for another issues raised.

Info after reinstall:

pi@raspberrypi:~ $ sudo /home/pi/NordPy-1.3/install.sh Do you want to install support for obfuscated servers (it will reinstall openvpn)?[y/n] (Recommended: n) n Reading package lists... Done Building dependency tree
Reading state information... Done Suggested packages: openvpn-systemd-resolved The following NEW packages will be installed: openvpn 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/426 kB of archives. After this operation, 1,019 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package openvpn. (Reading database ... 106240 files and directories currently installed.) Preparing to unpack .../openvpn_2.4.7-1_armhf.deb ... Unpacking openvpn (2.4.7-1) ... Setting up openvpn (2.4.7-1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for systemd (241-7~deb10u1+rpi1) ... Required packages installed /home/pi/NordPy-1.3/install.sh: line 69: nmcli: command not found /home/pi/NordPy-1.3/install.sh: line 69: [: =: unary operator expected installing certificates (needed by ipsec) ln: failed to create symbolic link '/usr/local/bin/nordpy': File exists downloading and extracting conf files from NordVPN

Info from running nordpy.py

pi@raspberrypi:~/NordPy-1.3 $ ./nordpy.py Traceback (most recent call last): File "./nordpy.py", line 28, in main() File "./nordpy.py", line 23, in main app = gui() File "/home/pi/NordPy-1.3/bin/gui.py", line 46, in init running_vpn = get_running_vpn() File "/home/pi/NordPy-1.3/bin/vpn_util/vpn.py", line 57, in get_running_vpn if nm_running_vpn(): File "/home/pi/NordPy-1.3/bin/vpn_util/nm.py", line 136, in nm_running_vpn list_process = subprocess.Popen(args, universal_newlines=True, stdout=subprocess.PIPE) 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: 'nmcli': 'nmcli' Retrieved stats Retrieved stats

morpheusthewhite commented 5 years ago

Try reinstalling nordpy, it should work now

Kruk79 commented 5 years ago

Thanks. You are great. It is working now however still getting the below during install:

/home/pi/NordPy-1.3/install.sh: line 69: nmcli: command not found /home/pi/NordPy-1.3/install.sh: line 69: [: =: unary operator expected installing certificates (needed by ipsec) ln: failed to create symbolic link '/usr/local/bin/nordpy': File exists

but it works.

morpheusthewhite commented 5 years ago

Yeah, don't worry for them, I expected them (I'll fix them soon too, they aren't real errors)

sorryusernameisalreadytaken commented 4 years ago

Yeah, don't worry for them, I expected them (I'll fix them soon too, they aren't real errors)

It would be awesome when you can make a release of this fix so AUR get this fix too.

morpheusthewhite commented 4 years ago

It would be awesome when you can make a release of this fix so AUR get this fix too.

Done!