Skip to content

Instantly share code, notes, and snippets.

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
N6jop2j8/lib/python2.7/site-packages/absl/app.py", line 238, in _run_main
sys.exit(main(argv))
File "/Users/danielobrien/Projects/pysc2-dev/pysc2/bin/agent.py", line 150, in main
run_thread(agent_classes, players, FLAGS.map, FLAGS.render, ports)
File "/Users/danielobrien/Projects/pysc2-dev/pysc2/bin/agent.py", line 101, in run_thread
remote=FLAGS.remote) as env:
File "pysc2/env/sc2_env.py", line 289, in __init__
self._launch_remote_mp(interface, self._ports)
File "pysc2/env/sc2_env.py", line 451, in _launch_remote_mp
for c, join in zip(self._controllers, join_reqs))
from absl import flags
from absl.testing import absltest as basetest
from absl.testing import xml_reporter
import unittest
import os
FLAGS = flags.FLAGS
FLAGS.mark_as_parsed()
if __name__ == '__main__':
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d4b661389920 s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:16023->12000/tcp quizzical_mayer
091836fa375e s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:22963->12000/tcp suspicious_bhabha
ae7dbf10871d s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:22488->12000/tcp musing_visvesvaraya
units = {'INVALID': {'unit_id': 0},
'NEUTRAL_BATTLESTATIONMINERALFIELD': {'unit_id': 886},
'NEUTRAL_BATTLESTATIONMINERALFIELD750': {'unit_id': 887},
'NEUTRAL_COLLAPSIBLEROCKTOWERDEBRIS': {'unit_id': 490},
'NEUTRAL_COLLAPSIBLEROCKTOWERDIAGONAL': {'unit_id': 588},
'NEUTRAL_COLLAPSIBLEROCKTOWERPUSHUNIT': {'unit_id': 561},
'NEUTRAL_COLLAPSIBLETERRANTOWERDEBRIS': {'unit_id': 485},
'NEUTRAL_COLLAPSIBLETERRANTOWERDIAGONAL': {'unit_id': 589},
'NEUTRAL_COLLAPSIBLETERRANTOWERPUSHUNIT': {'unit_id': 562},
'NEUTRAL_COLLAPSIBLETERRANTOWERPUSHUNITRAMPLEFT': {'unit_id': 559},
+AWS_BACKOFF_BASE_EXPONENT:
+ name: Set base of the exponent to use for exponential backoff.
+ default: 2
+ description: Set base of the exponent to use for exponential backoff.
+ env:
+ - name: AWS_BACKOFF_BASE_EXPONENT:
+ ini:
+ - {key: backoff, section: aws_backoff }
+ type: int
+AWS_BACKOFF_DELAY:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lesson</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
.completed { text-decoration: line-through; }
</style>
Vue.component('tasks', {
template: '#tasks-template',
created: function () {
this.fetchTaskList()
},
methods: {
fetchTaskList: function() {
let state = {
todos: [
{ title: 'First todo', complete: false },
{ title: 'Second todo', complete: false },
{ title: 'Third todo', complete: false },
],
}
var ul = document.createElement("ul")
document.body.appendChild(ul)
function send_order( $lob_api, $address_line1, $address_line2, $address_city,
$address_state, $address_zip, $name, $email = null, $phone = null ) {
//var_dump(func_get_args());
try {
$this->to_address = $this->lob->addresses()->create(array(
'address_line1' => $address_line1,
'address_line2' => $address_line2,
'address_city' => $address_city,
'address_state' => $address_state,