Skip to content

Instantly share code, notes, and snippets.

@glesica
Created November 11, 2011 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glesica/1358945 to your computer and use it in GitHub Desktop.
Save glesica/1358945 to your computer and use it in GitHub Desktop.
ERROR:root:Uncaught exception POST /audit/computer01 (127.0.0.1)
HTTPRequest(protocol='http', host='localhost:8888', method='POST', uri='/audit/computer01', version='HTTP/1.1', remote_ip='127.0.0.1', body='{"date": "2011-11-11","applications":[{"name":"Adobe CS4", "vendor":"Adobe, Inc.", "version":"9.2.0"}]}', headers={'Host': 'localhost:8888', 'Content-Type': 'applications/json', 'Content-Length': '103', 'Accept': '*/*', 'User-Agent': 'curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6'})
Traceback (most recent call last):
File "/home/george/Repos/auditr/envs/auditr/lib/python2.6/site-packages/tornado/web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "server.py", line 83, in post
application['version']
File "/home/george/Repos/auditr/envs/auditr/lib/python2.6/site-packages/tornado/database.py", line 111, in query
column_names = [d[0] for d in cursor.description]
TypeError: 'NoneType' object is not iterable
ERROR:root:500 POST /audit/computer01 (127.0.0.1) 3.09ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment