[TurboGears] Re: TypeError: dispatch_error() got multiple values for keyword argument 'tg_errors'

2006-02-05 Thread Alberto Valverde


Hi Jorge,

I've run into it too. Maybe you should file a ticket on this as i  
think it's a bug... I'm too busy trying to get all widgets to at  
least display so I haven't bothered yet to test the input (even  
forgot to report it).


Regards,
Alberto.

On Feb 5, 2006, at 4:51 PM, Jorge Godoy wrote:




Hi!


After submitting a form I get the following TraceBack:

== 
==

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 default
  File /home/godoy/desenvolvimento/python/TurboGears/trunk/ 
turbogears/controllers.py, line 218, in expose

func, tg_format, html, fragment, *args, **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 248, in _execute_func

output = dispatch_error(func, self, *args, **kw)
TypeError: dispatch_error() got multiple values for keyword  
argument 'tg_errors'
== 
==


In this page I have a DataGrid and a FormTable.  I'm running

== 
==

Path: .
URL: http://www.turbogears.org/svn/turbogears/trunk
Repository UUID: 77541ad4-5f01-0410-9ede-a1b63cd9a898
Revision: 645
Node Kind: directory
Schedule: normal
Last Changed Author: kevin
Last Changed Rev: 645
Last Changed Date: 2006-02-05 02:11:53 -0200 (Sun, 05 Feb 2006)
Properties Last Updated: 2006-01-30 11:59:23 -0200 (Mon, 30 Jan 2006)
== 
==


Is there something I can do in my code to avoid that?

--
Jorge Godoy  [EMAIL PROTECTED]




[TurboGears] Re: TypeError: dispatch_error() got multiple values for keyword argument 'tg_errors'

2006-02-05 Thread Simon Belak


Yes, it's a bug. I have a fix ready, but to be on the safe side, would 
you mind posting signatures of caller and error handler.


Thanks,
Simon

Alberto Valverde wrote:


Hi Jorge,

I've run into it too. Maybe you should file a ticket on this as i think 
it's a bug... I'm too busy trying to get all widgets to at least 
display so I haven't bothered yet to test the input (even forgot to 
report it).


Regards,
Alberto.

On Feb 5, 2006, at 4:51 PM, Jorge Godoy wrote:




Hi!


After submitting a form I get the following TraceBack:

 


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 default
  File 
/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py, 
line 218, in expose

func, tg_format, html, fragment, *args, **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 248, in _execute_func

output = dispatch_error(func, self, *args, **kw)
TypeError: dispatch_error() got multiple values for keyword argument 
'tg_errors'
 



In this page I have a DataGrid and a FormTable.  I'm running

 


Path: .
URL: http://www.turbogears.org/svn/turbogears/trunk
Repository UUID: 77541ad4-5f01-0410-9ede-a1b63cd9a898
Revision: 645
Node Kind: directory
Schedule: normal
Last Changed Author: kevin
Last Changed Rev: 645
Last Changed Date: 2006-02-05 02:11:53 -0200 (Sun, 05 Feb 2006)
Properties Last Updated: 2006-01-30 11:59:23 -0200 (Mon, 30 Jan 2006)
 



Is there something I can do in my code to avoid that?

--Jorge Godoy  [EMAIL PROTECTED]





[TurboGears] Re: TypeError: dispatch_error() got multiple values for keyword argument 'tg_errors'

2006-02-05 Thread Jorge Godoy

Alberto Valverde [EMAIL PROTECTED] writes:

 Hi Jorge,

 I've run into it too. Maybe you should file a ticket on this as i  think it's
 a bug... I'm too busy trying to get all widgets to at  least display so I
 haven't bothered yet to test the input (even  forgot to report it).

 Regards,
 Alberto.

It's ticket #516.  I've tagged it as blocker, since it doesn't allow using
widgets...  (I haven't traced which widgets but I have textfields, checkboxes
and calendars on this form table)

-- 
Jorge Godoy  [EMAIL PROTECTED]


[TurboGears] Re: TypeError: dispatch_error() got multiple values for keyword argument 'tg_errors'

2006-02-05 Thread Jorge Godoy

Simon Belak [EMAIL PROTECTED] writes:

 Yes, it's a bug. I have a fix ready, but to be on the safe side, would you
 mind posting signatures of caller and error handler.

It is the same function I posted before with the identity.require and that you
helped with the two selfs...

-- 
Jorge Godoy  [EMAIL PROTECTED]