Broken protonvpn-cli 'status' parameter
by lostintime from LinuxQuestions.org on (#6QNGJ)
Slackware64 15.0, protonvpn-cli 2.2.12
Today I seem to no longer be able to run 'protonvpn status'. The connection seems fine but using the status parameter results in the following python error:
Code:Traceback (most recent call last):
File "/usr/bin/protonvpn", line 33, in <module>
sys.exit(load_entry_point('protonvpn-cli==2.2.12', 'console_scripts', 'protonvpn')())
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/cli.py", line 72, in main cli()
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/cli.py", line 138, in cli connection.status()
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/connection.py", line 444, in status
+ "Features: {0}\n".format(all_features[feature])
KeyError: 16On Monday afternoon I updated the latest python3-3.9.20 patch. I used protonvpn-cli Monday evening and yesterday (Tuesday) with no such errors. So I am confused why this error is happening today.
I rebuilt the protonvpn-cli package against the latest python3-3.9.20 to no avail. I also tried reverting the python3 package to the previous version.
I'm not a python programmer and could use help to debug.
Thanks.
Edit: I tested on a computer that has not yet been updated to 3-3.9.20. Same error spew. Possibly indicates something upstream is askew. Perhaps the protonvpn-cli script needs to be patched to properly fetch the status?
Today I seem to no longer be able to run 'protonvpn status'. The connection seems fine but using the status parameter results in the following python error:
Code:Traceback (most recent call last):
File "/usr/bin/protonvpn", line 33, in <module>
sys.exit(load_entry_point('protonvpn-cli==2.2.12', 'console_scripts', 'protonvpn')())
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/cli.py", line 72, in main cli()
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/cli.py", line 138, in cli connection.status()
File "/usr/lib64/python3.9/site-packages/protonvpn_cli/connection.py", line 444, in status
+ "Features: {0}\n".format(all_features[feature])
KeyError: 16On Monday afternoon I updated the latest python3-3.9.20 patch. I used protonvpn-cli Monday evening and yesterday (Tuesday) with no such errors. So I am confused why this error is happening today.
I rebuilt the protonvpn-cli package against the latest python3-3.9.20 to no avail. I also tried reverting the python3 package to the previous version.
I'm not a python programmer and could use help to debug.
Thanks.
Edit: I tested on a computer that has not yet been updated to 3-3.9.20. Same error spew. Possibly indicates something upstream is askew. Perhaps the protonvpn-cli script needs to be patched to properly fetch the status?