On 3/13/17 16:50, Coyot Linden (Glenn Glazer) wrote:
Based on this thread, we tried to solve a problem:

Right now, all of our software clients are 32 bit C++ executables, but we are making the migration to 64 bit for those that have 64 bit systems.  Since we don't know on first download of an updated client whether the client host is 32 or 64, we wanted to download a 32 bit version of the our python shim which would then detect the correct bitness and ask our servers for the right thing.

Unfortunately we seem to be running into problems with this scheme.   On a 64bit host, we have both 32 and 64 bit python and pyinstaller installed.  Using the 32 bit version, we compiled our scripts and got "Failed to execute script" when we ran them. 

I then wrote a hello world script (e.g., just the shebang and the print) and while python hello_world.py works, hello_world.exe just exits with no output.

Suggestions on how to solve this welcome.

Best,

coyot
GLENN GLAZER | Senior Software Engineer
m:
562.305.2920 | email:  [email protected] | Second Life: Coyot Linden
LINDEN LAB | Create Virtual Experiences


Update on this.  It turns out that the bitness was a false trail.  After a great deal of work late into last night, we discovered that the same python code, built by the same machine with the same python works completely correctly as an exe if the -w is left off and fails completely if it does.  This is true of both hello world (which outputs nothing) and our shim (which causes the failed to execute window).

The unfortunate part of this discovery is that the console window does pop up for awhile prior to the actual executable starting.  This is aesthetically unpleasing but certainly better than not functioning at all.

Again, suggestions are welcome.

Best,

coyot
GLENN GLAZER | Senior Software Engineer
m:
562.305.2920 | email:  [email protected] | Second Life: Coyot Linden
LINDEN LAB | Create Virtual Experiences




--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to