Hi Paul,
On 4/30/2014 21:10, Paul McNett wrote:
...
You gotta work backwards. Not sure what version of Python you are
running, but the exception indicates traceback.py line 13 is expecting
a file-like object, but is instead working with a string-like object.
So what sent it the string-like object in the first place? Etc...
It's good news you can recreate this, because you could sprinkle in
some print statements, generate the exe, and execute.
Could work out to be that py2exe didn't include everything it needed
to, and an exceptional case is being executed that you don't see when
using the python interpreter.
I've had better luck using PyInstaller or even cx-freeze than py2exe
over the past 5 years...
It was me not initializing a log handler correctly when not being in dev
mode.
I still have the question what is the correct thing to do that a user
does not see this 'soft error'?
Option 1: change line 107 in dLocalize to "dabo.log.info(.... , would a
patch to that effect be accepted?
Option 2: ??, somehow force Dabo not to look at the OS language
configuration, how could I do that before 'dLocalize.setLanguage' is
executed the first time.
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]