Hi Jose,

I'm not sure, but it looks like that your session data is malformed
(corrupted). Try to delete the session from storage (do you use file
storage?) and request the page again. I had something same before.

2011/2/11 jose soares <[email protected]>:
> Hi all,
>
> Could someone give me some tip to avoid this error?
>
> ----------------------------
> return tg.i18n.format_date(value, locale=tg.i18n.get_locale(),
> date_format=date_format)
>
>  File
> "/home/sf/.VE-SIC.x-x86_64-19.04.2010/lib/python2.6/site-packages/TurboGears-1.1.1-py2.6.egg/turbogears/i18n/utils.py",
> line 66, in get_locale
>   locale = get_locale_f()
>  File
> "/home/sf/.VE-SIC.x-x86_64-19.04.2010/lib/python2.6/site-packages/TurboGears-1.1.1-py2.6.egg/turbogears/i18n/utils.py",
> line 80, in _get_locale
>   locale = cherrypy.session.get(locale_key)
>  File
> "/home/sf/.VE-SICER2.x-x86_64-19.04.2010/lib/python2.6/site-packages/cherrypy/filters/sessionfilter.py",
> line 485, in __getattr__
>   data = sess.session_storage.load(sess.session_id)
>  File
> "/home/sf/.VE-SIC.x-x86_64-19.04.2010/lib/python2.6/site-packages/cherrypy/filters/sessionfilter.py",
> line 284, in load
>   data = pickle.load(f)
> ValueError: could not convert string to int
> -----------------------------
>
> Thanks for any help,
>
> j
>
> --
> 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.
>
>

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