On Mar 7, 2011, at 9:31 PM, Brent Pinkston wrote:
> After dabo installation on Ubuntu 10.04, I opened the Python Shell and
> added the "import dabo" line and the following error message was
> returned. Any help would be greatly appreciated.
>
>>>> import dabo
> 2011-03-07 21:21:54 - ERROR -
> No translation file found for domain 'dabo'.
> Locale dir = /usr/lib/locale
> Languages = ['en_US']
> Codeset = UTF8
> Traceback (most recent call last):
> File "<pyshell#0>", line 1, in <module>
> import dabo
> File "/usr/local/lib/python2.6/dist-packages/dabo/__init__.py", line
> 291, in <module>
> dLocalize.install("dabo")
> File "/usr/local/lib/python2.6/dist-packages/dabo/dLocalize.py", line
> 79, in install
> setLanguage(_defaultLanguage, _defaultEncoding)
> File "/usr/local/lib/python2.6/dist-packages/dabo/dLocalize.py", line
> 113, in setLanguage
> daboTranslation = gettext.translation("dabo", daboLocaleDir,
> languages=["en"], codeset=charset)
> File "/usr/lib/python2.6/gettext.py", line 484, in translation
> raise IOError(ENOENT, 'No translation file found for domain',
> domain)
> IOError: [Errno 2] No translation file found for domain: 'dabo'
>>>>
Seems to be a common problem under Ubuntu. Do you have a directory
named 'locale' under the main 'dabo' directory, which from the above is
'/usr/local/lib/python2.6/dist-packages/dabo/'? If so, is it an empty directory?
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]