I svn updated and have been running with my master.kid with and without comments. No problems so far. Thanks, David, for all the quick responses over the past couple of days.

- jmj

David Stanek wrote:

Too fast an the submit :-(

Actually if you are using the svn version of Kid, do an update and try again. I rolled back my py:match changes until I can nail down what the semantics should be.

David

On 1/4/06, *David Stanek* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:



    On 1/4/06, *Kevin Dangoor* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:


        On 1/4/06, Jeremy Jones <[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>> wrote:
Checking for content
do_add_to_cart.kid:    <meta content="text/html; charset=UTF-8"
http-equiv="content-type" py:replace="''"/>
form_page.kid:    <meta content="text/html; charset=UTF-8"
http-equiv="content-type" py:replace="''"/>
help.kid:    <meta content="text/html; charset=UTF-8"
http-equiv="content-type" py:replace="''"/>
master.kid:    <meta content="text/html; charset=UTF-8"
http-equiv="content-type" py:replace="''"/>
master.kid:    <div id="contents">
master.kid:                    <div class="flash"
py:content="tg_flash"></div>
master.kid:                <!--content-->
master.kid:                <td py:content="item[:]" id="main">
master.kid:                <!--content-->
registration_successful.kid:    <meta content="text/html;
        charset=UTF-8"
http-equiv="content-type" py:replace="''"/>
****************************

        Also in my quest to eliminate the easy stuff: there *was* a
        bug in Kid
        that prevented comments <!-- --> in the master template. This
        bug was
        fixed (tests written, and all of that), but perhaps you've hit
        upon an
        untested case. I don't think that's the problem though.

        The error message that you're reporting doesn't seem right.

        def initialize(self):

        should not give a "NoneType is not callable" error because
        nothing is
        being called on that line. It's a def statement. The *next*
        line has a
        call:

             22         rslt = initialize(self)

        but how can initialize be None? (I see why David asked if
        there was a
        variable called initialize specifically).

        If possible, you may find it instructive to play with those
        generated
        .py files directly from the Python shell.


     Ac




--
David Stanek
www.roninds.net <http://www.roninds.net>


Reply via email to