Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2518 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Kid is not a dependency for TG1.1.1 anymore but is still needed for TG widget

Reported by: zafy Owned by:
Priority: normal Milestone: 1.1.x bugfix
Component: TurboGears Version: 1.1 HEAD
Severity: normal Keywords: tg widgets, kid, i18n


The kid templating engine is used for TG widgets and particularily internationalization in TG1.1.1. However a fresh install of TG1.1.1 with easy_install does not install kid. If the _() method is used in any javascript files it will thus not be recognized and will cause javascript issues in the app.

Also the only warning given by TurboGears in this case is not very explicit :

/usr/lib/python2.5/site-packages/TurboGears-1.1.1-py2.5.egg/turbogears/ widgets/base.py:251: UserWarning?: Widget instance 'JSLink(name='js/ i18n_base.js', charset=None, defer=False, order=0)' has no template defined.

Kid needs to be set as a dependency for TG1.1

Change History

comment:1 Changed 9 years ago by chrisz

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r7136.

Note that this is only needed for the TG 1.1 branch since TG 1.5 can use Genshi for widget templates and all the templates in TG have been converted to Genshi.

Note: See TracTickets for help on using tickets.