Hi all, I just upgraded by packages for the security fix, and now a functioning piece of TG + ToscaWidgets doesn't work anymore. It appears only to be happening with input widgets, my list and view widget are still fine. Here is the traceback:
500 Internal error The server encountered an unexpected condition which prevented it from fulfilling the request. Page handler: <function _wrapper at 0x2aaaaac06668> Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/CherryPy-2.3.0-py2.4.egg/cherrypy/_cphttptools.py", line 121, in _run self.main() File "/usr/lib/python2.4/site-packages/CherryPy-2.3.0-py2.4.egg/cherrypy/_cphttptools.py", line 264, in main body = page_handler(*virtual_path, **self.params) File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/identity/conditions.py", line 288, in _wrapper return fn(*args, **kw) File "<string>", line 3, in default File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/controllers.py", line 342, in expose output = database.run_with_transaction( File "<string>", line 5, in run_with_transaction File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/database.py", line 406, in sa_rwt retval = func(*args, **kw) File "<string>", line 5, in _expose File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/controllers.py", line 359, in <lambda> mapping, fragment, args, kw))) File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/controllers.py", line 386, in _execute_func output = errorhandling.try_call(func, *args, **kw) File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b6-py2.4.egg/turbogears/errorhandling.py", line 72, in try_call return func(self, *args, **kw) File "/home/cliffhanger/CliffVan/cms2/crudcontroller2.py", line 324, in default return method( id, **kwargs ) File "/home/cliffhanger/CliffVan/cms2/image_admin_controller.py", line 240, in edit crud_widget = self.edit_widget( values, object=values, action=form_action, parent_url=self.parent_url ) File "/usr/lib/python2.4/site-packages/ToscaWidgets-0.2rc3dev_r3795-py2.4.egg/toscawidgets/core.py", line 467, in __call__ return self.display(value, **kw) File "/usr/lib/python2.4/site-packages/ToscaWidgets-0.2rc3dev_r3795-py2.4.egg/toscawidgets/core.py", line 463, in display kw = self.prepare_dict(value, kw) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/core.py", line 200, in prepare_dict kw = super(InputWidget, self).prepare_dict(value, kw, adapt=False) File "/usr/lib/python2.4/site-packages/ToscaWidgets-0.2rc3dev_r3795-py2.4.egg/toscawidgets/core.py", line 507, in prepare_dict self.update_params(d) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/fields.py", line 239, in update_params super(Form, self).update_params(d) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/fields.py", line 107, in update_params super(FormField,self).update_params(d) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/core.py", line 216, in update_params super(InputWidget, self).update_params(d) File "/usr/lib/python2.4/site-packages/ToscaWidgets-0.2rc3dev_r3795-py2.4.egg/toscawidgets/core.py", line 574, in update_params attr = getattr(self,k,None) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/fields.py", line 89, in is_required self.validate('', use_request_local=False) File "/usr/lib/python2.4/site-packages/twForms-0.2rc2dev_r3751-py2.4.egg/toscawidgets/widgets/forms/core.py", line 129, in validate value = self.validator.to_python(value, state) File "/usr/lib/python2.4/site-packages/FormEncode-0.9-py2.4.egg/formencode/api.py", line 380, in to_python value = tp(value, state) File "/usr/lib/python2.4/site-packages/FormEncode-0.9-py2.4.egg/formencode/schema.py", line 168, in _to_python message = validator.message('missing', state) TypeError: unbound method message() must be called with DefaultValidator instance as first argument (got str instance instead) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to turbogears-trunk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---