Am 14.02.2011 16:06, schrieb jose soares:
> I don't now Christoph, sometimes the error is raised by the 
> i18n.get_locale(). In the following case I didn't put nothing in the
> session... I only want return data formated ...
>
> return tg.i18n.format_date(value, locale=tg.i18n.get_locale(),
> date_format=date_format)

The get_local() call tries to get the locale from the session. It seems
the session file for that session got orrupted for whatever reason, so
when trying to read the session at that point you see this error.

-- Christoph

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