Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: Close review window when bot is in self play to reproduce #116

Open
bjordan2010 opened this issue Mar 10, 2019 · 0 comments
Open
Labels

Comments

@bjordan2010
Copy link
Contributor

This might be low priority and I don't know if it can be handled more gracefully but it happens every time if I close the review window while the bot is in self play. If I close the self play tab first then it doesn't happen. Might not be important but figured you should know.

Traceback (most recent call last):
File "./goreviewpartner/gtp.py", line 122, in play_white
move=answer.split(" ")[1].upper()
IndexError: list index out of range

===
Exception in thread Thread-51:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "./goreviewpartner/gtp.py", line 229, in quit
if answer[0]=="=":return True
IndexError: string index out of range

Exception in thread Thread-50:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "./goreviewpartner/tabbed.py", line 94, in click_button
move=bot.click(color)
File "./goreviewpartner/toolbox.py", line 1259, in click
move=self.bot.play_white()
File "./goreviewpartner/gtp.py", line 126, in play_white
raise GRPException("GRPException in genmove_white()\nanswer='"+answer+"'\n"+unicode(e))
GRPException: GRPException in genmove_white()
answer=''
list index out of range

@ghost ghost added the bug label Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant