Timo ha scritto:
> Here it is; sorry, I didn't have access to it earlier:
>
> 500 Internal error
>
> The server encountered an unexpected condition which prevented it from
> fulfilling the request.
>
> Page handler: <bound method Root.index of
> <mathlan_info.controllers.Root object at 0xb711d2ec>>
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
> line 105, in _run
> self.main()
>
> <cut>
>
> File "/var/lib/python-support/python2.4/kid/pull.py", line 168, in
> _track
> for p in stream:
> File "/var/lib/python-support/python2.4/kid/pull.py", line 210, in
> _coalesce
> for ev, item in stream:
> File "/var/lib/python-support/python2.4/turbogears/widgets/templates/
> datagrid.py", line 59, in _pull
> TypeError: iteration over non-sequence
>
when you do
return dict(form = fooBar,
form_params = fooBarParam,
grid = DataGrid(action='/scheda_ua',
fields=gridFields,
rowcount=xy),
grid_params = sequence,
)
grid_params must be an iterable.
Glauco
--
+------------------------------------------------------------+
Glauco Uri
glauco(at)sferacarta.com
Sfera Carta Software® info(at)sferacarta.com
Via Bazzanese,69 Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---