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

cannot import name 'make_ovpn_template' with CLI >=2.2.3 #83

Closed
calexandru2018 opened this issue Jun 6, 2020 · 3 comments
Closed

cannot import name 'make_ovpn_template' with CLI >=2.2.3 #83

calexandru2018 opened this issue Jun 6, 2020 · 3 comments
Assignees
Labels
compatibility Compatibility accross various DE has temporary fix Issue has a temporary fix/workaround

Comments

@calexandru2018
Copy link
Owner

calexandru2018 commented Jun 6, 2020

The GUI does not start with the latest version of the CLI.

The issue is due to that GUI does not support CLI >= v.2.2.3, since the CLI has deprecated the function make_ovpn_template. This is already fixed in the master branch, although not pushed to PyPi, due to some other updates that the GUI will suffer.

Temporary solution:

  • Downgrade CLI to v2.2.2
    sudo pip3 install protonvpn-cli==2.2.2 --upgrade

    or
  • Clone master branch

This has already been mentioned in #72, #75, #79 and #83

@SCCOBN
Copy link

SCCOBN commented Jun 28, 2020

2.2.4 of cli is out already, I'm still stuck with 2.2.2 due to linux_gui issue. When can I upgrade already?

@calexandru2018
Copy link
Owner Author

calexandru2018 commented Jul 1, 2020

2.2.4 of cli is out already, I'm still stuck with 2.2.2 due to linux_gui issue. When can I upgrade already?

This is going to be addressed in the coming weeks, stay tuned.

You can always clone from the master branch since that version is fully compatible, although installing from arch repo or PIP won't work unless you downgrade the CLI version.

@calexandru2018
Copy link
Owner Author

This issue should now be fixed, with v2.1.0 being released on PyPi and Arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility accross various DE has temporary fix Issue has a temporary fix/workaround
Projects
None yet
Development

No branches or pull requests

2 participants