Hi,
I get the following traceback with the latest 1.0 svn (rev. 1366):
File
"c:\python24\lib\site-packages\TGFastData-0.9a3-py2.4.egg\tgfastdata\datacontroller.py",
line 61, in default
return method(item, *vpath[1:], **params)
File "<string>", line 3, in edit
...
File
"C:\Python24\lib\site-packages\tgfastdata-0.9a3-py2.4.egg\tgfastdata\templates\form.py",
line 54, in _pull
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\meta.py", line
101, in lockwidget
output = self.__class__.display(self, *args, **kw)
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\base.py", line
310, in display
return super(CompoundWidget, self).display(value, **params)
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\forms.py", line
51, in _update_path
returnval = func(self, *args, **kw)
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\forms.py", line
224, in display
return super(InputWidget, self).display(value, **params)
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\base.py", line
235, in display
params["value"] = to_unicode(self.adjust_value(value, **params))
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\forms.py", line
216, in adjust_value
value = self.validator.from_python(value)
File
"c:\python24\lib\site-packages\FormEncode-0.5.1-py2.4.egg\formencode\api.py",
line 353, in from_python
value = self._from_python(value, state)
File
"C:\Python24\lib\site-packages\formencode-0.5.1-py2.4.egg\formencode\schema.py",
line 204, in _from_python
for name, value in value_dict.items():
AttributeError: 'T1' object has no attribute 'items'
I'm sure it worked a day or two ago, which means self.validator.from_python()
probably wasn't called and hence .items() wasn't called on a model instance.
The question is: how to fix that?
I suppose either tgfastdata or widgets need to be fixed.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---