py2exe 0.6.1 released

Thomas Heller theller at python.net
Wed Sep 7 18:01:03 CEST 2005


"Giovanni Bajo" <noway at sorry.com> writes:

> Thomas Heller wrote:
>
>>> I tried it using the wx singlefile example, but unfortunately the
>>> resulting executable segfaults at startup (using Python 2.3.3 on
>>> Windows 2000, with latest wxWindows).
>>
>> Yes, I can reproduce that.  I'm still using wxPython 2.4.2.4 for
>> Python
>> 2.3.5, and that combo works.  I have done a few tests, and wxPython
>> 2.5.1.5 also works, while 2.5.5.1 crashes.
>
> Ah that's fine, then. I thought it was one of those "only in my computer" kind
> of issue :)
>
>>> How can I debug it?
>>
>> I'll assume that's a serious question.
>
> Of course it was, I'm not sure why you should doubt it. I was just trying to
> being helpful to you, thinking that it could have been hard to reproduce.
> Luckily, you can look into it yourself.

I wasn't offended ;-).  Debugging the bundled executables is difficult -
because the source file debug info is lost (or at least MSVC isn't able
to access it).  So you end up steppiung through the disassembly.

>> I've done all this, and it seems it is crashing when trying to import
>> _gdi.pyd.  Next would be to debug through _memimported.pyd, but I
>> don't have a debug build of wxPython.
>
> OK. Do you believe that _memimported.pyd can eventually converge to something
> stable? Emulating LoadLibrary for all versions of Windows is not an easy task
> after all. Wine might provide some insights.

Currently there's no platform specific code in this emulation.  But I
have to admit I don't use win98 any more.
I hope that _memimporter.pyd eventually becomes stable, the new 0.6.2
release contains some important fixes.

For the original problem: the code to load extensions contained in
packages was buggy.  With 0.6.2 the wxPython singlefile sample at least
works wit wxPython 2.4.2.4 + python 2.3.5, and wxPython 2.6.1.0 + Python
2.4.1.

Thomas



More information about the Python-list mailing list