AI crash (likely related to seating, but I'm documenting here for now)
Closed this issue · 2 comments
AI crashed during bidding in 3 AI game; first AI bid, 2nd AI melted the server. Game was unplayable as there was no way to recover the AI.
20140511 19:48:28 ai.base:INFO base:105: Rand_AI joined Game 1 Seat 1
20140511 19:48:28 ai.base:INFO base:260: Rand_1 passes
20140511 19:48:28 ai.base:INFO base:105: Rand_AI joined Game 1 Seat 3
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/data/git/cinch/ai/RandAI.py", line 21, in __init__
self.start() # Blocks
File "/data/git/cinch/ai/base.py", line 221, in start
self.socket.wait() # Blocks until self.stop()
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/__init__.py", line 175, in wait
self._process_events()
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/__init__.py", line 194, in _process_events
self._process_packet(packet)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/__init__.py", line 202, in _process_packet
delegate(packet, namespace._find_event_callback)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/__init__.py", line 327, in _on_event
find_event_callback(event)(*args)
File "/data/git/cinch/ai/base.py", line 140, in on_startData
if self.gs.activePlayer == self.pNum: # I'm first to act
AttributeError: 'Rand' object has no attribute 'pNum'
Was this a console 'aig' game? Does it happen every time for you?
On Sun, May 11, 2014 at 4:51 PM, mrpoodlepants notifications@github.comwrote:
AI crashed during bidding in 3 AI game; first AI bid, 2nd AI melted the
server. Game was unplayable as there was no way to recover the AI.20140511 19:48:28 ai.base:INFO base:105: Rand_AI joined Game 1 Seat 1
20140511 19:48:28 ai.base:INFO base:260: Rand_1 passes
20140511 19:48:28 ai.base:INFO base:105: Rand_AI joined Game 1 Seat 3
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in *bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(_self.__args, _self.__kwargs)
File "/data/git/cinch/ai/RandAI.py", line 21, in __init
self.start() # Blocks
File "/data/git/cinch/ai/base.py", line 221, in start
self.socket.wait() # Blocks until self.stop()
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 175, in wait
self._process_events()
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 194, in _process_events
self._process_packet(packet)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 202, in _process_packet
delegate(packet, namespace._find_event_callback)
File "/usr/local/lib/python2.7/dist-packages/socketIO_client/init.py", line 327, in _on_event
find_event_callback(event)(*args)
File "/data/git/cinch/ai/base.py", line 140, in on_startData
if self.gs.activePlayer == self.pNum: # I'm first to act
AttributeError: 'Rand' object has no attribute 'pNum'—
Reply to this email directly or view it on GitHubhttps://github.com//issues/152
.
Yes and yes.