Could you open a ticket for this on trac.turbogears.org?   It might be
worth it to search around a little bit to see if there's already an
open ticket on this issue, but I don't rememeber seeing one.

And this sounds like something that really ought to be fixed.  So I
would hate to see your comments get lost in the shuffle.

On 8/8/06, Yannick <[EMAIL PROTECTED]> wrote:
>
> Yves-Eric,
>
> Found a way to fix it:
>
> in kid/__init__.py, line 182:
> remove _filters = [transform_filter] from the class definition, and put
> it inside the __init__ method, this is what is should look like:
> -------------------------8<-------------------------------------
> class BaseTemplate(object):
>     # the serializer to use when writing output
>     serializer = output_methods['xml']
>
>     def __init__(self, *args, **kw):
>         self.__dict__.update(kw)
>         self._layout_classes = []
>         self._filters = [transform_filter]
> -------------------------8<-------------------------------------
>
> I am sure this is not the right fix, but at least it now works for me!
> :)
>
> The problem was that the i18n filter was added to the _filters list
> each time the page was called... So of course you ended up with a huge
> list of filters by the time the page received some traffic.
>
> Cheers,
> Yannick
>
>
> >
>


-- 
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

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

Reply via email to