I would like to use both kid and genshi in the same project.
I see if my app.cfg has:

tg.defaultview = "kid" or None

when I try to view a genshi template tg gives me this error:
....
 File "build/bdist.linux-i686/egg/genshi/template.py", line 902, in _eval
 File "build/bdist.linux-i686/egg/genshi/template.py", line 954, in _flatten

ValueError: need more than 2 values to unpack
----------------------------------------
on the other side when I change my app.cfg as:

tg.defaultview = "genshi"

for every page with a kid template tg gives me this error:
...
   for p in stream:
 File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", line 
210, in _coalesce
   for ev, item in stream:
ValueError: too many values to unpack
----------------------------------
In my controllers I define the templates with prefix kid: or genshi as in:
   @expose(template="kid:sicer.templates.tabella.index")
or
   @expose(template="genshi:sicer.templates.tabella.index")


What can I do to having both templates kind together?

jo





--~--~---------~--~----~------------~-------~--~----~
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