Can you try now Jorge? Ciao Michele
Jorge Godoy wrote: > While trying to display a form composed of a CalendarDatePicker, two > TextFields and a HiddenField I got this Traceback: > > =============================================================================== > 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 default > 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 > return func(self, *args, **kw) > File > "/home/godoy/empresa/clientes/latam/Site-Amostras/siteamostras/controllers/feriados.py", > line 49, in default > return self.feriados(args[0]) > File "<string>", line 3, in feriados > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py", > line 203, in expose > output = expose._expose(func, accept, allow_json, allow_json_from_config, > *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 258, in _execute_func > return _process_output(output, template, format, content_type, mapping, > fragment) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py", > line 56, in _process_output > mapping=mapping, content_type=content_type,fragment=fragment) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/view/base.py", > line 131, in render > return engine.render(**kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/plugins/kid/turbokid/kidsupport.py", > line 156, in render > return t.serialize(encoding=self.defaultencoding, output=format, > fragment=fragment) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/__init__.py", > line 236, in serialize > return serializer.serialize(self, encoding, fragment) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/serialization.py", > line 51, in serialize > text = list(self.generate(stream, encoding, fragment)) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/serialization.py", > line 327, in generate > for ev, item in self.apply_filters(stream): > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/serialization.py", > line 84, in balancing_filter > for ev, item in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 206, in _coalesce > for ev, item in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/filter.py", > line 21, in transform_filter > for ev, item in apply_matches(stream, template, templates, apply_func): > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/filter.py", > line 31, in apply_matches > item = stream.expand() > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 95, in expand > for ev, item in self._iter: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 164, in _track > for p in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 206, in _coalesce > for ev, item in stream: > File > "/home/godoy/empresa/clientes/latam/Site-Amostras/siteamostras/templates/form_generico.py", > line 150, in _pull > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/meta.py", > line 101, in lockwidget > output = self.__class__.display(self, *args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/base.py", > line 310, in display > return super(CompoundWidget, self).display(*args, **params) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/forms.py", > line 51, in _update_path > returnval = func(self, *args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/forms.py", > line 228, in display > return super(InputWidget, self).display(*args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/base.py", > line 239, in display > return view.transform(params, template=self.template_c) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/view/base.py", > line 136, in transform > return engine.transform(info, template) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/plugins/kid/turbokid/kidsupport.py", > line 173, in transform > return ElementStream(t.transform()).expand() > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 95, in expand > for ev, item in self._iter: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 164, in _track > for p in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/filter.py", > line 21, in transform_filter > for ev, item in apply_matches(stream, template, templates, apply_func): > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/filter.py", > line 25, in apply_matches > for ev, item in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 164, in _track > for p in stream: > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/thirdparty/kid/kid/pull.py", > line 206, in _coalesce > for ev, item in stream: > File "<string>", line 31, in _pull > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/meta.py", > line 101, in lockwidget > output = self.__class__.display(self, *args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/forms.py", > line 51, in _update_path > returnval = func(self, *args, **kw) > File > "/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/widgets/forms.py", > line 228, in display > return super(InputWidget, self).display(*args, **kw) > TypeError: display() got multiple values for keyword argument 'value' > =============================================================================== > > This is with > > cElementTree 1.0.5-20051216 > Cheetah 1.0 > CherryPy 2.2.0 > elementtree 1.2.6-20050316 > elementtree 1.2.6-20050316 > FormEncode 0.5.1 > FormEncode 0.5.1 > kid 0.9 > nose 0.8.7.2 > Paste 0.5 > PasteDeploy 0.5 > PasteScript 0.5.1 > PyProtocols 1.0a0 > RuleDispatch 0.5a0 > setuptools 0.6a11 > simplejson 1.3 > SQLObject 0.7.1dev-r1707 > TurboGears 0.9a5dev-r1250 > TurboJson 0.9.2dev-r1204 > TurboKid 0.9.4dev-r1123 > > > -- > Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
