Hi, I`m trying to use dabo, but I obtain the following error msg:
In [2]: import dabo
---------------------------------------------------------------------------
IOError Traceback (most recent call last)
/home/javier/svn/sanca/trunk/<ipython console> in <module>()
/usr/local/lib/python2.6/dist-packages/dabo/__init__.pyc in <module>()
128 # for the user application separately.
129 import dLocalize
--> 130 dLocalize.install("dabo")
131 # On some platforms getfilesystemencoding() and even getdefaultlocale()
132 # can return None, so we make sure we always set a reasonable encoding:
/usr/local/lib/python2.6/dist-packages/dabo/dLocalize.pyc in
install(domain, localedir, unicode_mo)
54 _domains[domain] = localedir
55 #gettext.install(domain, localedir,
unicode=unicode_mo) ## No, don't globally bind _
---> 56 setLanguage(_defaultLanguage, _defaultEncoding)
57
58
/usr/local/lib/python2.6/dist-packages/dabo/dLocalize.pyc in
setLanguage(lang, charset)
74 daboLocaleDir = _domains.get("dabo", None)
75 if daboLocaleDir:
---> 76 daboTranslation = gettext.translation("dabo",
daboLocaleDir, languages=lang, codeset=charset)
77 # daboTranslation.install() ## No, don't globally bind _
78 _currentTrans = daboTranslation.ugettext
/usr/lib/python2.6/gettext.pyc in translation(domain, localedir,
languages, class_, fallback, codeset)
482 if fallback:
483 return NullTranslations()
--> 484 raise IOError(ENOENT, 'No translation file found for
domain', domain)
485 # TBD: do we need to worry about the file pointer getting collected?
486 # Avoid opening, reading, and parsing the .mo file after
it's been done
IOError: [Errno 2] No translation file found for domain: 'dabo'
I've installed dabo through the following link:
http://cdn.cloudfiles.mosso.com/c97282/dabo-0.9.2-mac-nix.tar.gz
then I runned
sudo python setup.py install
I've no errors in the installation but when I tried to import dabo, I
got the error above.
My system is Ubuntu jaunty, python 2.6.2
Thanks a lot, sorry about my English.
regards
--
Javier Castrillo
=========================================================
GNU / Linux User #242275
Jabber: [email protected]
Blog: http://javiercastrillo.com.ar/blog
Site: http://carapa.com.ar
TCOS: http://argentina.tcosproject.org
Ekiga: [email protected]
=========================================================
Usá Software Libre
_______________________________________________
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]