Compiled successfully but errors on game-start?


#1

Had been uploading bots via the web-editor until earlier today when I uploaded a .zip w/ MyBot.py & /hlt (modified library code). Got the compile-success email but bot errors on turn 1 w/ following error - any thoughts?

Initialization Phase
================================================================
error: communication error with bot: read failed, errno was: 0 (Success)
Bot error output was:
Traceback (most recent call last):
  File "MyBot.py", line 22, in <module>
    game = hlt.Game()
  File "/home/worker/Halite/apiserver/worker/tmpsdd18gk4/70_0_holypegasus/hlt/networking.py", line 39, in __init__
    format='<%(module)s.%(funcName)s:%(lineno)d> %(message)s')
  File "/usr/lib/python3.6/logging/__init__.py", line 1807, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.6/logging/__init__.py", line 1031, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.6/logging/__init__.py", line 1060, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/worker/Halite/apiserver/worker/tmpsdd18gk4/70_0_holypegasus/replays/bot-0.log'

#2

Nvm figured it out - guess I couldn’t count on there being a “replays/” folder on the server…