I thought I had already read something about this here, but I couldn't find
anything on Google...  Has anyone seen that?  It started after I switched this
part of the project to use widgets and after I switched to the new
configuration style... 

Any hints on what might be causing that?


Traceback (most recent call last):
  File "./start-site_amostras.py", line 24, in ?
    from site_amostras.controllers import Root
  File 
"/home/godoy/empresa/clientes/latam/site_amostras/site_amostras/controllers.py",
 line 29, in ?
    from novos_usuarios import NovosUsuarios
  File 
"/home/godoy/empresa/clientes/latam/site_amostras/site_amostras/novos_usuarios.py",
 line 15, in ?
    import clientes
  File 
"/home/godoy/empresa/clientes/latam/site_amostras/site_amostras/clientes.py", 
line 15, in ?
    class Clientes:
  File 
"/home/godoy/empresa/clientes/latam/site_amostras/site_amostras/clientes.py", 
line 21, in Clientes
    labeltext = _('Nome abreviado'),
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/i18n/tg_gettext.py",
 line 45, in gettext
    return gettext_f(key, locale, domain)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/i18n/tg_gettext.py",
 line 54, in _gettext
    if locale is None:locale = get_locale()
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/i18n/utils.py", 
line 64, in get_locale
    locale = get_locale_f()
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/i18n/utils.py", 
line 77, in _get_locale
    locale = cherrypy.session.get(locale_key)
  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/filters/sessionfilter.py",
 line 391, in __getattr__
    sess = cherrypy.request._session
  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/__init__.py",
 line 41, in __getattr__
    childobject = getattr(serving, self.__attrname__)
AttributeError: 'thread._local' object has no attribute 'request'


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to