Hi!
Last night I've upgraded my 1.0 checkout and had a Kid upgrade as well. Then,
after starting my application I started getting this error on some pages that
work perfectly fine with TG r.1639 and Kid r.348:
Page handler: <bound method Root.index of <siteamostras.controllers.Root object
at 0x419d068c>>
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 105, in _run
self.main()
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File "/home/godoy/TurboGears/1.0/turbogears/controllers.py", line 331, in
expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/home/godoy/TurboGears/1.0/turbogears/database.py", line 245, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/home/godoy/TurboGears/1.0/turbogears/controllers.py", line 348, in
<lambda>
mapping, fragment, *args, **kw)))
File "/home/godoy/TurboGears/1.0/turbogears/controllers.py", line 382, in
_execute_func
return _process_output(output, template, format, content_type, mapping,
fragment)
File "/home/godoy/TurboGears/1.0/turbogears/controllers.py", line 74, in
_process_output
fragment=fragment)
File "/home/godoy/TurboGears/1.0/turbogears/view/base.py", line 132, in render
return engine.render(**kw)
File "/home/godoy/TurboGears/1.0/plugins/kid/turbokid/kidsupport.py", line
156, in render
return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/__init__.py", line 236,
in serialize
return serializer.serialize(self, encoding, fragment)
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/serialization.py", line
51, in serialize
text = list(self.generate(stream, encoding, fragment))
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/serialization.py", line
157, in generate
for ev, item in self.apply_filters(stream):
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/serialization.py", line
84, in balancing_filter
for ev, item in stream:
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/pull.py", line 210, in
_coalesce
for ev, item in stream:
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/filter.py", line 21, in
transform_filter
for ev, item in apply_matches(stream, template, templates, apply_func):
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/filter.py", line 31, in
apply_matches
item = stream.expand()
File "/home/godoy/TurboGears/1.0/thirdparty/kid/kid/pull.py", line 103, in
expand
stack[-1].append(current)
TypeError: append() argument 1 must be Element, not instance
I've run "python setup.py develop" on TG and Kid's directories, to update
entrypoints but it didn't help.
Downgrading to r.1639 fixes the problem.
Anyone else seeing this?
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---