Hi Randall,

The problem you're suffering is that DataGrid has been upgraded (since r637) to the new widget's API. I think Kevin has tried his best to keep everything backwards compatible with the old API (by creating newforms.py and newbase.py, etc) but missed it on this one (I wrote the patch and didn't think this could happen either, so I guess I'm the one to blame here)

I think the best thing you can do is to switch to the new API (by running turbogears.widgets.use_new_widgets() after you import turbogears.widgets) and start working against it (and help us smooth out the sharp edges on the way... ;). This, I think, will solve all the problems you're describing with DataController.

Either this or updating all the fastdata tree to r636.

I'm really sorry for breaking your app but, as you said, this is alpha software... ;)

Regards,
Alberto

On 03/02/2006, at 23:45, Randall wrote:


Kevin,

I know this is alpha software so things break, but I want to let you
know, if you didn't already, that the last patches broke lots of stuff.
 You'll see if you run a DataController.  First, the Form class
requires a non-keyword arg for the widgets(fields), so line 209 in
datacontroller.py needs to have the kwarg removed.  After fixing that
I'm getting this error, which I don't know how to fix yet.

svn/turbogears/turbogears/fastdata/templates/datagrid.py", line 31, in
_pull
NameError: name 'name' is not defined

Randall


Reply via email to