On 09/30/2009 11:48 AM, Wojtak, Greg wrote:
I am following the directions outlined at
https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler to set up
a distribution and kickstart profile. I’ve created the distribution, but
then when I create the kickstart profile, I get a template error. The
output is below this message. 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.
#
#
# ErrorCatcher instance has no attribute 'listErrors'
# File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 122,
in render
# self.last_errors = t.errorCatcher().listErrors()
#
<pre>
Mod_python error: "PythonHandler services"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
result = object(req)
File "/var/www/cobbler/svc/services.py", line 98, in handler
return apache.HTTP_ERROR
AttributeError: 'module' object has no attribute 'HTTP_ERROR'
</pre>
Greg Wojtak
Unix Systems
*Quicken Loans*
O (734) 805-5980
C (734) 718-8472
http://www.quickenloans.com <http://www.quickenloans.com/>
Hello,
Sorry for the late reply. Someone else had this error, and they fixed
it by opening the ks file (under /var/lib/rhn/kickstarts/*/) and
changing the #errorCatcher line at the top. (Note that this doesn't fix
the underlying problem - it's simply a work-around.)
I would try replacing ListErrors with Echo, and if that doesn't work,
just delete the line entirely.
Hope to help, and let us know if it works.
Joshua Roys
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list