limscoder / amfast

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
MIT License
5 stars 6 forks source link

Problem with the cherrypy echo example #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I'm a novice user and when I try to run the echo sample I get an error 
from the cherrypy server. Have I missed something simple? The hello_world and 
addressbook examples are working fine.

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/CherryPy-3.2.0rc1-py2.6.egg/cherrypy/wsgiserver/__init__.py", line 1246, in communicate
    req.respond()
  File "/Library/Python/2.6/site-packages/CherryPy-3.2.0rc1-py2.6.egg/cherrypy/wsgiserver/__init__.py", line 758, in respond
    self.server.gateway(self).respond()
  File "/Library/Python/2.6/site-packages/CherryPy-3.2.0rc1-py2.6.egg/cherrypy/wsgiserver/__init__.py", line 1949, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/Library/Python/2.6/site-packages/CherryPy-3.2.0rc1-py2.6.egg/cherrypy/_cptree.py", line 277, in __call__
    return app(environ, start_response)
TypeError: __call__() takes exactly 1 argument (3 given)

Original issue reported on code.google.com by otto.br...@gmail.com on 11 Nov 2010 at 10:55

GoogleCodeExporter commented 9 years ago
This could be a version issue, as the example is tested against CherryPy 3.1. 

Original comment by dthomp...@gmail.com on 12 Nov 2010 at 1:33

GoogleCodeExporter commented 9 years ago
Ok, thanks. I'll try to look into what has changed since CherryPy 3.1. Feel 
free to close this issue.

Original comment by otto.br...@gmail.com on 12 Nov 2010 at 9:57

GoogleCodeExporter commented 9 years ago
Well, it still needs to be fixed, since it looks like 3.2 is close to release. 

Original comment by dthomp...@gmail.com on 12 Nov 2010 at 3:49