Skip to content

Instantly share code, notes, and snippets.

View jrabbit's full-sized avatar
🍡

Jack Laxson jrabbit

🍡
View GitHub Profile
npm info lifecycle nodegit@0.18.3~install: nodegit@0.18.3
> nodegit@0.18.3 install /usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install
[nodegit] Running pre-install script
[nodegit] Configuring libssh2.
{ Error: Command failed: /usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit/vendor/openssl/openssl
/usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit/vendor/libssh2/configure: line 2059: config.log: Permission denied
/usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit/vendor/libssh2/configure: line 2069: config.log: Permission denied
14454 verbose lifecycle nodegit@0.18.3~install: unsafe-perm in lifecycle false
14455 verbose lifecycle nodegit@0.18.3~install: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit/node_modules/.bin:/usr/local/lib/node_modules/polymer-modulizer/node_modules/.bin:/usr/local/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
14456 verbose lifecycle nodegit@0.18.3~install: CWD: /usr/local/lib/node_modules/polymer-modulizer/node_modules/nodegit
14457 silly lifecycle nodegit@0.18.3~install: Args: [ '-c',
14457 silly lifecycle 'node lifecycleScripts/preinstall && node lifecycleScripts/install' ]
14458 silly lifecycle nodegit@0.18.3~install: Returned: code: 1 signal: null
14459 info lifecycle nodegit@0.18.3~install: Failed to exec install script
14460 verbose unlock done using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
14461 verbose stack Error: nodegit@0.18.3 install:
manager = Gtd.Manager.get_default()
for tasklist in manager.get_task_lists():
for task in tasklist.get_tasks():
print("??????")
print(task.get_description())
✗ docker image history python
IMAGE CREATED CREATED BY SIZE COMMENT
26acbad26a2c 5 days ago /bin/sh -c #(nop) CMD ["python3"] 0B
<missing> 5 days ago /bin/sh -c set -ex; wget -O get-pip.py '... 5.23MB
<missing> 5 days ago /bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=... 0B
<missing> 5 days ago /bin/sh -c cd /usr/local/bin && ln -s idl... 32B
<missing> 5 days ago /bin/sh -c set -ex && buildDeps=' dpkg-... 62.3MB
<missing> 5 days ago /bin/sh -c #(nop) ENV PYTHON_VERSION=3.6.2 0B
<missing> 5 days ago /bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D411... 0B
<missing> 5 days ago /bin/sh -c apt-get update && apt-get insta... 8.67MB
IMAGE CREATED CREATED BY SIZE COMMENT
ce4460cfb3b2 2 months ago /bin/sh -c #(nop) CMD ["/sbin/my_init"] 0B
<missing> 2 months ago /bin/sh -c #(nop) ENV HOME=/root 0B
<missing> 2 months ago /bin/sh -c #(nop) WORKDIR / 0B
<missing> 2 months ago /bin/sh -c #(nop) VOLUME [/opt/graphite/c... 0B
<missing> 2 months ago /bin/sh -c #(nop) EXPOSE 2003/tcp 2004/tc... 0B
<missing> 2 months ago /bin/sh -c apt-get clean && rm -rf /var/li... 0B
<missing> 2 months ago /bin/sh -c #(nop) ADD file:3c87df5b8277c13... 1.6kB
<missing> 2 months ago /bin/sh -c #(nop) ADD dir:d871ef39cb909950... 43kB
<missing> 2 months ago
taskd_1 | average response bytes: 1360
taskd_1 | average response time: 0.012991
taskd_1 | client: taskd 1.1.0
taskd_1 | code: 200
taskd_1 | errors: 23
taskd_1 | idle: 0.999971
taskd_1 | maximum response time: 0.069388
taskd_1 | organizations: 1
taskd_1 | status: Ok
taskd_1 | total bytes in: 586570
Error in test_discord.TestOnMessage.test_no_reply
File "/usr/lib/python3.5/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.5/unittest/case.py", line 601, in run
testMethod()
File "/usr/lib/python3.5/unittest/mock.py", line 1159, in patched
return func(*args, **keywargs)
File "/home/jack/Projects/pyborg-1up/pyborg/test_discord.py", line 53, in test_no_reply
self.loop.run_until_complete(our_pybd.on_message(msg))
File "/usr/lib/python3.5/asyncio/base_events.py", line 437, in run_until_complete
class TestOnMessage(unittest.TestCase):
def setUp(self):
self.loop = asyncio.new_event_loop()
def tearDown(self):
self.loop.close()
@mock.patch('pyborg_discord.PyborgDiscord')
def test_no_reply(self, patched_pyb_discord):
msg = mock.Mock()
msg.return_value.content = "Yolo!"
taskd_1 | s: INFO Server listening.
taskd_1 | s: INFO connection from 172.21.0.6 port 58918
taskd_1 | s: 3 ASSERT: constate.c[_gnutls_epoch_get]:600
taskd_1 | s: 3 ASSERT: buffers.c[get_last_packet]:1159
taskd_1 | s: 3 ASSERT: db.c[_gnutls_server_restore_session]:272
taskd_1 | s: 3 ASSERT: server_name.c[gnutls_server_name_get]:315
taskd_1 | s: 3 ASSERT: buffers.c[get_last_packet]:1159
taskd_1 | s: 3 ASSERT: extensions.c[_gnutls_get_extension]:65
taskd_1 | s: INFO Verifying certificate.
taskd_1 | s: 3 ASSERT: status_request.c[gnutls_ocsp_status_request_get]:370
def command(internals=False):
"""Wraps a python function into an irc command"""
def decorator(wrapped):
def callback(scanner, name, ob):
scanner.registry.add(name, ob)
if internals:
if not scanner.multiplex:
return partial(wrapped, scanner.multiplex, scanner.multi_server)
return partial(wrapped, scanner.multiplex, scanner.multi_server)
else: