Hi, When I try to use a snippet inside a kickstart profile I get the error below. I am pretty sure ther is no syntax error in the snippet, because if I copy past it directly into the kickstart it works fine.
Any ideas ? # *** 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. # # # No module named rhn_rpc # File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 121, in render # data_out = t.respond() # # File "cheetah_DynamicallyCompiledCheetahTemplate_1270710965_03_66584.py", line 455, in respond # # File "cheetah_DynamicallyCompiledCheetahTemplate_1270710965_03_66584.py", line 148, in __errorCatcher12 # # File "<string>", line 0, in ? # # File "/usr/lib/python2.4/site-packages/cobbler/template_api.py", line 171, in SNIPPET # result = BuiltinTemplate.SNIPPET(self, file) # # File "DynamicallyCompiledCheetahTemplate.py", line 89, in SNIPPET # # File "/usr/lib64/python2.4/site-packages/Cheetah/Template.py", line 1512, in _handleCheetahInclude # nestedTemplateClass = compiler.compile(source=source,file=file) # # File "/usr/lib/python2.4/site-packages/cobbler/template_api.py", line 127, in compile # return Cheetah.Template.Template.compile(*args, **kwargs) # # File "/usr/lib64/python2.4/site-packages/Cheetah/Template.py", line 768, in compile # exec co in mod.__dict__ # # File "cheetah_DynamicallyCompiledCheetahTemplate_1270713398_34_47930.py", line 23, in ? #
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
