unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43778: protonvpn-cli does not work after update
@ 2020-10-03 13:54 znavko
  2020-10-03 14:53 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-10-04 16:14 ` bug#43778: closed (Re: bug#43778: protonvpn-cli does not work after update) znavko
  0 siblings, 2 replies; 3+ messages in thread
From: znavko @ 2020-10-03 13:54 UTC (permalink / raw)
  To: 43778

[-- Attachment #1: Type: text/plain, Size: 3281 bytes --]

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
 repository URL: https://git.savannah.gnu.org/git/guix.git
 branch: master
 commit: f7f5caf7ea78d2c257a081c8fcf212e507fe2ab6

[-- Attachment #2: Type: text/html, Size: 3670 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43778: protonvpn-cli does not work after update
  2020-10-03 13:54 bug#43778: protonvpn-cli does not work after update znavko
@ 2020-10-03 14:53 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2020-10-04 16:14 ` bug#43778: closed (Re: bug#43778: protonvpn-cli does not work after update) znavko
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-10-03 14:53 UTC (permalink / raw)
  To: znavko; +Cc: 43778-done

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Znavko,

znavko@disroot.org 写道:
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43778: closed (Re: bug#43778: protonvpn-cli does not work after update)
  2020-10-03 13:54 bug#43778: protonvpn-cli does not work after update znavko
  2020-10-03 14:53 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2020-10-04 16:14 ` znavko
  1 sibling, 0 replies; 3+ messages in thread
From: znavko @ 2020-10-04 16:14 UTC (permalink / raw)
  To: 43778

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:

> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-04 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03 13:54 bug#43778: protonvpn-cli does not work after update znavko
2020-10-03 14:53 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-10-04 16:14 ` bug#43778: closed (Re: bug#43778: protonvpn-cli does not work after update) znavko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).