ProtonVPN / linux-cli

Official ProtonVPN Linux app (CLI)
https://protonvpn.com/download-linux
GNU General Public License v3.0
332 stars 42 forks source link

GError set over the top of a previous Gerror #60

Open FlanOfHarmony opened 2 years ago

FlanOfHarmony commented 2 years ago

Hi, this isn't critical but I'm having a warnig every time I connect to a server and it's pretty annoying. Here's the output of the command protonvpn-cli c -f:

Setting up ProtonVPN.
/usr/lib/python3.10/site-packages/protonvpn_nm_lib/core/connection_backend/nm_client/plugin/nm_plugin.py:25: Warning: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: does not look like a Iodine DNS Tunnel VPN connection (parse failed)
  connection = plugin_editor.import_(filename)
Connecting to ProtonVPN on XXXX with UDP.

(I've edited the server name for privacy). My system is up to date. I'm using Linux. Here's the output of protonvpn-cli --version:

ProtonVPN CLI v3.11.0 (protonvpn-nm-lib v3.7.0; proton-client v0.7.1)

I already tried logging out and in, and deleting every file and reinstalling everything, no effect.

calexandru2018 commented 2 years ago

Hey @FlanOfHarmony

This is probably due to the plugin version. What distro/version are you on ?

FlanOfHarmony commented 2 years ago

Fedora 35

FlanOfHarmony commented 2 years ago

It's still here on Fedora 36

sadsfae commented 2 years ago

I still get this error as well on Fedora 35

protonvpn-stable-release-1.0.1-1.noarch
python3-proton-client-0.7.1-2.noarch
python3-protonvpn-nm-lib-3.11.0-2.fc35.noarch
protonvpn-gui-1.10.0-2.noarch
protonvpn-cli-3.12.0-4.noarch
protonvpn-1.0.0-3.noarch
NetworkManager-libnm-1.32.12-2.fc35.x86_64
NetworkManager-1.32.12-2.fc35.x86_64
NetworkManager-openvpn-1.8.16-1.fc35.x86_64
GabrielRavier commented 10 months ago

Can confirm this still occurs, with the version being:

$ protonvpn-cli --version

Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.16.0; proton-client v0.7.1)

(and associated packages having the following versions:

$ rpm -q protonvpn-stable-release python3-proton-client python3-protonvpn-nm-lib protonvpn-gui protonvpn-cli protonvpn NetworkManager-libnm NetworkManager NetworkManager-openvpn
protonvpn-stable-release-1.0.1-2.noarch
python3-proton-client-0.7.1-3.noarch
python3-protonvpn-nm-lib-3.16.0-1.fc38.noarch
protonvpn-gui-1.12.0-1.noarch
protonvpn-cli-3.13.0-2.noarch
protonvpn-1.0.0-3.noarch
NetworkManager-libnm-1.42.8-1.fc38.x86_64
NetworkManager-libnm-1.42.8-1.fc38.i686
NetworkManager-1.42.8-1.fc38.x86_64
NetworkManager-openvpn-1.10.2-2.fc38.x86_64

)