Author: Paul McNett
Posted: 2009-06-26 at 17:45:32
Fiyawerx wrote:
> 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 -
> 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.
See my setup.py which will create an app bundle on Mac using py2app, and
an exe on Windows using py2exe. Basically, you need some stuff to direct
the exe to the locale directory.
http://trac.dabodev.com/wiki/setup.py
Paul