I think you solved it a bit to drastically. It seems that self is no longer being passed around (should have been the first element of args). What exactly did you do?
Mind you, there is still a fair chance it's a bug and not your doing. Cheers, Simon Jorge Godoy wrote: > > I've just updated to r1105 to see if I could get that "self" problem solved > and now I get a different error, with the same code: > > ================================================================================ > Traceback (most recent call last): > s, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/database.py", > line 216, in run_with_transaction > retval = func(*args, **kw) > File "<string>", line 5, in _expose > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py", > line 226, in <lambda> > expose._expose.when(rule)(lambda _func, accept, allow_json, > allow_json_from_config,*args,**kw: _execute_func( > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py", > line 249, in _execute_func > output = errorhandling.try_call(func, *args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/errorhandling.py", > line 71, in try_call > output = func(self, *args, **kw) > File "<string>", line 3, in save > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py", > line 139, in validate > return errorhandling.run_with_errors(errors, func, *args, **kw) > TypeError: run_with_errors() takes at least 3 non-keyword arguments (2 given) > ================================================================================ > > I still dunno if I'm using something wrong or if this is a new bug (or family > of bugs ;-)) > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
