cheetah 2.0.1 is incompatible with python 2.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cheetah (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Source package: cheetah
Distro: Lucid
Current python-cheetah (2.0.1-2ubuntu7) has at least one bug that makes it unable to run on python 2.6:
$ /usr/bin/cheetah fill --oext css default.tmpl
Filling default.tmpl -> default.css
Traceback (most recent call last):
File "/usr/bin/cheetah", line 3, in <module>
CheetahWrap
File "/usr/lib/
meth()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
tclass = TemplateClass.
File "/usr/lib/
settings=
File "/usr/lib/
self._parser = self.parserClas
File "/usr/lib/
self.
File "/usr/lib/
_LowLevelPa
File "/usr/lib/
self.
File "/usr/lib/
r'(
File "/usr/lib/
return escapeRE.
TypeError: importHook() takes at most 5 arguments (6 given)
This seems to be fixed in cheetah 2.1.1:
- Applied patch to correct importHook behavior on Python 2.6 (reported/patched by Toshio Ernie Kuratomi <email address hidden>)
However, you probably would want to update to latest, since the python-cheetah package in Ubuntu has stayed the same since hardy....
Debian squeeze is now at 2.4.2, which works just fine.