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

Can't start build-in strategies in Halite Offline Tools on Mac OS X #191

Open
Tolsi opened this issue Dec 18, 2018 · 1 comment
Open

Can't start build-in strategies in Halite Offline Tools on Mac OS X #191

Tolsi opened this issue Dec 18, 2018 · 1 comment

Comments

@Tolsi
Copy link

Tolsi commented Dec 18, 2018

When I try to create a game in 'Halite Visualizer & Gym' app (Mac OS X version, downloaded from the site) with my strategy and any of Benchmark* strategies, they fails with error:

Initialization Phase
================================================================
error: communication error with bot: read failed, errno was: 0 (Undefined error: 0)
Bot error output was:
Traceback (most recent call last):
  File "/Users/tolsi/Library/Application Support/halite-in-a-box/benchmark-bots/benchmark/BenchmarkHopperCollector.py", line 3, in <module>
    exec(zlib.decompress(base64.b64decode('eJydVE1v2zgQvfNXsNlDKViQnTZFdwMzQOMmcZB4N0acNoVgCIxESWwpUqWk2GqQ/96hJFuxN9jD+pAM5+PN45sR/3gzrAozfBBqyNUjzusy1eo9OqfnTBYc3dGFqTj6Qg1TCUcXNGNrFNK/teLonkqukMhybUosSm5KrWWBJN3aXpgysU1JZYliCn+9G12IUmiFfjXHUKuiZKosUN2cL1jG0ffGzLtMIINiozMLgju8vuyMbm1v9uk+mH66vlycIfPCfTu9vAkm/9wuWpjvG5DPwvCw4dI54KKRzjYnqZNEqAR9o53lCRVrNKc1cdDcM5xFNTmY6jznZqKlBCxtDhz0jRzcVmHIiyKupKxxCJklj/CDLt/gWY1vJKu5wZefsSjw07N34MXaZKwkcy+rAxE5DcTT89b/q78BxNb06RlFPMYlqdyMu9w5RljEOONeyiToH7BMV6oc7J8rn281Xe7Gxkej0QhgsOFlZRQ+Rxh6469YKCyJD9BFKvKamWgJLb2El0FkdK7juCCO7W8JVF7IZFhJuGwQCat9yMnXbUu37+6MP9iaF9066w6tUiE5voPw3KvyyGLFBnYCJIcbUpCIY4QrMBLwBhnL4fiTAkRC/WVLe2ZpfyEjt/JSLpK0dP9sONrYpI+tRFSmXQif0pH9d0XJxJ051tStxxbVbdHMnQ269Ma9bt0Td7J142ta+TFZu7WzJ3EbPh3Q69YCwa5PdFdl+9qa7qTbJEg5PXnfTQbjxGOwaioi5MofLd0r/3Dpng7J4eBV4WMyGRwB4SPHfTG+fgTwQ3hBL0ji/uA1lSx7iBheH6/9d0uIpI2aOfVfK14O/H6u/ab8azO6efAXQYsFkWPc7ky/EzYnby66hj0V0ZKGbcra1hHrcih92y7KW2xhdwU++dgJtanf5Frfir52Dxsp6F/w20x62tPAEX1V2J6yO20HBiSjcdGNsqBRa6zoFHUoiolHHij2KBKAItxdNYXpZqDcy/QjJ/bLx5hLwFO6xD8xPEc7XzmGTb/br2Q/+EZy0gP818d+NjxslVrRmCzsLi1gl5z/ybbgx3thEKoOilJICYRw8zjdk935O+PDD8315p6dUaCq7IGbMX03GjXu/cfshJrGb3Wpdt4jTxSBDsMqFzyyRLY87FPRj7zI2Uo1+sw9iAa2K0mB3W8MzTly')))
  File "<string>", line 16, in <module>
AttributeError: module 'hlt.constants' has no attribute 'MAX_HALITE'
@lidavidm
Copy link
Contributor

Hi, sorry for the delay; it's a known issue with how the bots were packed. A community member @fohristiwhirl fixed the issue; you should be able to replace the bots in the path mentioned there with https://github.com/fohristiwhirl/halite3_benchmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants