Re: [Py2exe-users] py2exe 0.6.9 released
On Mon, 17 Nov 2008 12:39:36 +, Pascal wrote: On Sun, 16 Nov 2008 21:23:59 -0500, Chris Spencer wrote: After I compile my program with py2exe 0.6.9 with Python 2.6, I'm still getting the Application Did Not Initialize Properly error dialog whenever I run my code. What am I doing wrong? I have exactly the same problem. I have tried just anything I could think of to no avail : Copied the 3 msvc_90.dll to the system32 subdir of Windows, to the directory of my application, reinstalled the whole Microsoft Visual C++ 2008 Redistributable Package, embedded the manifest data into the exe or kept it in a .manifest file... Could not make it work. Always got the Application Did Not Initialize Properly message. I'm with Windows XP SP3. I tried all this on 2 different systems and I got the same results. I think I narrowed down a little bit the problem. It's not the common one when the msvc_90.dll are not located, though the result is similar. The problem is when you try to generate at least 2 exe in one setup (with 2 scripts specified in the windows command of the setup). This works OK with py2exe 0.6.9 for Python 2.5, but fails with Python 2.6 (and 2.6.1). None of the generated exe can be started. When I compare the content of library.zip in both versions, this file doesn't contain any .pyc for the scripts you want to generate an exe for with Python 2.5, but always contains a .pyc for one of the scripts you want to generate an .exe for with Python 2.6. Don't know if it's a clue for finding a fix. I have tested many ways to figure this out but I can't find any solution for the moment so I'm sticking with Python 2.5. -- http://mail.python.org/mailman/listinfo/python-list
Re: [Py2exe-users] py2exe 0.6.9 released
On Mon, 08 Dec 2008 14:47:13 +, Pascal wrote: On Mon, 17 Nov 2008 12:39:36 +, Pascal wrote: On Sun, 16 Nov 2008 21:23:59 -0500, Chris Spencer wrote: After I compile my program with py2exe 0.6.9 with Python 2.6, I'm still getting the Application Did Not Initialize Properly error dialog whenever I run my code. What am I doing wrong? I have exactly the same problem. I have tried just anything I could think of to no avail : Copied the 3 msvc_90.dll to the system32 subdir of Windows, to the directory of my application, reinstalled the whole Microsoft Visual C++ 2008 Redistributable Package, embedded the manifest data into the exe or kept it in a .manifest file... Could not make it work. Always got the Application Did Not Initialize Properly message. I'm with Windows XP SP3. I tried all this on 2 different systems and I got the same results. I think I narrowed down a little bit the problem. It's not the common one when the msvc_90.dll are not located, though the result is similar. The problem is when you try to generate at least 2 exe in one setup (with 2 scripts specified in the windows command of the setup). This works OK with py2exe 0.6.9 for Python 2.5, but fails with Python 2.6 (and 2.6.1). None of the generated exe can be started. When I compare the content of library.zip in both versions, this file doesn't contain any .pyc for the scripts you want to generate an exe for with Python 2.5, but always contains a .pyc for one of the scripts you want to generate an .exe for with Python 2.6. Don't know if it's a clue for finding a fix. I have tested many ways to figure this out but I can't find any solution for the moment so I'm sticking with Python 2.5. Got it ! If you want to generate an exe for a script of your own named abc.py, rename it because this will never work with that original name. The reason seems to be an abc.pyc file compiled by default by Python 2.6 and included in library.zip (abc stands in this case for Abstract Base Classes), and using this name for your own script makes nothing work ! -- http://mail.python.org/mailman/listinfo/python-list
Re: [Py2exe-users] py2exe 0.6.9 released
On Sun, 16 Nov 2008 21:23:59 -0500, Chris Spencer wrote: After I compile my program with py2exe 0.6.9 with Python 2.6, I'm still getting the Application Did Not Initialize Properly error dialog whenever I run my code. What am I doing wrong? I have exactly the same problem. I have tried just anything I could think of to no avail : Copied the 3 msvc_90.dll to the system32 subdir of Windows, to the directory of my application, reinstalled the whole Microsoft Visual C++ 2008 Redistributable Package, embedded the manifest data into the exe or kept it in a .manifest file... Could not make it work. Always got the Application Did Not Initialize Properly message. I'm with Windows XP SP3. I tried all this on 2 different systems and I got the same results. If anyone can give some help... -- http://mail.python.org/mailman/listinfo/python-list
Re: [Py2exe-users] py2exe 0.6.9 released
After I compile my program with py2exe 0.6.9 with Python 2.6, I'm still getting the Application Did Not Initialize Properly error dialog whenever I run my code. What am I doing wrong? Note that py2exe 0.6.9 with Python 2.5 works just fine. Help! Chris. On Sat, 15 Nov 2008 23:21:15 -0800, Jimmy Retzlaff [EMAIL PROTECTED] wrote: py2exe 0.6.9 released = -- http://mail.python.org/mailman/listinfo/python-list
RE: [Py2exe-users] py2exe 0.6.9 released
After I compile my program with py2exe 0.6.9 with Python 2.6, I'm still getting the Application Did Not Initialize Properly error dialog whenever I run my code. What am I doing wrong? This probably means the Microsoft VC90 binaries aren't installed globally on your machine - which would imply they are installed locally in the \Python26 directory by the python 2.6 installer (I haven't checked that though - I tend to not use the installers). In that case, a solution would be to copy the files Microsoft.VC90.CRT.manifest, msvcm90.dll, msvcp90.dll and msvcr90.dll from the Python directory into your app's directory. Your installer will need to arrange for these to be installed with your app (assuming you have the rights to redistribute them) or you can download the installer from MS which installs them globally. Hope this helps, Mark -- http://mail.python.org/mailman/listinfo/python-list