Skip to content

Instantly share code, notes, and snippets.

@michwill
Created August 29, 2019 17:37
Show Gist options
  • Save michwill/e6d5318f1c7e6ac35265bd3423e7e47b to your computer and use it in GitHub Desktop.
Save michwill/e6d5318f1c7e6ac35265bd3423e7e47b to your computer and use it in GitHub Desktop.
Bugs in worker
WSGI application error
Traceback (most recent call last):
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/python/context.py", line 87, in callWithContext
self.contexts.pop()
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/hendrix/facilities/response.py", line 27, in run
return ran
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/web/wsgi.py", line 533, in run
self.started = True
--- <exception caught here> ---
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/web/wsgi.py", line 508, in run
self.write(elem)
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/web/wsgi.py", line 463, in write
self.reactor, wsgiWrite, self.started)
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/internet/threads.py", line 122, in blockingCallFromThread
result.raiseException()
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/python/failure.py", line 488, in raiseException
raise self.value.with_traceback(self.tb)
builtins.AttributeError: 'NoneType' object has no attribute 'writeHeaders'
Unhandled Error
Traceback (most recent call last):
File "/home/ubuntu/nucypher/nucypher/cli/characters/ursula.py", line 310, in ursula
node_deployer.run() # <--- Blocking Call (Reactor)
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/hendrix/deploy/base.py", line 184, in run
self.reactor.run()
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/internet/base.py", line 1272, in run
self.mainLoop()
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/internet/base.py", line 1281, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/internet/base.py", line 875, in runUntilCurrent
f(*a, **kw)
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/web/wsgi.py", line 521, in wsgiError
self.request.loseConnection()
File "/home/ubuntu/.local/share/virtualenvs/nucypher-fvStivKV/lib/python3.6/site-packages/twisted/web/http.py", line 1556, in loseConnection
self.channel.loseConnection()
builtins.AttributeError: 'NoneType' object has no attribute 'loseConnection'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment