Re: [PyInstaller] [ANN] PyInstaller 3.3

2017-09-22 Thread Coyot Linden (Glenn Glazer)
On 9/22/17 01:31, Hartmut Goebel wrote: Am 21.09.2017 um 21:13 schrieb Coyot Linden (Glenn Glazer): Does this include the developer branch fix that fixes the Queue/queue module import problem? Which pull-request or commit you

Re: [PyInstaller] [ANN] PyInstaller 3.3

2017-09-21 Thread Coyot Linden (Glenn Glazer)
Does this include the developer branch fix that fixes the Queue/queue module import problem? I do not see it in the 3.3 changelog here: https://pyinstaller.readthedocs.io/en/v3.3/CHANGES.html Best, coyot On 9/21/17

[PyInstaller] PyInstaller now an official part of the Second Life Third Party Developer Instructions

2017-06-29 Thread Coyot Linden (Glenn Glazer)
https://wiki.secondlife.com/wiki/Visual_Studio_2013_Viewer_Builds#Additional_Tools_.26_Settings_you_might_need Best, coyot GLENN GLAZER | Senior Software Engineer m: 562.305.2920 | email:  co...@lindenlab.com | Second Life: Coyot Linden

Re: [PyInstaller] Python, Windows and no console environments

2017-03-31 Thread Coyot Linden (Glenn Glazer)
wrote: Thanks, fixed! On Mon, Mar 20, 2017 at 3:40 PM, Coyot Linden (Glenn Glazer) <co...@lindenlab.com> wrote: On 3

Re: [PyInstaller] Python, Windows and no console environments

2017-03-30 Thread Coyot Linden (Glenn Glazer)
, coyot On 3/27/17 14:48, Jones, Bryan wrote: Thanks, fixed! On Mon, Mar 20, 2017 at 3:40 PM, Coyot Linden (Glenn Glazer) <co...@lindenlab.com> wrote: On 3/20/17 12:01, Coyot

Re: [PyInstaller] Would it be possible to pack a pyinstaller?

