> My py2app data_files use the locales: > > localeDir = os.path.join(os.path.split(dabo.__file__)[0], 'locale') > locales = [ > ('dabo.locale', ( os.path.join(localeDir, 'dabo.pot'), ) ), > ('dabo.locale/de/LC_MESSAGES', (os.path.join(localeDir, 'de', > 'LC_MESSAGES', 'dabo.mo'),)), > ('dabo.locale/en/LC_MESSAGES', (os.path.join(localeDir, 'en', > 'LC_MESSAGES', 'dabo.mo'),)), > ]
It works with 'lib/python2.5/dabo.locale' instead of just 'dabo.locale'. But is that how it is supposed to be? Now I run into other errors, don't know if related: Traceback (most recent call last): File "/Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet Exporter.app/Contents/Resources/__boot__.py", line 137, in <module> _run('exporter.py') File "/Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet Exporter.app/Contents/Resources/__boot__.py", line 134, in _run execfile(path, globals(), globals()) File "/Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet Exporter.app/Contents/Resources/exporter.py", line 252, in <module> main() File "/Users/user/Documents/workspace/akzent.maus.info/non-web/dist/edNet Exporter.app/Contents/Resources/exporter.py", line 245, in main app.start() File "dabo/dApp.pyc", line 286, in start File "dabo/dSecurityManager.pyc", line 23, in login File "dabo/dApp.pyc", line 318, in getLoginInfo File "dabo/ui/uiwx/dDialog.pyc", line 207, in __init__ File "dabo/ui/uiwx/dDialog.pyc", line 37, in __init__ File "dabo/ui/uiwx/dDialog.pyc", line 227, in _addControls File "dabo/ui/uiwx/dDialog.pyc", line 99, in _addControls File "dabo/ui/dialogs/login.pyc", line 73, in addControls File "dabo/ui/uiwx/dImage.pyc", line 42, in __init__ File "dabo/ui/uiwx/dImage.pyc", line 198, in _setPic File "posixpath.pyc", line 171, in exists TypeError: coercing to Unicode: need string or buffer, NoneType found Greetlings, Hraban _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/dabo-users/[EMAIL PROTECTED]