Ksenia Marasanova <[EMAIL PROTECTED]> writes: > Fastdata troubles here. I am getting this error in "default" method of > my controller based on DataController: > > Traceback (most recent call last): > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py", > line 99, in _run > self.main() > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py", > line 247, in main > body = page_handler(*virtual_path, **self.params) > File "<string>", line 3, in default > TypeError: expose() takes exactly 2 non-keyword arguments (3 given) > > > Are there any tricks for debugging decorators?
Do you use identity? If so, try Simon's patch. It looks like the new controllers broke indetity's decorator (I don't know which one is the right approach). -- Jorge Godoy <[EMAIL PROTECTED]>

