This is a known bug, not to do with your code, but nobody really knows
what in. Probably kid.
Put your change back in and restart TG. If that fails, try running "kidc
-sf" on your template directory, eg: "kidc -sf templates/". If you still
get an error, make a copy of the traceback and master.py, and mail the
list again :-)
I'm currently trying to track down this elusive bug also.
Thanks
-Rob
Damjan wrote:
> I'm trying to add this CSS in the master.kid file:
> .flash { color:red; border: 1px solid #555; padding: 8px;
> background-color: #bbb; }
>
> And when I try to display a zone.kid template that extends it I get
> this:
>
> File "/home/damjan/Projects/tg-bind/tgbind/templates/zone.py", line
> 21, in initialize
> File "/home/damjan/Projects/tg-bind/tgbind/templates/master.py", line
> 21, in initialize
> TypeError: 'NoneType' object is not callable
>
> If I delete that CSS line, I don't get an error..
>
> Is this a bug in TurboGears, kid, or in my code?
>
>
> Slackware Linux, Python 2.4, TurboGears 0.9a6, kid 0.9.1, TurboKid 0.9.5
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---