Simon Belak <[EMAIL PROTECTED]> writes:

> Hi,
>
> I think I have found the (hope it's the bug, not a bug ;)).
>
> Would you mind trying attached pathches (newcontroller.py.diff and
> decorator.py.diff).
>
> Thanks.
>
> Simon

I've tested Kevin's new commit (SVN r.622), sorry, I was out for the whole 
morning.

The problem is still there:

Traceback (most recent call last):
  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py",
 line 99, in _run
    self.main()
  File 
"/usr/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 index
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 215, in expose
    func, tg_format, html, fragment, **kw)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/database.py", 
line 193, in run_with_transaction
    retval = func(*args, **kw)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 243, in _execute_func
    output = dispatch_error(func, self, **kw)
  File "<string>", line 5, in dispatch_error
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 295, in _default_error_handler
    return getattr(self, error_source.__name__ )(**kw)
  File "<string>", line 3, in index
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 211, in expose
    output = _execute_func(self, func, tg_format, html, fragment, **kw)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 240, in _execute_func
    raise error
TypeError: expose() got multiple values for keyword argument 'self'


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to