I start to try toscawidgets and encounter a problem. Message is like
below. I use 'kid' for template engine but in error message it show
'genshi'. I have put 'tg.defaultview = "kid"' and 'toscawidgets.on =
True' in app.cfg. Do I miss something to set up toscawidgets? Thanks
for your help.
File "c:\python25\lib\site-packages\toscawidgets-0.2rc3dev_r3795-
py2.5.egg\toscawidgets\display_rules.py", line 180, in
_decode_string_output
output = next_method(self, renderable, **kw)
File "<string>", line 2, in _render_kid_or_genshi
File "c:\python25\lib\site-packages\toscawidgets-0.2rc3dev_r3795-
py2.5.egg\toscawidgets\genericfunctions.py", line 58, in logger
return func(*args, **kw)
File "c:\python25\lib\site-packages\toscawidgets-0.2rc3dev_r3795-
py2.5.egg\toscawidgets\display_rules.py", line 70, in
_render_kid_or_genshi
tpl = self.load_template(template, _origin(renderable, kw))
File "c:\python25\lib\site-packages\toscawidgets-0.2rc3dev_r3795-
py2.5.egg\toscawidgets\view.py", line 113, in load_template
output = self[engine_name].load_template(template)
KeyError: 'genshi'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---