GUI2EXE Problem

Yesterday I downloaded the GUI2EXE installer from the site, still it’s 0.1 version where as on site it says 0.2.
Did you update on the site?

Last but not the least, how do you see the files inside .exe created using py2exe. I tried opening using winzip but it failed.

Thanks

···

----- Original Message ----
From: Andrea Gavana andrea.gavana@gmail.com
To: wxpython-users@lists.wxwidgets.org
Sent: Friday, 10 October, 2008 1:32:42 PM
Subject: Re: [wxpython-users] GUI2EXE Problem

Hi,

On Fri, Oct 10, 2008 at 8:16 AM, Prashant Saxena wrote:

I did lot o tests for creating an
standalone app using py2exe and
pyinstaller. It seems both of them having some drawbacks when importing
modules from
a compiled extension. To solve this problem I am using a .py file in which
importing all the modules individually, this includes python modules, wx,
wx.lib and my modules. Secondly the package created using pyinstaller on
win 32 bit machine is running without any problem on 64 bit xp. In case of
py2exe I am getting this error on 64 bit xp:

File “zipextimporter.pyo”, line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx_core_.pyd

The file is ‘wx.core.pyd’ and I think it’s missing in .exe. Am I right?
How do I add this file into my .exe? Do I have to add some more stuff in my
setup file
to run my application on 64 bit target machine.

This is my reply from the py2exe-users
list:

“”"
Maybe: have you checked if you are distributing msvcp71.dll and
gdiplus.dll with your executable? Try to build it with bundle_files=3
and see if these dlls are there, otherwise you need to add them. Not
sure how 64 bit machines works though…
“”"

Also, I think that, when you test your executable, you shouldn’t
really start by using bundle_files=1 and building super optimized and
super compressed. Start easy, bundle_files=3 and no optimization, then
check if everything works fine…

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


Add more friends to your messenger and enjoy! Invite them now.

Hi,

Yesterday I downloaded the GUI2EXE installer from the site, still it's 0.1
version where as on site it says 0.2.
Did you update on the site?

No, the version on my website is still the old one, I'll update it
when GUI2EXE 0.2 is finally ready. For the moment, you should get the
Python source code from googlecode (SVN based):

http://code.google.com/p/gui2exe/

Last but not the least, how do you see the files inside .exe created using
py2exe. I tried opening using winzip but it failed.

Uhm, as fare as I know py2exe has some kind of tools that lets you
approximatively analyse the content of the executable, but I am not
sure. I have found this thread:

http://osdir.com/ml/python.py2exe/2006-04/msg00001.html

But it's a lot of work. Why do you want to do that? As I told you in
the previous message, build your app with bundle_files=3, enable the
zipfile option and give it a meaningful name (like "library.zip") and
then you might start analyzing what's inside your executable (i.e.,
dlls included and pyc/pyo modules in the library.zip).

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Fri, Oct 10, 2008 at 9:18 AM, Prashant Saxena wrote: