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?
2006/2/2, Kevin Dangoor <[EMAIL PROTECTED]>:
>
> I just re-committed the controllers code with the decorator fix that
> Simon posted last night. If you run into problems, please report them
> here... but, rather than leaving you stuck, you can call this
> function:
>
> turbogears.controllers.use_old_controllers()
>
> This will put you back on the old code. Note that you'd need to do
> this before you import your controller module.
>
> Kevin
>
> --
> Kevin Dangoor
> Author of the Zesty News RSS newsreader
>
> email: [EMAIL PROTECTED]
> company: http://www.BlazingThings.com
> blog: http://www.BlueSkyOnMars.com
>
--
Ksenia