Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/phas/virtualenv/shareonce/local/lib/python2.7/site-packages/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/pywsgi.py", line 508, in handle_one_response
- self.run_application()
- File "/home/phas/virtualenv/shareonce/local/lib/python2.7/site-packages/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/pywsgi.py", line 495, in run_application
- self.process_result()
- File "/home/phas/virtualenv/shareonce/local/lib/python2.7/site-packages/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/pywsgi.py", line 488, in process_result
- self.write('')
- File "/home/phas/virtualenv/shareonce/local/lib/python2.7/site-packages/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/pywsgi.py", line 380, in write
- self._write_with_headers(data)
- File "/home/phas/virtualenv/shareonce/local/lib/python2.7/site-packages/gevent-1.0.1-py2.7-linux-x86_64.egg/gevent/pywsgi.py", line 391, in _write_with_headers
- towrite.extend('%s: %s\r\n' % header)
- TypeError: an integer or string of size 1 is required
- {'GATEWAY_INTERFACE': 'CGI/1.1',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
- 'HTTP_ACCEPT_LANGUAGE': 'en,en-US;q=0.8,it;q=0.6',
- 'HTTP_CACHE_CONTROL': 'max-age=0',
- 'HTTP_CONNECTION': 'keep-alive',
- 'HTTP_COOKIE': '__atuvc=11%7C6',
- 'HTTP_HOST': 'localhost:6543',
- 'HTTP_REFERER': 'http://localhost:6543/gf/b9zfz',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.94 Chrome/37.0.2062.94 Safari/537.36',
- 'PATH_INFO': '/file/wezdg',
- 'QUERY_STRING': '',
- 'RAW_URI': '/file/wezdg',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REMOTE_PORT': '37984',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': '',
- 'SERVER_NAME': 'laika',
- 'SERVER_PORT': '6543',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',
- 'gunicorn.sock': <socket at 0x7f99c467d350 fileno=11 sock=127.0.0.1:6543 peer=127.0.0.1:37984>,
- 'webob._parsed_cookies': ({u'__atuvc': u'11%7C6'}, '__atuvc=11%7C6'),
- 'webob._parsed_query_vars': (GET([]), ''),
- 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f99d30061e0>,
- 'wsgi.input': <gevent.pywsgi.Input object at 0x7f99c3fc7ad0>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)} failed with TypeError
Advertisement
Add Comment
Please, Sign In to add comment