<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns:st2="urn:schemas:contacts" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="Sn"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="GivenName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }st2\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
tt
{font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello all,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’ve been playing around with the new WebUI and
everything seems to be working fine. However, when I click on the
Add->System link I get a page of highlighted code with this at the end:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
style='width:100.0%'>
<tr>
<td style='padding:0in 0in 0in 0in'>
<p class=MsoNormal><em><i><font size=2 color="#909090" face="Times New Roman"><span
style='font-size:10.0pt;color:#909090'>global</span></font></i></em><font
size=2 color="#909090"><span style='font-size:10.0pt;color:#909090'> <strong><b><font
face="Times New Roman">ParseError</font></b></strong> = <class
Cheetah.Parser.ParseError>, <strong><b><font face="Times New Roman">self</font></b></strong> =
<Cheetah.Parser._HighLevelParser instance>, msg <em><i><font
face="Times New Roman">undefined</font></i></em></span></font><o:p></o:p></p>
</td>
</tr>
</table>
<p><strong><b><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>ParseError</span></font></b></strong>:
Invalid end directive Line 107, column 9 in file
/usr/share/cobbler/webui_templates/system_edit.tmpl Line|Cheetah Code
----|------------------------------------------------------------- 104 | />
105 | #if not $system 106 | <a href="javascript: get_random_mac()"
style="font-size: 0.8em;">random</a> 107 | #end ^ 108 |
<p class="context-tip">Example: AA:BB:CC:DD:EE:FF</p> 109
| </td> 110 | </tr> <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>col =
None <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>extMsg =
'' <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>lineno =
None <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>msg =
'Invalid end directive' <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>report =
<bound method ParseError.report of <Cheetah.Parser.ParseError
instance>> <br>
<tt><font size=1 face="Courier New"><span style='font-size:7.5pt'> </span></font></tt><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></tt>stream =
<Cheetah.Parser._HighLevelParser instance> <!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "/var/www/cgi-bin/cobbler/webui.cgi", line 109, in ?
main()
File "/var/www/cgi-bin/cobbler/webui.cgi", line 92, in main
content = func( **form )
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 463, in system_edit
return self.__render( 'system_edit.tmpl', {
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 125, in __render
tmpl = Template( file=filepath, searchList=[data] )
File "/usr/lib/python2.4/site-packages/Cheetah/Template.py", line 1204, in __init__
self._compile(source, file, compilerSettings=compilerSettings)
File "/usr/lib/python2.4/site-packages/Cheetah/Template.py", line 1492, in _compile
keepRefToGeneratedCode=True)
File "/usr/lib/python2.4/site-packages/Cheetah/Template.py", line 720, in compile
compiler.compile()
File "/usr/lib/python2.4/site-packages/Cheetah/Compiler.py", line 1677, in compile
self._parser.parse()
File "/usr/lib/python2.4/site-packages/Cheetah/Parser.py", line 1452, in parse
self.eatDirective()
File "/usr/lib/python2.4/site-packages/Cheetah/Parser.py", line 1574, in eatDirective
directiveParser()
File "/usr/lib/python2.4/site-packages/Cheetah/Parser.py", line 1719, in eatEndDirective
raise ParseError(self, msg='Invalid end directive')
ParseError:
Invalid end directive
Line 107, column 9 in file /usr/share/cobbler/webui_templates/system_edit.tmpl
Line|Cheetah Code
----|-------------------------------------------------------------
104 | />
105 | #if not $system
106 | <a href="javascript: get_random_mac()" style="font-size: 0.8em;">random</a>
107 | #end
^
108 | <p class="context-tip">Example: AA:BB:CC:DD:EE:FF</p>
109 | </td>
110 | </tr>
--><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I did update this afternoon from git and I haven’t
added any systems recently so I cannot recall if this was happening before the
update.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><st1:PersonName w:st="on"><st2:GivenName w:st="on"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Marc</span></font></st2:GivenName><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <st2:Sn
w:st="on">Mondragon</st2:Sn></span></font></st1:PersonName><o:p></o:p></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><st1:place w:st="on"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Fox River</span></font></st1:place><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> Financial
Resources/Ritchie Capital Investments, Ltd.<br>
<st1:Street w:st="on"><st1:address w:st="on">2100 Enterprise Avenue</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">Geneva</st1:City>, <st1:State w:st="on">IL</st1:State>
<st1:PostalCode w:st="on">60134</st1:PostalCode></st1:place><br>
<a href="mailto:marcmo@foxriver.com">marcmo@foxriver.com</a></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>