-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"nextEventMatchingMask should only be called from the Main Thread!" #2
Comments
Since the error seems to be related to a PyGame call, I have pygame==1.9.3 |
I have the exact same problem, pygame is also 1.9.3 |
Same problem for me on similar mac and os. |
Same here. macOS 10.12.6 with Python 2.7.13 and Python 3.6.2 |
It looks like on OSX OpenCV allows rendering only in main thread. I made a change suggested by error message and moved rendering to main thread. That made it run for me here: https://github.com/tomekowal/pysc2 |
Thanks @tomekowal that fixed it for me. Anybody else trying this make sure to 'pip uninstall pysc2' first before you install the fix |
tomekowal it worked for me too. Thanks |
Fixed in 509f607 |
On Mac OS (Sierra, 10.12.5), on a MacBook Pro (15-inch, 2016)
python -m pysc2.bin.agent --map Simple64
Crashes with the following output:
The text was updated successfully, but these errors were encountered: