Skip to content

Instantly share code, notes, and snippets.

@InTheCloudDan
Created January 13, 2018 23:26
Show Gist options
  • Save InTheCloudDan/9b3368bce4157bf13be8792131cb6df1 to your computer and use it in GitHub Desktop.
Save InTheCloudDan/9b3368bce4157bf13be8792131cb6df1 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 861, in emit
msg = self.format(record)
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 734, in format
return fmt.format(record)
File "/Users/danielobrien/.local/share/virtualenvs/pysc2-dev-N6jop2j8/lib/python2.7/site-packages/absl/logging/__init__.py", line 812, in format
return prefix + super(PythonFormatter, self).format(record)
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
File "/Users/danielobrien/.local/share/virtualenvs/pysc2-dev-N6jop2j8/lib/python2.7/site-packages/docker/models/resource.py", line 21, in __repr__
return "<%s: %s>" % (self.__class__.__name__, self.short_id)
File "/Users/danielobrien/.local/share/virtualenvs/pysc2-dev-N6jop2j8/lib/python2.7/site-packages/docker/models/resource.py", line 41, in short_id
return self.id[:10]
File "/Users/danielobrien/.local/share/virtualenvs/pysc2-dev-N6jop2j8/lib/python2.7/site-packages/docker/models/resource.py", line 34, in id
return self.attrs.get(self.id_attribute)
AttributeError: 'function' object has no attribute 'get'
Logged from file sc_process.py, line 182
line 182:
logging.info("Connection attempt %s (running: %s)", i, is_running)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment