Occurred after randomly switching between training modes (None, shoot for score, random shoot) while shots are occurring every ~130ms
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in call
return self.func(*args)
File "shootoff.py", line 315, in clear_shots
self._loaded_training.reset()
File "training_protocols\random_shootinit.py", line 79, in reset
self.pick_subtargets()
File "training_protocols\random_shootinit.py", line 35, in pick_subtarget
s
chain_length = random.randrange(1, len(self._subtargets))
File "C:\Python27\lib\random.py", line 217, in randrange
raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop
, width)
ValueError: empty range for randrange() (1,0, -1)
Occurred after randomly switching between training modes (None, shoot for score, random shoot) while shots are occurring every ~130ms
Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in call return self.func(*args) File "shootoff.py", line 315, in clear_shots self._loaded_training.reset() File "training_protocols\random_shootinit.py", line 79, in reset self.pick_subtargets() File "training_protocols\random_shootinit.py", line 35, in pick_subtarget s chain_length = random.randrange(1, len(self._subtargets)) File "C:\Python27\lib\random.py", line 217, in randrange raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop , width) ValueError: empty range for randrange() (1,0, -1)