I notice this problem has come up many times in the past, but I didn't
see a proper resolution for it.
Basically, after editing templates I sometimes get an error looking
like this:
[...Numerous other lines elided...]
File "f:\code\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid
\serialization.py", line 109, in serialize
text = ''.join(tuple(
File "f:\code\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid
\serialization.py", line 622, in generate
stream = iter(stream)
File "f:\code\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid
\__init__.py", line 309, in __iter__
return iter(self.transform())
File "f:\code\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid
\__init__.py", line 364, in transform
stream = self.pull()
File "f:\code\python24\lib\site-packages\kid-0.9.4-py2.4.egg\kid
\__init__.py", line 323, in pull
self.initialize()
File "F:\code\pyprojects\whatever\whatever\templates\users.py", line
23, in initialize
File "F:\code\pyprojects\whatever\whatever\templates\master.py",
line 23, in initialize
TypeError: 'NoneType' object is not callable
Usually restarting the server makes the problem go away, at least
until the next time.
I don't think upgrading is the solution; I have tg 1.0.1, and kid
0.9.4 which is already 1 step newer than the one on the TG site
(though apparently 1 older than the current version).
Is there a fix for this sort of problem? If not, I'm not too averse to
migrating to a different template library, if that is the only way to
prevent this sort of thing.
--
Ben Sizer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---