riccardocagnasso

Untitled

Sep 9th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Traceback (most recent call last):
  2. 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
  3. self.run_application()
  4. 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
  5. self.process_result()
  6. 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
  7. self.write('')
  8. 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
  9. self._write_with_headers(data)
  10. 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
  11. towrite.extend('%s: %s\r\n' % header)
  12. TypeError: an integer or string of size 1 is required
  13. {'GATEWAY_INTERFACE': 'CGI/1.1',
  14. 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
  15. 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
  16. 'HTTP_ACCEPT_LANGUAGE': 'en,en-US;q=0.8,it;q=0.6',
  17. 'HTTP_CACHE_CONTROL': 'max-age=0',
  18. 'HTTP_CONNECTION': 'keep-alive',
  19. 'HTTP_COOKIE': '__atuvc=11%7C6',
  20. 'HTTP_HOST': 'localhost:6543',
  21. 'HTTP_REFERER': 'http://localhost:6543/gf/b9zfz',
  22. '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',
  23. 'PATH_INFO': '/file/wezdg',
  24. 'QUERY_STRING': '',
  25. 'RAW_URI': '/file/wezdg',
  26. 'REMOTE_ADDR': '127.0.0.1',
  27. 'REMOTE_PORT': '37984',
  28. 'REQUEST_METHOD': 'GET',
  29. 'SCRIPT_NAME': '',
  30. 'SERVER_NAME': 'laika',
  31. 'SERVER_PORT': '6543',
  32. 'SERVER_PROTOCOL': 'HTTP/1.1',
  33. 'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',
  34. 'gunicorn.sock': <socket at 0x7f99c467d350 fileno=11 sock=127.0.0.1:6543 peer=127.0.0.1:37984>,
  35. 'webob._parsed_cookies': ({u'__atuvc': u'11%7C6'}, '__atuvc=11%7C6'),
  36. 'webob._parsed_query_vars': (GET([]), ''),
  37. 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f99d30061e0>,
  38. 'wsgi.input': <gevent.pywsgi.Input object at 0x7f99c3fc7ad0>,
  39. 'wsgi.multiprocess': False,
  40. 'wsgi.multithread': False,
  41. 'wsgi.run_once': False,
  42. 'wsgi.url_scheme': 'http',
  43. 'wsgi.version': (1, 0)} failed with TypeError
Advertisement
Add Comment
Please, Sign In to add comment