Hi All,

     After upgrading from kid 0.9.1 to 0.9.2 we started to have
problems with our templates (see below for stack trace). Using tickets
#94 and #66 as a guide, we were able to eliminate the problem by
removing all comments (<!-- comment -->) in our extending templates.

     I am wondering if anyone else has been experiencing a similar
problem, and if there is a quick fix we can do to our templates (aside
from removing the comments) to resolve this issue. Please let me know
if you require more information or if you need our templates to help
troubleshoot this problem.

Thank You,
David Scannell
DrProject

-------Stack Trace-------
{{{

Error

append() argument 1 must be Element, not instance
Python Traceback

Traceback (most recent call last):
  File "/home/drp/drproject_source/drproject/web/main.py", line 171,
in dispatch_request
    dispatcher.dispatch(req)
  File "/home/drp/drproject_source/drproject/web/main.py", line 109, in dispatch
    chosen_handler)
  File "/home/drp/drproject_source/drproject/web/chrome.py", line 163,
in render_response
    output = template.serialize(output=typemap.get(content_type, 'xml'))
  File "/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/__init__.py",
line 236, in serialize
    return serializer.serialize(self, encoding, fragment)
  File 
"/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/serialization.py",
line 51, in serialize
    text = list(self.generate(stream, encoding, fragment))
  File 
"/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/serialization.py",
line 157, in generate
    for ev, item in self.apply_filters(stream):
  File 
"/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/serialization.py",
line 84, in balancing_filter
    for ev, item in stream:
  File "/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/pull.py",
line 210, in _coalesce
    for ev, item in stream:
  File "/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/filter.py",
line 21, in transform_filter
    for ev, item in apply_matches(stream, template, templates, apply_func):
  File "/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/filter.py",
line 31, in apply_matches
    item = stream.expand()
  File "/usr/lib/python2.4/site-packages/kid-0.9.2-py2.4.egg/kid/pull.py",
line 103, in expand
    stack[-1].append(current)
TypeError: append() argument 1 must be Element, not instance
}}}

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to