I'm creating a database in my websetup, so I have to import my models
there. Some of my models use translations, and as a result things
currently go boom:

  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Pylons-0.9.4.1-py2.4.egg/pylons/i18n/translation.py",
 line 57, in ugettext
    return pylons.translator.ugettext(value)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/registry.py",
 line 125, in __getattr__
    return getattr(self._current_obj(), attr)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/registry.py",
 line 177, in _current_obj
    raise TypeError(
TypeError: No object (name: Translator) has been registered for this thread

I can't seem to find a way to register a translator for use in websetup.
Can someone point me in the right direction?

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to