Created
October 6, 2016 09:12
-
-
Save braoru/e093f13ba7271364e9d23640d87f0dc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<registered[web] (<TCPServer/web 18636:MainThread (queued=0) [S]>, <Server/web 18636:MainThread (queued=0) [S]> )> | |
<registered[web] (<Server/web 18636:MainThread (queued=0) [S]>, <App/* 18636:MainThread (queued=11) [R]> )> | |
<registered[web] (<Logger/web 18636:MainThread (queued=0) [S]>, <App/* 18636:MainThread (queued=10) [R]> )> | |
<registered[web] (<HTTP/web 18636:MainThread (queued=0) [S]>, <Server/web 18636:MainThread (queued=0) [S]> )> | |
<registered[worker] (<Worker/worker 18636:MainThread (queued=0) [S]>, <MyController//deployable 18636:MainThread (queued=0) [S]> )> | |
<registered[web] (<Dispatcher/web 18636:MainThread (queued=0) [S]>, <HTTP/web 18636:MainThread (queued=0) [S]> )> | |
<registered[*] (<Debugger/* 18636:MainThread (queued=0) [S]>, <App/* 18636:MainThread (queued=6) [R]> )> | |
<registered[web] (<JSONSerializer/web 18636:MainThread (queued=0) [S]>, <App/* 18636:MainThread (queued=5) [R]> )> | |
<registered[/deployable] (<MyController//deployable 18636:MainThread (queued=0) [S]>, <App/* 18636:MainThread (queued=4) [R]> )> | |
<started[*] (<App/* 18636:MainThread (queued=3) [R]> )> | |
<registered[select] (<Select/select 18636:MainThread (queued=0) [S]>, <TCPServer/web 18636:MainThread (queued=0) [S]> )> | |
<ready[web] (<TCPServer/web 18636:MainThread (queued=0) [S]>, ('0.0.0.0', 11111) )> | |
circuits.web/3.2 ready! Listening on: http://0.0.0.0:11111 | |
<_read[web] (<socket.socket fd=3, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 11111)> )> | |
<_read[web] (<socket.socket fd=3, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('0.0.0.0', 11111)> )> | |
<connect[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)>, '127.0.0.1', 43100 )> | |
<_read[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)> )> | |
<read[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)>, b'POST /deployable HTTP/1.1\r\nHost: 127.0.0.1:11111\r\nUser-Agent: curl/7.47.1\r\nAccept: */*\r\nContent-Type: \'application/json\'\r\nContent-Length: 15\r\n\r\n{ "test": "x" }' )> | |
<request[web] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )> | |
<POST[/deployable] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )> | |
<request_success[web] (<request[web] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )>, None )> | |
<request_complete[web] (<request[web] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )>, None )> | |
<request_value_changed[<Dispatcher/web 18636:MainThread (queued=0) [S]>] (<Value ((<class 'AttributeError'>, AttributeError("'MyController' object has no attribute 'request'",), <traceback object at 0x7f1b134bdf48>)) result=True; errors=True; for <request[web] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )>> )> | |
<exception[*] (<class 'AttributeError'>, AttributeError("'MyController' object has no attribute 'request'",), [' File "/home/sebastien/Documents/dev/test_ciscuit/lib64/python3.5/site-packages/circuits/core/manager.py", line 814, in processTask\n value = next(task)\n', ' File "test_node.py", line 73, in POST\n data = str(self.request.body.read().decode())\n'] handler=None, fevent=<POST[/deployable] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )>)> | |
ERROR (<POST[/deployable] (<Request POST /deployable HTTP/1.1>, <Response 200 OK None (0)> )>) (<class 'AttributeError'>): AttributeError("'MyController' object has no attribute 'request'",) | |
Traceback (most recent call last): | |
File "/home/sebastien/Documents/dev/test_ciscuit/lib64/python3.5/site-packages/circuits/core/manager.py", line 814, in processTask | |
value = next(task) | |
File "test_node.py", line 73, in POST | |
data = str(self.request.body.read().decode()) | |
AttributeError: 'MyController' object has no attribute 'request' | |
<httperror 500 Internal Server Error> | |
<response[web] (<Response 500 Internal Server Error None (1033)> )> | |
<write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)>, b'HTTP/1.1 500 Internal Server Error\r\n' )> | |
<write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)>, b'Date: Thu, 06 Oct 2016 09:10:00 GMT\r\nServer: circuits.web/3.2\r\nContent-Length: 1085\r\nContent-Type: application/json\r\nConnection: close\r\n\r\n' )> | |
<write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)>, b'"<!DOCTYPE html PUBLIC \\"-//W3C//DTD XHTML 1.0 Transitional//EN\\"\\n\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\">\\n<html>\\n <head>\\n <meta http-equiv=\\"Content-Type\\" content=\\"text/html; charset=utf-8\\"></meta>\\n <title>500 Internal Server Error</title>\\n <style type=\\"text/css\\">\\n #powered_by {\\n margin-top: 20px;\\n border-top: 2px solid black;\\n font-style: italic;\\n }\\n\\n #traceback {\\n color: red;\\n }\\n </style>\\n </head>\\n <body>\\n <h1>Internal Server Error</h1>\\n \\n <pre id=\\"traceback\\">ERROR: (<class 'AttributeError'>) 'MyController' object has no attribute 'request'\\n File "/home/sebastien/Documents/dev/test_ciscuit/lib64/python3.5/site-packages/circuits/core/manager.py", line 814, in processTask\\n value = next(task)\\n File "test_node.py", line 73, in POST\\n data = str(self.request.body.read().decode())\\n</pre>\\n \\n<div id=\\"powered_by\\">\\n <span>Powered by <a href=\\"http://circuitsweb.com/\\">circuits.web/3.2</a></span>\\n</div>\\n\\n </body>\\n</html>\\n"' )> | |
<close[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)> )> | |
<response_success[web] (<response[web] (<Response 500 Internal Server Error application/json (1085)> )>, None )> | |
'127.0.0.1 '- '- '[06/Oct/2016:11:10:01] "'POST /deployable HTTP/1.1" 500 '1085 "'" "'curl/7.47.1" | |
<response_complete[web] (<response[web] (<Response 500 Internal Server Error application/json (1085)> )>, None )> | |
<_write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)> )> | |
<_write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)> )> | |
<_write[web] (<socket.socket fd=6, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('127.0.0.1', 11111), raddr=('127.0.0.1', 43100)> )> | |
<disconnect[web] (<socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=2049, proto=0> )> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment