After installing the necessary packages through apt (python 2.5, simplejson, etc.) I get an error message when I try to start the demonstration.
: Request instance has no attribute 'responseHeaders'
/usr/lib/python2.5/site-packages/tornado/web.py, line 404 in flush
402 for k,v in self._generate_headers():
403 if isinstance(v, list):
404 self.request.responseHeaders.setRawHeaders(k, v)
405 else:
Self
request
twisted.web.server.Request instance @ 0x85da24c
Locals
self
k 'Set-Cookie'
v
List instance @ 0x85da46c
Here is the proof that the necessary packages are installed
/web/tmp/tornado/demos/helloworld# dpkg -l | grep python2.5
ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la
ii python2.5-dev 2.5.2-2ubuntu6 Header files and a static library for Python
ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language
ii python-simplejson 1.7.3-1
ii python-pycurl 7.16.4-1
It seems that not too many people try this thing from a tornado from a friend. Anyone have any suggestions / tips to help me get up and work with him?
source
share