protonvpn-cli does not work after update

  • Done
  • quality assurance status badge
Details
2 participants
  • Tobias Geerinckx-Rice
  • znavko
Owner
unassigned
Submitted by
znavko
Severity
normal
Z
Z
znavko wrote on 3 Oct 2020 15:54
(name . bug-guix)(address . bug-guix@gnu.org)
a13f4803ce5280be7e3b1dffd4d939a3@disroot.org
After update and system reconfigure (just for updating services, with the same config) `protonvpn c` does not work.

# protonvpn c
Traceback (most recent call last):
File "/gnu/store/p2f0sblw9sxmzl7kzlhm9h1p66pxhdl5-protonvpn-cli-2.2.4/bin/.protonvpn-real", line 6, in <module>
from pkg_resources import load_entry_point
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
def _initialize_master_working_set():
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jinja2' distribution was not found and is required by protonvpn-cli

# guix package -r protonvpn-cli
# guix package -i protonvpn-cli

# protonvpn c
Traceback (most recent call last):
File "/gnu/store/p2f0sblw9sxmzl7kzlhm9h1p66pxhdl5-protonvpn-cli-2.2.4/bin/.protonvpn-real", line 6, in <module>
from pkg_resources import load_entry_point
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
def _initialize_master_working_set():
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jinja2' distribution was not found and is required by protonvpn-cli
# guix describe
Generation 28 Oct 03 2020 13:11:47 (current)
guix f7f5caf
branch: master
commit: f7f5caf7ea78d2c257a081c8fcf212e507fe2ab6
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 3 Oct 2020 16:53
(address . znavko@disroot.org)(address . 43778-done@debbugs.gnu.org)
87eemf8io8.fsf@nckx
Znavko,

znavko@disroot.org ???
Toggle quote (3 lines)
> pkg_resources.DistributionNotFound: The 'jinja2' distribution
> was not found and is required by protonvpn-cli

I verified that it is indeed protonvpn-cli (and not only some
dependency) that uses jinja2 and added it as input in
36045fa6d6f6ed240bf26d3040846533e9e35e82.

Thanks!

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX3iQeA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15mWcBAK1TjVsA7gkIEgW0yVxlD66K1C9hU2fI21YsgLT6
T0ssAP48wsjakTqdXnTdc6hbdyer3yYlPn9b/C4hYz1UE3QsDw==
=j8vS
-----END PGP SIGNATURE-----

Closed
Z
Z
znavko wrote on 4 Oct 2020 18:14
Re: bug#43778: closed (Re: bug#43778: protonvpn-cli does not work after update)
(address . 43778@debbugs.gnu.org)
1d33bbfe20507edcbfc8dd3814ed7372@disroot.org
Sorry, it still does not work! Before update, it sometimes could not find network, but stopping and starting wpa-supplicant and networking solved problem, restat was effective solution too.

But now protonvpn does not connect at all.


# protonvpn c
[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly!


# herd stop wpa-supplicant
# herd start wpa-supplcant
# herd stop networking
# herd start networking


# protonvpn c
[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly!


# restart
# protonvpn c
[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly!

# cat /etc/config.scm

;-*- mode: Scheme; -*-
;;this is znavko's cute config
;; for lightweight xfce4 desktop
;; without networkmanager but wpa_supplicant + dhcp-client instead

(use-modules (gnu) (gnu system nss)
(gnu system locale) ;;for locale-definition
(gnu services desktop)
(srfi srfi-1) ;;for remove function
(gnu services networking) ;;for remove ntp
(gnu services avahi) ;;for remove avahi
(gnu services xorg)
(gnu packages admin) ;;for wpa_supplicant
)

(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi")))
(file-systems (cons*
(file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat"))
(file-system (device "/dev/sda2") (mount-point "/") (type "ext4"))
(file-system (device "/dev/sdb1") (mount-point "/home/bob/plus") (type "ext4"))
%base-file-systems))

(swap-devices '("/dev/sda3"))

(users (cons* (user-account (name "bob") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/bob"))
(user-account (name "mom") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/mom"))
%base-user-accounts))

;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
wpa-supplicant
%base-packages))

(services (cons*
;; xfce4 desktop, dhcp-client, slim
(service xfce-desktop-service-type)
(service dhcp-client-service-type)
(service slim-service-type)

(modify-services
;; removing unnecessary services
(remove (lambda (service)
(member (service-kind service)
(list ntp-service-type avahi-service-type
bluetooth-service network-manager-service-type
gdm-service-type)))
%desktop-services) ;end of remove lambda services

;; wpa_supplicant + dhcp-client (above) instead of networkmanager
(wpa-supplicant-service-type config =>
(wpa-supplicant-configuration
(interface "wlp0s20f0u1")
(config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))

) ;;end of modify-services
)) ;;end of services

;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss)

;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan
(kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth"))

) ;;end of operating-system


What to do?


October 3, 2020 2:54 PM, help-debbugs@gnu.org wrote:

Toggle quote (13 lines)
> Your bug report
>
> #43778: protonvpn-cli does not work after update
>
> which was filed against the guix package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 43778@debbugs.gnu.org.
>
> --
> 43778: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43778
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
?