hi all
i'm building an app with tg2.2 and i wanted to use tgext.crud with
this. however i am getting an interesting error. here it is:
File '/home/mengu/.python-eggs/tgext.crud-0.5.1-py2.7.egg-tmp/tgext/
crud/templates/get_all.html', line 47 in <Expression
u"XML(tmpl_context.widget(value=value_list, action=mount_point
+'.json'))">
${XML(tmpl_context.widget(value=value_list, action=mount_point
+'.json'))}
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
sprox-0.7.2-py2.7.egg/sprox/viewbase.py', line 104 in __call__
return self.__widget__.__call__(*args, **kw)
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
ToscaWidgets-0.9.12-py2.7.egg/tw/core/base.py', line 544 in __call__
return self.display(value, **kw)
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
ToscaWidgets-0.9.12-py2.7.egg/tw/core/base.py', line 539 in display
kw = self.prepare_dict(value, kw)
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
ToscaWidgets-0.9.12-py2.7.egg/tw/core/base.py', line 582 in
prepare_dict
self.update_params(d)
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
tw.forms-0.9.9-py2.7.egg/tw/forms/datagrid.py', line 121 in
update_params
columns = self._parse(fields)
File '/home/mengu/projects/newtg2env/lib/python2.7/site-packages/
tw.forms-0.9.9-py2.7.egg/tw/forms/datagrid.py', line 146 in _parse
title, name_or_f = col[:2]
TypeError: 'SortableColumn' object is not subscriptable
what would be causing this? it seems it is using the latest sprox and
tw1.
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en.