Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

[BUG] Arch Empty Server Pool #377

Description

@HowToCount

I have this error on my Arch Linux after fresh install:
Traceback (most recent call last):
File "/usr/bin/protonvpn", line 33, in
sys.exit(load_entry_point('protonvpn-cli==2.2.12', 'console_scripts', 'protonvpn')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protonvpn_cli/cli.py", line 72, in main
cli()
File "/usr/lib/python3.12/site-packages/protonvpn_cli/cli.py", line 121, in cli
connection.fastest(protocol)
File "/usr/lib/python3.12/site-packages/protonvpn_cli/connection.py", line 180, in fastest
fastest_server = get_fastest_server(server_pool)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protonvpn_cli/utils.py", line 180, in get_fastest_server
fastest_server = random.choice(fastest_pool[:pool_size])["Name"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/random.py", line 347, in choice
raise IndexError('Cannot choose from an empty sequence')
IndexError: Cannot choose from an empty sequence

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions