Skip to content

Instantly share code, notes, and snippets.

@rtyler
Created April 3, 2009 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtyler/89983 to your computer and use it in GitHub Desktop.
Save rtyler/89983 to your computer and use it in GitHub Desktop.
/home/tyler/source/github/cheetah/Cheetah/Compiler.py:1531: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
"\nYou don't have the C version of NameMapper installed! "
...................................................................................................................................................................EE.EEE...EE.EEE...EE.EEE...EE.EEE..........................................................................................................................................................................................................................................................................EEE..EEE..EEE..EEE................................................................................................................................................................................................................................................................................................................................Compiling /tmp/tmpoXDJX5.tmpl -> /tmp/tmpoXDJX5.py
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../home/tyler/source/github/cheetah/src/Tests/SyntaxAndOutput.py:197: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
assert output==expectedOutput, self._outputMismatchReport(output, expectedOutput)
EEEE..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
**********************************************************************
ERROR SyntaxAndOutput.CallDirective.test4 (#call with keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1173, in test4
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_0_31969.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective.test5 (#call with single-line keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1185, in test5
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_02_57350.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective.test7 (#call with python kwargs and #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1209, in test7
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_04_58365.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective.test8 (#call with python kwargs and #args, and using a function to get the)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1221, in test8
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_06_40212.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective.test9 (nested #call directives)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1247, in test9
"12345")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_08_19819.py", line 197, in respond
TypeError: meth2() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_DiffBaseClass.test4 (#call with keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1173, in test4
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_13_63908.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_DiffBaseClass.test5 (#call with single-line keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1185, in test5
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_14_15142.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_DiffBaseClass.test7 (#call with python kwargs and #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1209, in test7
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_17_87768.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_DiffBaseClass.test8 (#call with python kwargs and #args, and using a function to get the)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1221, in test8
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_18_67909.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_DiffBaseClass.test9 (nested #call directives)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1247, in test9
"12345")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_21_70050.py", line 197, in respond
TypeError: meth2() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_MacEOL.test4 (#call with keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1173, in test4
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_25_69542.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_MacEOL.test5 (#call with single-line keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1185, in test5
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_27_66562.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_MacEOL.test7 (#call with python kwargs and #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1209, in test7
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_3_37768.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_MacEOL.test8 (#call with python kwargs and #args, and using a function to get the)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1221, in test8
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_31_15438.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_MacEOL.test9 (nested #call directives)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1247, in test9
"12345")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_33_67062.py", line 197, in respond
TypeError: meth2() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_Win32EOL.test4 (#call with keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1173, in test4
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_38_33195.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_Win32EOL.test5 (#call with single-line keyword #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1185, in test5
"1235 FOO - upper")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_39_88909.py", line 142, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_Win32EOL.test7 (#call with python kwargs and #args)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1209, in test7
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_41_55700.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_Win32EOL.test8 (#call with python kwargs and #args, and using a function to get the)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1221, in test8
"1235 FOO - upper - 999")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_43_91649.py", line 140, in respond
TypeError: meth() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.CallDirective_Win32EOL.test9 (nested #call directives)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 1247, in test9
"12345")
File "./src/Tests/SyntaxAndOutput.py", line 194, in verify
output = templateObj.respond() # rather than __str__, because of unicode
File "cheetah_DynamicallyCompiledCheetahTemplate_1238795615_45_76834.py", line 197, in respond
TypeError: meth2() keywords must be strings
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective.test3 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 756, in test3
u'\u1234', outputEncoding='utf8')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective.test4 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 761, in test4
"\xe1\x88\xb4")
File "./src/Tests/SyntaxAndOutput.py", line 179, in verify
**extraKwArgs
File "/home/tyler/source/github/cheetah/Cheetah/Template.py", line 732, in compile
settings=(compilerSettings or {}))
File "/home/tyler/source/github/cheetah/Cheetah/Compiler.py", line 1595, in __init__
source = source.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 16: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective.test5 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 766, in test5
u'Andr\202', outputEncoding='latin-1')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x82' in position 4: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_DiffBaseClass.test3 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 756, in test3
u'\u1234', outputEncoding='utf8')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_DiffBaseClass.test4 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 761, in test4
"\xe1\x88\xb4")
File "./src/Tests/SyntaxAndOutput.py", line 179, in verify
**extraKwArgs
File "/home/tyler/source/github/cheetah/Cheetah/Template.py", line 732, in compile
settings=(compilerSettings or {}))
File "/home/tyler/source/github/cheetah/Cheetah/Compiler.py", line 1595, in __init__
source = source.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 16: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_DiffBaseClass.test5 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 766, in test5
u'Andr\202', outputEncoding='latin-1')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x82' in position 4: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_MacEOL.test3 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 756, in test3
u'\u1234', outputEncoding='utf8')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_MacEOL.test4 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 761, in test4
"\xe1\x88\xb4")
File "./src/Tests/SyntaxAndOutput.py", line 179, in verify
**extraKwArgs
File "/home/tyler/source/github/cheetah/Cheetah/Template.py", line 732, in compile
settings=(compilerSettings or {}))
File "/home/tyler/source/github/cheetah/Cheetah/Compiler.py", line 1595, in __init__
source = source.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 16: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_MacEOL.test5 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 766, in test5
u'Andr\202', outputEncoding='latin-1')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x82' in position 4: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_Win32EOL.test3 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 756, in test3
u'\u1234', outputEncoding='utf8')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in position 0: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_Win32EOL.test4 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 761, in test4
"\xe1\x88\xb4")
File "./src/Tests/SyntaxAndOutput.py", line 179, in verify
**extraKwArgs
File "/home/tyler/source/github/cheetah/Cheetah/Template.py", line 732, in compile
settings=(compilerSettings or {}))
File "/home/tyler/source/github/cheetah/Cheetah/Compiler.py", line 1595, in __init__
source = source.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 17: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.EncodingDirective_Win32EOL.test5 (basic #encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 766, in test5
u'Andr\202', outputEncoding='latin-1')
File "./src/Tests/SyntaxAndOutput.py", line 196, in verify
output = output.decode(outputEncoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x82' in position 4: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.UnicodeDirective.test1 (basic #unicode)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 791, in test1
"1234ü")
File "./src/Tests/SyntaxAndOutput.py", line 197, in verify
assert output==expectedOutput, self._outputMismatchReport(output, expectedOutput)
File "./src/Tests/SyntaxAndOutput.py", line 219, in _outputMismatchReport
'end': '(end)'}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 72: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.UnicodeDirective_DiffBaseClass.test1 (basic #unicode)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 791, in test1
"1234ü")
File "./src/Tests/SyntaxAndOutput.py", line 197, in verify
assert output==expectedOutput, self._outputMismatchReport(output, expectedOutput)
File "./src/Tests/SyntaxAndOutput.py", line 219, in _outputMismatchReport
'end': '(end)'}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 72: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.UnicodeDirective_MacEOL.test1 (basic #unicode)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 791, in test1
"1234ü")
File "./src/Tests/SyntaxAndOutput.py", line 197, in verify
assert output==expectedOutput, self._outputMismatchReport(output, expectedOutput)
File "./src/Tests/SyntaxAndOutput.py", line 219, in _outputMismatchReport
'end': '(end)'}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 72: ordinal not in range(128)
**********************************************************************
ERROR SyntaxAndOutput.UnicodeDirective_Win32EOL.test1 (basic #unicode)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./src/Tests/SyntaxAndOutput.py", line 791, in test1
"1234ü")
File "./src/Tests/SyntaxAndOutput.py", line 197, in verify
assert output==expectedOutput, self._outputMismatchReport(output, expectedOutput)
File "./src/Tests/SyntaxAndOutput.py", line 219, in _outputMismatchReport
'end': '(end)'}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 73: ordinal not in range(128)
----------------------------------------------------------------------
Ran 2085 tests in 26.931s
FAILED (errors=36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment