Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to start > ImportError: cannot import name 'make_ovpn_template' from 'protonvpn_cli.utils' #82

Closed
SCCOBN opened this issue Jun 6, 2020 · 2 comments

Comments

@SCCOBN
Copy link

SCCOBN commented Jun 6, 2020

Describe the bug
Typing protonvpn-gui in terminal outputs this
Traceback (most recent call last): File "/usr/bin/protonvpn-gui", line 11, in <module> load_entry_point('protonvpn-linux-gui-calexandru2018==2.0.7', 'console_scripts', 'protonvpn-gui')() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2862, in load_entry_point return ep.load() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2462, in load return self.resolve() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2468, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3.8/site-packages/protonvpn_linux_gui/gui.py", line 16, in <module> from .utils import ( File "/usr/lib/python3.8/site-packages/protonvpn_linux_gui/utils.py", line 12, in <module> from protonvpn_cli.utils import ( ImportError: cannot import name 'make_ovpn_template' from 'protonvpn_cli.utils' (/usr/lib/python3.8/site-packages/protonvpn_cli/utils.py)

You had an issue earlier this week, I read it, I was waiting for update and it came, my version of the program is 2.0.7-3 protonvpn-cli-ng 2.2.4.1
OS, Arch Linux

@musikerv
Copy link

musikerv commented Jun 6, 2020

user@thinklinux:~$ sudo protonvpn-gui [sudo] password for user: Traceback (most recent call last): File "/usr/local/bin/protonvpn-gui", line 11, in <module> load_entry_point('protonvpn-gui==2.0.7', 'console_scripts', 'protonvpn-gui')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.6/dist-packages/protonvpn_linux_gui/gui.py", line 16, in <module> from .utils import ( File "/usr/local/lib/python3.6/dist-packages/protonvpn_linux_gui/utils.py", line 12, in <module> from protonvpn_cli.utils import ( ImportError: cannot import name 'make_ovpn_template'
Same error on Ubuntu 18.04.4 LTS, Gnome 3.28.4, pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6), Python 2.7.17, Python 3.6.9

@calexandru2018
Copy link
Owner

#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants