issues installing Cheetah on OS X 10.7.2

Kerry Kurian <[email protected]> Tue, 17 Jan 2012 21:20:57 +0000 (UTC)
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
Hi group,

two parts:

1. I installed Cheetah 2.4.4 via package download and python setup.py
install, and got this:

One or more C extensions failed to build. Performance enhancements
will not be available. Pure Python installation succeeded.

If anyone knows how to fix that, I'd love to know. (FWIW I have
XCode 4.2.1 installed.)

2. cheetah test gives me a boadload of errors and two fails.

The errors look like this:

===================================ERROR: test1
(Cheetah.Tests.NameMapper.VFFSL) string in dict lookup
---------------------------------- Traceback (most recentcall last): File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/NameMapper.py",
line 510, in setUp del ns['anInt'] # will be picked up by globals
KeyError: 'anInt'

The two fails are as follows:

====================================FAIL:
test_compilationCache (Cheetah.Tests.Template.ClassMethods_compile)
---------------------------------- Traceback (most recent call last): File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/Template.py",
line 158, in test_compilationCache assert not
klass._CHEETAH_isInCompilationCache AssertionError

====================================FAIL:
test_keepRefToGeneratedCodeArg (Cheetah.Tests.Template.ClassMethods_compile)
---------------------------------- Traceback (most recent call last): File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Tests/Template.py", line 133,
in test_keepRefToGeneratedCodeArg assert not t.generatedModuleCode()
AssertionError

----------------------------------------------------------------------

Any ideas? Safe to ignore those? If not, what's the fix?


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d