1. Radomir Dopieralski
  2. hatta
  3. Issues
Issue #83 resolved

cherrypy: TypeError: 'list' object is not callable

Travis Wellman
created an issue

I downloaded hatta 1.5.1, created a new directory, and ran it with no args. Upon visiting localhost:8080 the following occurred on the console.

$ hatta
TypeError("'list' object is not callable",)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1302, in communicate
    req.respond()
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 831, in respond
    self.server.gateway(self).respond()
  File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 2115, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
TypeError: 'list' object is not callable
$ md5sum `which hatta`
02adf4140b62c6787a3c2c943d6e33f9  /home/travis/bin/hatta

The browser showed no response. I'm on Fedora 16 with Python 2.7.3.

Comments (4)

  1. Log in to comment