Skip to content

IndexError: list index out of range #4

Description

@edvinerikson

I'm getting this once in a while, and i guess there is some value differences between the games.
I'm not sure but i guess it is bf3 that is causing this. (They started to pop up after i added a bf3 server to my project)

ERROR:root:Traceback (most recent call last):
  File "D:\rcon-implementation\venv\lib\site-packages\rocket_blast_rcon_troller-0.1.1-py2.7.egg\rocketblast\rcon\listener.py", line 406, in run
    plugin.on_players(['rocketblast.on_player_change', len(self.__players), 'down'])
  File "D:\rcon-implementation\rocketblast\listener\plugins\admin\__init__.py", line 244, in on_players
    self.client.serverinfo(self.client.send(['serverInfo'])).get('values', {}).get('numPlayers', -1)):
  File "D:\rcon-implementation\venv\lib\site-packages\rocket_blast_rcon-0.1.1-py2.7.egg\rocketblast\rcon\frostbite\frostbite.py", line 347, in serverinfo
    values[key] = data[index]
IndexError: list index out of range

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions