[dabo-users] Trying to create an exe from a dabo app

Author: Fiyawerx

Posted: 2009-06-26 at 15:08:48

Hello, I've tried googling around for quite a bit regarding these but havn't

seen the right solution yet. It is possible that I've seen it and not

understood it at the time, but I figured I would throw it out here as well.

I wanted to create a gui app for a tool I use here at work, and created it

using the dabo class designer for my gui. I don't have any db functionality,

and really only used dabo for the gui framework. I'm trying to convert this

program to an exe and can't seem to find the best way to do it. After

reading about several dll issues with python 2.6, I removed it all,

installed 2.5 and the other pre-req's for that version, and the program is

running great as a py app.

When I try to use cx_freeze or py2exe, It is creating it ok, but when the

program tries to run it gets -

C:\Projects\swotd\dist>main

Traceback (most recent call last):

File "c:\Python25\lib\site-packages\cx_Freeze\initscripts\Console.py",

line 29

, in <module>

exec code in m.__dict__

File "main.py", line 3, in <module>

File "c:\Python25\dabo\__init__.py", line 130, in <module>

dLocalize.install("dabo")

File "c:\Python25\dabo\dLocalize.py", line 56, in install

setLanguage(_defaultLanguage, _defaultEncoding)

File "c:\Python25\dabo\dLocalize.py", line 76, in setLanguage

daboTranslation = gettext.translation("dabo", daboLocaleDir,

languages=lang,

codeset=charset)

File "c:\Python25\lib\gettext.py", line 469, in translation

raise IOError(ENOENT, 'No translation file found for domain', domain)

IOError: [Errno 2] No translation file found for domain: 'dabo'

Any advice would be greatly appreciated. I do understand that I'm not using

Dabo to it's full extent yet, but I plan on getting there.

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 Fiyawerx