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 #574 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

TurboCheetah broken with Cheetah 2.0

Reported by: sluggoster@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TurboGears Version:
Severity: major Keywords:


Using TurboCheetah? 0.9.3 with Cheetah 2.0 RC 6 and TurboGears r768 produces:

File "/usr/local/lib/python2.4/TurboGears-0.9a0dev_r768-py2.4.egg/turbogears/view.py", line 60, in render

return engine.render(info, format, fragment, template)

File "/usr/local/lib/python2.4/TurboCheetah-0.9.3-py2.4.egg/turbocheetah/cheetahsupport.py", line 68, in render

tclass = self.load_template(template)

File "/usr/local/lib/python2.4/TurboCheetah-0.9.3-py2.4.egg/turbocheetah/cheetahsupport.py", line 61, in load_template

tfile, classname)

File "/usr/local/lib/python2.4/TurboCheetah-0.9.3-py2.4.egg/turbocheetah/cheetahsupport.py", line 15, in _recompile_template

tempclass = nsGenTemplate?

KeyError?: 'GenTemplate?'

I suspect this variable was eliminated in the Template.compile() reorganization for Cheetah 2.0. The same template works fine with Cheetah 1.0.

Change History

comment:2 Changed 13 years ago by kevin

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

committed in [778].

Note: See TracTickets for help on using tickets.