<div dir="ltr"><div><div><div>Good Morning,<br><br></div>I just tried to build a new kickstart profile on my freshly patched Spacewalk 1.8 install, only to be greeted with the following error:<br><br></div><br><pre style="overflow:scroll;width:800px;height:800px">
# *** ERROR ***
#
# There is a templating error preventing this file from rendering correctly.
#
# This is most likely not due to a bug in Cobbler and is something you can fix.
#
# Look at the message below to see what things are causing problems.
#
# (1) Does the template file reference a $variable that is not defined?
# (2) is there a formatting error in a Cheetah directive?
# (3) Should dollar signs ($) be escaped that are not being escaped?
#
# Try fixing the problem and then investigate to see if this message goes
# away or changes.
#
#
# 'ascii' codec can't decode byte 0xe2 in position 3786: ordinal not in range(128)
# File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 139, in render
# data_out = t.respond()
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1360163568_47_92820.py", line 750, in respond
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1360163568_47_92820.py", line 207, in __errorCatcher21
#
# File "<string>", line 1, in <module>
#
# File "/usr/lib/python2.6/site-packages/cobbler/template_api.py", line 335, in SNIPPET
# result = BuiltinTemplate.SNIPPET(self, file)
#
# File "DynamicallyCompiledCheetahTemplate.py", line 85, in SNIPPET
#
# File "/usr/lib64/python2.6/site-packages/Cheetah/Template.py", line 1583, in _handleCheetahInclude
# nestedTemplateClass = compiler.compile(source=source, file=file)
#
# File "/usr/lib/python2.6/site-packages/cobbler/template_api.py", line 292, in compile
# return Cheetah.Template.Template.compile(*args, **kwargs)
#
# File "/usr/lib64/python2.6/site-packages/Cheetah/Template.py", line 737, in compile
# settings=(compilerSettings or {}))
#
# File "/usr/lib/python2.6/site-packages/cobbler/template_api.py", line 132, in __init__
# Cheetah.Compiler.ModuleCompiler.__init__(self, *args, **kwargs)
#
# File "/usr/lib64/python2.6/site-packages/Cheetah/Compiler.py", line 1575, in __init__
# source = unicode(source)
#
</pre></div><div><div>It seems to be associated with the "Template" portion of the pre/post script section calling out to my snippets (which work on my older 1.7 install without issue). Unchecking this checkbox resolves the issue, but breaks my kickstart methodology. I did some googling and found that this was a bug in cobbler2-2.0.10 and was supposed to be resolved in cobbler2-2.0.11, however, I have cobbler2-2.0.11-4 installed and it seems to have persisted. Any ideas as to how I can get this resolved?</div>
<div><br></div><div>Thanks,<br>Jonathan<br></div><div><br></div><div><br></div></div></div>