![protonvpn 错误 — “预计 --menu 至少有 5 个令牌,但实际有 4 个”](https://linux22.com/image/947095/protonvpn%20%E9%94%99%E8%AF%AF%20%E2%80%94%20%E2%80%9C%E9%A2%84%E8%AE%A1%20--menu%20%E8%87%B3%E5%B0%91%E6%9C%89%205%20%E4%B8%AA%E4%BB%A4%E7%89%8C%EF%BC%8C%E4%BD%86%E5%AE%9E%E9%99%85%E6%9C%89%204%20%E4%B8%AA%E2%80%9D.png)
我已经安装了 protonvpn,并且已经使用很长时间了,没有任何问题。
我已经使用过本教程 -https://www.tecmint.com/install-protonvpn-in-linux/ 安装protonvpn
从今天开始,尝试连接 protonvpn 时突然出现以下错误 -
sudo protonvpn connect
Traceback (most recent call last):
File "/usr/local/bin/protonvpn", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/protonvpn_cli/cli.py", line 72, in main
cli()
File "/usr/local/lib/python3.8/dist-packages/protonvpn_cli/cli.py", line 134, in cli
connection.dialog()
File "/usr/local/lib/python3.8/dist-packages/protonvpn_cli/connection.py", line 83, in dialog
country = show_dialog("Choose a country:", choices)
File "/usr/local/lib/python3.8/dist-packages/protonvpn_cli/connection.py", line 38, in show_dialog
code, tag = d.menu(headline, title="ProtonVPN-CLI", choices=choices)
File "/usr/local/lib/python3.8/dist-packages/dialog.py", line 2935, in menu
return self._widget_with_string_output(
File "/usr/local/lib/python3.8/dist-packages/dialog.py", line 1728, in _widget_with_string_output
code, output = self._perform(args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/dialog.py", line 1523, in _perform
exit_code, output = self._handle_program_exit(child_pid,
File "/usr/local/lib/python3.8/dist-packages/dialog.py", line 1489, in _handle_program_exit
self._wait_for_program_termination(child_pid,
File "/usr/local/lib/python3.8/dist-packages/dialog.py", line 1435, in _wait_for_program_termination
raise DialogError(
dialog.DialogError: dialog-like terminated due to an error: the dialog-like program exited with status 3 (which was passed to it as the DIALOG_ERROR environment variable). Sometimes, the reason is simply that dialog was given a height or width parameter that is too big for the terminal in use. Its output, with leading and trailing whitespace stripped, was:
Error: Expected at least 5 tokens for --menu, have 4.
那么,我该如何纠正这个问题?