Ok guys.

Looks like something has broken my master.kid:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<?python import sitetemplate ?>
<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:py="http://purl.org/kid/ns#"; py:extends="sitetemplate">

<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'"
py:attrs="item.items()">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"
py:replace="''"/>
    <title py:replace="''">Your title goes here</title>
    <meta py:replace="item[:]"/>
    <style type="text/css">
        #pageLogin
        {
            font-size: 10px;
            font-family: verdana;
            text-align: right;
        }
    </style>
    <style type="text/css" media="screen">
@import "/static/css/toolbox.css";
</style>
</head>

<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'"
py:attrs="item.items()">

    <div id="head">
        <meta http-equiv="Content-Type"
content="text/html;charset=utf-8"/>
        <TITLE>$pageTitle</TITLE>
        <LINK HREF="/static/css/toolbox.css" TYPE="text/css"
REL="stylesheet"/>
        <LINK HREF="/static/css/help.css" TYPE="text/css"
REL="stylesheet"/>
        <LINK MEDIA="all"
HREF="/tg_widgets/turbogears.widgets/autocompletefield.css"
TYPE="text/css" REL="stylesheet"/>
        <LINK MEDIA="all"
HREF="/tg_widgets/turbogears.widgets/calendar/calendar-system.css"
TYPE="text/css" REL="stylesheet"/>
        <LINK MEDIA="all"
HREF="/tg_widgets/turbogears.widgets/grid.css" TYPE="text/css"
REL="stylesheet"/>
        <LINK MEDIA="all"
HREF="/tg_widgets/turbogears.widgets/sh/SyntaxHighlighter.css"
TYPE="text/css" REL="stylesheet"/>
        <LINK MEDIA="screen"
HREF="/tg_widgets/turbogears.widgets/tabber/tabber.css" TYPE="text/css"
REL="stylesheet"/>
        <!--[if lt IE 7.]>
            <script defer type="text/javascript"
src="/static/javascript/pngfix.js"></script>
        <![endif]-->
        <SCRIPT SRC="/tg_widgets/turbogears/js/MochiKit.js"
TYPE="text/javascript"/>
        <SCRIPT SRC="/tg_widgets/turbogears.widgets/ajax.js"
TYPE="text/javascript"/>
        <SCRIPT SRC="/tg_widgets/turbogears/js/widget.js"
TYPE="text/javascript"/>
        <SCRIPT SRC="/tg_widgets/turbogears.widgets/ajaxgrid.js"
TYPE="text/javascript"/>
        <SCRIPT
SRC="/tg_widgets/turbogears.widgets/autocompletefield.js"
TYPE="text/javascript"/>

        <SCRIPT src="/tg_js/MochiKit.js"/>

        <style type="text/css" media="print">
             .hide_print{display:none;}
        </style>
    </div>

    <div id="banner">
        <DIV ID="top">
            <table style="width:100%; border:3px; padding-top:0px;">
                <tr>
                    <td ROWSPAN = '2' width="80">
                       <a href='/'><img style="border:none;"
src="/static/images/pw_logo.png" /></a>
                    </td>
                    <td style="height:2em; valign:top">
                       <H1>
                        ${pageTitle}
                       </H1>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align:top; padding-top:0px;
text-align:left;">
                        <div class="hide_print">
                            <ul
style="list-style:none;margin-left:-18px">
                                <li py:for="i in topMenu.order"
style="float:left;padding-right:20px">
                                    <a
href="${topMenu[i].link}">${topMenu[i].label}</a>
                                </li>
                            </ul>
                        </div>
                      </td>
                        <td style="vertical-align:top;
text-align:right; padding-top:10px;">
                            Welcome, $tg.display_name<br />
                            <span py:if="tg.display_name !='Guest'">
                                <a
href="/userManagement/">Account</a><br />
                                <a href="/logout">Logout</a>
                            </span>
                            <span py:if="tg.display_name == 'Guest'">
                                <a href="/newUserRequest">Request
Account</a>
                            </span>
                    </td>
                </tr>
            </table>
        </DIV>
        <BR/><BR/>
    </div>

     <div style="padding:10px">
     <div py:replace="[item.text]+item[:]"/>
     </div>
        <!-- End of main_content -->
<div id="footer">
  <p></p>
  <p style="float:bottom; font-size:7px; color:grey;
text-align:center">Copyright &copy; 2006 Pratt and Whitney, United
Technologies</p>
</div>
</body>

</html>

Which yeilds:
500 Internal error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Page handler: <bound method TurboLinkUtilities.index of
<turbolink.utilities.TurboLinkUtilities object at 0x01CF5610>>
Traceback (most recent call last):
  File
"C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
line 105, in _run
    self.main()
  File
"C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in index
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\controllers.py",
line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\database.py",
line 260, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\controllers.py",
line 351, in <lambda>
    mapping, fragment, args, kw)))
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\controllers.py",
line 391, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\controllers.py",
line 82, in _process_output
    fragment=fragment)
  File
"c:\python24\lib\site-packages\TurboGears-1.0-py2.4.egg\turbogears\view\base.py",
line 131, in render
    return engine.render(**kw)
  File
"C:\Python24\lib\site-packages\turbokid-0.9.9-py2.4.egg\turbokid\kidsupport.py",
line 174, in render
    return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\__init__.py",
line 283, in serialize
    return serializer.serialize(self, encoding, fragment, format)
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\serialization.py",
line 109, in serialize
    text = ''.join(tuple(
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\serialization.py",
line 630, in generate
    for ev, item in self.apply_filters(stream, format):
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\serialization.py",
line 165, in format_stream
    for ev, item in stream:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\parser.py", line
218, in _coalesce
    for ev, item in stream:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\serialization.py",
line 480, in inject_meta_tags
    for ev, item in stream:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\parser.py", line
174, in _track
    for p in stream:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\filter.py", line
36, in apply_matches
    template, templates[:i] + templates[i+1:], apply_func):
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\filter.py", line
28, in apply_matches
    item = stream.expand()
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\parser.py", line
103, in expand
    for ev, item in self._iter:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\parser.py", line
174, in _track
    for p in stream:
  File
"c:\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid\parser.py", line
218, in _coalesce
    for ev, item in stream:
  File
"C:\Python24\Lib\site-packages\ft8\turboLink\tg\turbolink\templates\master.py",
line 369, in _match_func
TypeError: generate_content() takes exactly 1 argument (2 given)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to