2017-03-23 Thread Coyot Linden (Glenn Glazer)
On 3/23/17 08:36, Niemann, Hartmut wrote: Hello!   This may sound strange, and it is ...   I have an application that is mainly an editor but needs to generate an EXE file (an

Re: [PyInstaller] Python, Windows and no console environments

2017-03-20 Thread Coyot Linden (Glenn Glazer)
On 3/20/17 12:01, Coyot Linden (Glenn Glazer) wrote: On 3/16/17 10:07, Jones, Bryan wrote: This link might be relevant -- https://github.com/pyinstaller/pyinstaller/wiki/Recipe-subprocess Have you tried those suggestions

Re: [PyInstaller] Python, Windows and no console environments

2017-03-16 Thread Coyot Linden (Glenn Glazer)
lso raised an issue on the cpython manuals, http://bugs.python.org/issue29829, requesting a note be added to the subprocess documentation. Steve On 16/03/2017 17:24, Coyot Linden (Glenn Glazer) wrote: No, I hadn't seen that. Thanks for the pointer! Best, coyot On 3/16/17 10:07, Jones, B

Re: [PyInstaller] Python, Windows and no console environments

2017-03-16 Thread Coyot Linden (Glenn Glazer)
Have you tried those suggestions? On Thu, Mar 16, 2017 at 10:47 AM, Coyot Linden (Glenn Glazer) <co...@lindenlab.com> wrote: We discovered that code which ran perfectly correctly by executing the s

[PyInstaller] Python, Windows and no console environments

2017-03-16 Thread Coyot Linden (Glenn Glazer)
We discovered that code which ran perfectly correctly by executing the scripts in the POSIX environment or via python on the Windows command prompt would fail when compiled using the -w flag to PyInstaller. This flag prevents the application from launching a console

Re: [PyInstaller] Re: Cross compiling 32 bit application from a 64 bit Windows

2017-03-14 Thread Coyot Linden (Glenn Glazer)
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

Re: [PyInstaller] Re: Cross compiling 32 bit application from a 64 bit Windows

2017-03-13 Thread Coyot Linden (Glenn Glazer)
On 12/29/16 08:59, Steve Barnes wrote: On 29/12/2016 15:52, davecortesi wrote: For several years now I have been using a Windows 7 64 bit machine to build python based code that runs on Windows 32 bit machines elsewhere - All I do is to

Re: [PyInstaller] Getting Windows 10 Permission Error from Pyinstaller

2017-03-10 Thread Coyot Linden (Glenn Glazer)
On 3/10/17 12:44, Coyot Linden (Glenn Glazer) wrote: On 3/10/17 12:40, Steve Barnes wrote: On 10/03/2017 20:32, Coyot Linden (Glenn Glazer) wrote: Anyone else seen this: This is running from the commandline, even

Re: [PyInstaller] Getting Windows 10 Permission Error from Pyinstaller

2017-03-10 Thread Coyot Linden (Glenn Glazer)
On 3/10/17 12:40, Steve Barnes wrote: On 10/03/2017 20:32, Coyot Linden (Glenn Glazer) wrote: Anyone else seen this: This is running from the commandline, even with no options. Best, coyot *GLENN GLAZER | /S/**/enior Software Engineer /** m

[PyInstaller] Getting Windows 10 Permission Error from Pyinstaller

2017-03-10 Thread Coyot Linden (Glenn Glazer)
Anyone else seen this: This is running from the commandline, even with no options. Best, coyot GLENN GLAZER | Senior Software Engineer m: 562.305.2920 | email:  co...@lindenlab.com | Second Life: Coyot Linden

Re: [PyInstaller] running pyinstaller from python

2017-01-31 Thread Coyot Linden (Glenn Glazer)
On 1/31/17 13:50, Hartmut Goebel wrote: Am 31.01.2017 um 21:24 schrieb Coyot Linden (Glenn Glazer): So my questions two are: 1) Any idea on how to coax more information into CalledProcessError to see

[PyInstaller] running pyinstaller from python

2017-01-31 Thread Coyot Linden (Glenn Glazer)
So, we build our products from automated build scripts that are run within the TeamCity framework.  I am trying to get this to work for the first time with pyinstaller and I'm a bit mystified by the (lack of) output. The relevant part of the build output looks like

Re: [PyInstaller] 'python' is not recognized as an internal or external command, operable program or batch file

2017-01-18 Thread Coyot Linden (Glenn Glazer)
On 1/18/17 02:31, Hartmut Goebel wrote: Am 18.01.2017 um 11:04 schrieb ragini dahihande: From that file I am calling another python script. You can not run an external Python script, as PyInstaller does not

Re: [PyInstaller] [ANN] PyInstaller 3.2.1

2017-01-17 Thread Coyot Linden (Glenn Glazer)
So, if I understand the changelist correctly, this doesn't yet have the developer branch fix that fixes the Queue/queue module import problem, correct? Best, coyot On 1/15/17 13:14, Hartmut Goebel wrote: Hello,

[PyInstaller] Pyinstaller 3.3

2017-01-03 Thread Coyot Linden (Glenn Glazer)
Happy New Year everyone! Do we know when 3.3 is expected to be released? Right now, we are dependent on code in the development branch, which is rather more awkward to our build hosts than a release version. Best, coyot -- https://wiki.lindenlab.com/wiki/User:Coyot/Tao_of_Linden

Re: [PyInstaller] fatal error

2016-12-14 Thread Coyot Linden (Glenn Glazer)
On 12/14/16 15:08, Erica wrote: I used pyinstaller to create an executable.  The process seemed to finish successfully, but when I try to open the Program, a popup window opens that says fatal error.  The message says that my program "returned -1".  Does

[PyInstaller] pyinstaller and virus checks

2016-11-17 Thread Coyot Linden (Glenn Glazer)
Because we cannot control the systems our customers run our software on, including what virus checkers they use, we run all of our executables through VirusTotal to check and see if any known antivirus detects us as a false positive.  We do sign our binaries.

Re: [PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-10-04 Thread Coyot Linden (Glenn Glazer)
In a continuing attempt to get pyinstaller to create an executable that doesn't throw an exception, we tried a hack.  There is nothing special about a canonical Python module, it is just another script.  So, we copied Queue.py to our source tree, renamed it and then did

Re: [PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-30 Thread Coyot Linden (Glenn Glazer)
I may have an additional clue. If I do evil things and monkey with the sys.path like this:  if os.name == 'nt':    packages = os.path.join(os.path.splitdrive(sys.path[0])[0],'\\Python27\\lib\\site-packages')    sys.path.insert(0, packages) Then it

Re: [PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-30 Thread Coyot Linden (Glenn Glazer)
On 9/30/16 09:00, Steve Barnes wrote: On 30/09/2016 16:33, Steve Barnes wrote: > > > On 30/09/2016 15:23, Coyot Linden (Glenn Glazer) wrote: >> On 9/30/16 03:03, Steve Barnes wrote: >>

Re: [PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-30 Thread Coyot Linden (Glenn Glazer)
On 9/30/16 08:33, Steve Barnes wrote: On 30/09/2016 15:23, Coyot Linden (Glenn Glazer) wrote: > On 9/30/16 03:03, Steve Barnes wrote: >> On 30/09/2016 09:45, Hartmut Goebel wrote:

Re: [PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-30 Thread Coyot Linden (Glenn Glazer)
On 9/30/16 03:03, Steve Barnes wrote: On 30/09/2016 09:45, Hartmut Goebel wrote: > Hi, > > Am 30.09.2016 um 07:12 schrieb Steve Barnes: > >> File:c:\python27\lib\queue.py >> […] >> File:

[PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-29 Thread Coyot Linden (Glenn Glazer)
On 9/29/16 13:20, Coyot Linden (Glenn Glazer) wrote: I have no idea why Queue would be different than any other Python module. My colleague, Nat, asks: "Is the name Queue used internally to PyInstaller somehow or other?" Best, coyot -- You received this message because you are

[PyInstaller] Re: Trouble getting pyinstaller to import Queue in an imported module.

2016-09-29 Thread Coyot Linden (Glenn Glazer)
oad_update I have no idea why Queue would be different than any other Python module. Best, coyot On 9/26/16 10:07, Coyot Linden (Glenn Glazer) wrote: Hi, all. There is a top level script, called

[PyInstaller] Trouble getting pyinstaller to import Queue in an imported module.

2016-09-26 Thread Coyot Linden (Glenn Glazer)
Hi, all. There is a top level script, called SL_Launcher.  This script may decide to launch another script, download_update as a subprocess: download_process = subprocess.Popen([path_to_downloader, ...args to download_update] ...args to subprocess)

Re: [PyInstaller] more exceptions from pyinstaller during the build

2016-09-23 Thread Coyot Linden (Glenn Glazer)
On 9/23/16 08:18, Hartmut Goebel wrote: Am 23.09.2016 um 17:13 schrieb Coyot Linden (Glenn Glazer): $ ls -l C:\\Users\\coyot\\AppData\\Roaming\\pyinstaller\\bincache00_py27_32bit\\unicodedata.pyd -rwxr-xr-x 1 coyot None 688640 Sep 23 07:41 'C:\Users\coyot\AppData\Roaming\pyinstaller

Re: [PyInstaller] more exceptions from pyinstaller during the build

2016-09-23 Thread Coyot Linden (Glenn Glazer)
On 9/23/16 08:10, Hartmut Goebel wrote: Am 23.09.2016 um 16:58 schrieb Coyot Linden (Glenn Glazer): 29>  IOError: [Errno 13] Permission denied: 'C:\\Users\\coyot\\AppData\\Roaming\\pyinstaller\\bincache00_py27_32bit\\unicodedata.

[PyInstaller] more exceptions from pyinstaller during the build

2016-09-23 Thread Coyot Linden (Glenn Glazer)
This is from a local build on a Windows 7 machine: 29>  Traceback (most recent call last): 29>    File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main 29>  "__main__", fname, loader, pkg_name) 29>    File "c:\python27\lib\runpy.py",

[PyInstaller] Pyinstaller throws exception, not sure why

2016-09-19 Thread Coyot Linden (Glenn Glazer)
The attached full log is from our Teamcity build host.  I was running pyinstaller at DEBUG, so it is pretty verbose. The exception itself is: [19:48:58][Build RelWithDebInfo] 18>  Traceback (most recent call last): [19:48:58][Build RelWithDebInfo] 18> 

[PyInstaller] Re: How to add a single image file to the Windows executable

2016-09-13 Thread Coyot Linden (Glenn Glazer)
On 9/13/16 07:43, davecortesi wrote: I have zero experience with the windows resource system so can't comment on that part. But to K.I.S.S., why not use the same arrangement as the other platforms? See the manual on how to find things at run time:

Re: [PyInstaller] How to add a single image file to the Windows executable

2016-09-13 Thread Coyot Linden (Glenn Glazer)
On 9/13/16 05:23, Hartmut Goebel wrote: Am 13.09.2016 um 01:03 schrieb Coyot Linden (Glenn Glazer): I am looking for the simplest possible method of adding it to the executable and any additional steps required to reference it in the code (For Linux and Mac, we do not use pyinstaller, so

[PyInstaller] How to add a single image file to the Windows executable

2016-09-12 Thread Coyot Linden (Glenn Glazer)
Part of our application is a Tkinter GUI.  The frames use the same, single logo image in all of them in addition to whatever text or buttons are required.  I am looking for the simplest possible method of adding it to the executable and any additional steps

[PyInstaller] small typo in manual

2016-09-06 Thread Coyot Linden (Glenn Glazer)
On https://pythonhosted.org/PyInstaller/man/pyi-makespec.html , the example in the green box is "py-Makespec" which is missing an "i" after "py" - it should be "pyi-Makespec". Source: copy and paste ;) Best, coyot GLENN GLAZER | Senior Software

[PyInstaller] Re: Configuration error on Windows

2016-09-06 Thread Coyot Linden (Glenn Glazer)
Coyot Linden (Glenn Glazer) wrote: So, I get the following from cygwin and DOS both (Win7): $ pyinstaller --onefile --log-level WARN --distpath /tmp \update_manager.py Traceback (most recent call last):  File "c:\python27\lib\runpy.py

[PyInstaller] Configuration error on Windows

2016-09-06 Thread Coyot Linden (Glenn Glazer)
So, I get the following from cygwin and DOS both (Win7): $ pyinstaller --onefile --log-level WARN --distpath /tmp \update_manager.py Traceback (most recent call last):  File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main   

[PyInstaller] 3.2 Regression

2016-07-11 Thread Coyot Linden (Glenn Glazer)
Hi, folks. We are using pyinstaller in our CMake file like this (I've replaced the executable name with for NDA reasons):     add_custom_command(     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/     COMMAND