#741: Error with AjaxGrid on Toolbox.
----------------------+-----------------------------------------------------
Reporter: godoy | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 0.9a5
Component: CherryPy | Version:
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
When opening the toolbox (SVN r.1113), the following error is shown on the
console:
{
09/Apr/2006:20:24:20 HTTP INFO Page handler: <bound method
AjaxGridDesc.update of AjaxGridDesc(name='Ajax Grid',
for_widget=AjaxGrid(name='widget', refresh_text='Update',
defaults={'default': 1}, id='ajaxgrid_0'))>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-
packages/CherryPy-2.2.0-py2.4.egg/cherrypy/_cphttptools.py", line 106, in
_run
self.main()
File "/usr/lib/python2.4/site-
packages/CherryPy-2.2.0-py2.4.egg/cherrypy/_cphttptools.py", line 255, in
main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in update
File
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
line 206, in expose
output = database.run_with_transaction(expose._expose,func, accept,
allow_json, allow_json_from_config,*args, **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 227, 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 248, 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)
TypeError: update() got an unexpected keyword argument 'default'
}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/741>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---