For the longest time, I would randomly receive 500 Internal Error,
TypeError: 'NoneType' object is not callable and have no idea why.  But
I would simply restart TG and everything would be fine.

Recently, I discovered that I can faithfully reproduce this error.  In
my code, my Kid templates extends other templates that have common code
used by multiple templates.  I then use:
<span py:replace="myexternalfunction()" />
to grab that data.

So for example, a template mytemp.kid extends includestuff.kid, which
has a function myexternalfunction() in it.

I find that when I overwrite includestuff.kid, then when I refresh the
page that uses mytemp.kid, I receive the NoneType error.

I don't know if this is an error that TG is concerned about, since I'm
pretty sure this has to do with Kid compiling issues, but I thought I'd
mention it.


Frank


--~--~---------~--~----~------------~-------~--~----~
 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