Export to GitHub

gilmud - issue #6

RuntimeError: Set changed size during iteration


Posted on Oct 31, 2012 by Happy Dog

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "./server.py", line 103, in runTicks_players for player in PLAYERS: RuntimeError: Set changed size during iteration

Comment #1

Posted on Oct 31, 2012 by Happy Dog

Created tmp_player_list where players are added upon login. Tickthread now handles adding players to main ticking list.

Status: Fixed

Labels:
Type-Defect Priority-Medium