« Return to Thread: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Re: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

by Michael DeHaan :: Rate this Message:

Reply to Author | View in Thread

Joseph Boyer Jr. wrote:

> Hi Mike...
>
> Here are the trace backs from wget http://10.0.254.169/cblr/svc/op/ks/system/ny0dlab01, and /var/log/cobbler/cobbler.log
>
> Wget ks template...
>
> ExpatError: not well-formed (invalid token): line 219, column 5
>
> </pre>
>
> Cobbler.log
>
> 2008-06-04 10:24:16,738 - remote - login succeeded; user(jboyer@...)
> 2008-06-04 10:24:16,815 - remote - get_profiles; user(?)
> 2008-06-04 10:24:18,633 - remote - generate_kickstart; user(?)
> 2008-06-04 10:24:18,634 - api - generate_kickstart
> 2008-06-04 10:24:18,817 - api - Exception occured: exceptions.NameError
> 2008-06-04 10:24:18,817 - api - Exception value: global name '_' is not defined
> 2008-06-04 10:24:18,822 - api - Exception Info:
>   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line 80, in generate_kickstart_for_profile
>     data = self.templar.render(kfile, meta, None, g)
>    File "/usr/lib/python2.4/site-packages/cobbler/templar.py", line 88, in render
>     print _("There appears to be an formatting error in the template file.")
>
>  

Can you email me your template file?   (http://cobbler.pastebin.com 
works pretty well for this... perhaps you want to join #cobbler on
irc.freenode.net and share it)

It appears that there is something wrong about a "_", and around 219,
but without looking at the file it's hard to say.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@...
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

 « Return to Thread: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)