Hi everyone,
I did a fresh install of TG1.1.1 on a ubuntu 10.04 system today and
apart from the python 2.6 usual warning everything works fine except
for one thing : the internationalization (yes that's what keeps
bringing me back here).
It turns out apparently that kid is no longer a dependency in TG1.1.1
which makes sense since genshi is the default template engine (and I
use genshi so I didn't raise an eyebrow over this at first).
However, when trying to load some javascript files containing the _(),
I would get the following error :
/usr/local/lib/python2.6/dist-packages/TurboGears-1.1.1-py2.6.egg/
turbogears/widgets/base.py:251: UserWarning: Widget instance
'JSLink(name='messages-fr.js', charset=None, defer=False, order=0)'
has no template defined
warnings.warn("Widget instance '%r' has no template defined" % self)
Apparently, the internationalization needs kid to work in JS file.
Didn't really dig too deep as to why exactly. I easy_installed
TurboKid and everything works fine now.
Not sure having to install kid is the best solution though, can this
be fixed any other way ?
--
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.