[issue21427] installer not working

Peter Santoro report at bugs.python.org
Sun Jun 22 01:09:09 CEST 2014


Peter Santoro added the comment:

I believe I may have hit a related issue yesterday.  I'm using Python 3.3.5 (32 and 64 bit) and 3.4.1 (32 and 64 bit) releases all on the same Windows 7SP1/64bit PC (patched with latest MS updates).  The Tkinter applications that I wrote and have been using with 3.x for a while now stopped working sometime after installing 3.4.1 - I only noticed this behavior yesterday.  All the Tkinter apps run fine as .py files (but with an associated console window); however, they no longer run as .pyw files.  Instead, they silently fail.

I checked my file associations/types and I believe they are correct.  The py.exe and pyw.exe files are in the Windows directory.  None of my colleagues have this issue, but they only have one Python installation (3.4.1 64bit).  My users also only have one Python version installed (3.3.5 or 3.4.1) and they are not experiencing this issue.

I did search for a empty file on the path with the same name as the python script that I was trying to execute, as this will lead to silent failures - but I found none.

I also tried using the Python Windows installer repair facility on the Python 3.4.1 64bit install, but that didn't help.  I then uninstalled and reinstalled my Python 3.4.1 64bit release, but that didn't help either.

I did notice that the py.exe and pyw.exe files in my Windows directory were not identical to a colleague's Python 3.4.1 64bit PC.

I then ran pyw.exe via windbg (e.g. windbg pyw.exe -3.4 irtool.pyw, windbg pyw.exe -3.4-32 irtool.pyw) to see if there were obvious errors.  I discovered that my pyw.exe silently fails whenever it is instructed to use the 3.4.1 release.  However, when I specified Python 3.3.5 (pyw.exe -3.3 or -3.3-32) my Tkinter applications ran fine and as expected, without an associated console window.

I'm reasonably certain that I did not intentionally modify the py.exe and pyw.exe files in my Windows directory.

Also, all my scripts start with the following: 
#!/usr/bin/python3

Unfortunately, I'm not able to uninstall 3.3.5, until we upgrade all users to 3.4.x (probably shortly after 3.4.2 is released).

----------
nosy: +peter at psantoro.net

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21427>
_______________________________________


More information about the Python-bugs-list mailing list