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()
  File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in index
  File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/var/lib/python-support/python2.4/turbogears/database.py",
line 260, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 351, in <lambda>
    mapping, fragment, args, kw)))
  File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 391, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 82, in _process_output
    fragment=fragment)
  File "/var/lib/python-support/python2.4/turbogears/view/base.py",
line 131, in render
    return engine.render(**kw)
  File "/var/lib/python-support/python2.4/turbokid/kidsupport.py",
line 174, in render
    return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
  File "/var/lib/python-support/python2.4/kid/__init__.py", line 236,
in serialize
    return serializer.serialize(self, encoding, fragment)
  File "/var/lib/python-support/python2.4/kid/serialization.py", line
51, in serialize
    text = list(self.generate(stream, encoding, fragment))
  File "/var/lib/python-support/python2.4/kid/serialization.py", line
329, in generate
    for ev, item in self.apply_filters(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/kid/filter.py", line 21, in
transform_filter
    for ev, item in apply_matches(stream, template, templates,
apply_func):
  File "/var/lib/python-support/python2.4/kid/filter.py", line 25, in
apply_matches
    for ev, item in stream:
  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 "/home/millerti/CSC223/BIGproject/mathlan_info/trunk/mathlan-
info/mathlan_info/templates/frontdoor.py", line 90, in _pull
  File "/var/lib/python-support/python2.4/turbogears/widgets/meta.py",
line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File "/var/lib/python-support/python2.4/turbogears/widgets/base.py",
line 261, in display
    return view.engines.get('kid').transform(params, self.template_c)
  File "/var/lib/python-support/python2.4/turbokid/kidsupport.py",
line 191, in transform
    return ElementStream(t.transform()).expand()
  File "/var/lib/python-support/python2.4/kid/pull.py", line 99, in
expand
    for ev, item in self._iter:
  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/filter.py", line 21, in
transform_filter
    for ev, item in apply_matches(stream, template, templates,
apply_func):
  File "/var/lib/python-support/python2.4/kid/filter.py", line 25, in
apply_matches
    for ev, item in stream:
  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


On Dec 5, 8:19 am, Glauco <[EMAIL PROTECTED]> wrote:
> Timo ha scritto:
>
> > I would like to get to the point where I can get a simple grid (I
> > don't care what it has in it yet) to show up on the page. It's all set
> > up to show the frontdoor template, but the server crashes when I try
> > to run it with the above code. I've tried it in innumerable ways and I
> > can't get it to work. Where is the proper place to declare a DataGrid
> > widget? What is the proper syntax?
>
> Traceback plz.
>
> Gla
>
> --
> +------------------------------------------------------------+
>  Glauco Uri
>  glauco(at)sferacarta.com
>
>           Sfera Carta Software(R)       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
-~----------~----~----~----~------~----~------~--~---

Reply via email to