[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Surfarray.array_alpha() bugfix, py2exe/py2app segfault



Hi,

make sure that the numpy files are being included in your py2exe version.

Otherwise... try running the bundled version under gdb to see where it is dying.


cu,



On Tue, Feb 3, 2009 at 10:02 AM, Zack Schilling
<zack.schilling@xxxxxxxxx> wrote:
> Well, thanks for reading all that. I'm glad someone is at least looking at
> this stuff.
>
> I managed to get Numeric installed on my system and while it's old and
> crappy, it doesn't segfault the way NumPy does. I'd have a do considerable
> work to move my project over to Numeric, so I won't, especially since it is
> marked for death.
>
> Do you have any clue why something would run perfectly, not so much as a
> warning in the shell, then die if bundled up? It strikes me as odd since the
> parts bundle fine individually yet the code segfaults on both Mac OS X and
> Windows XP when bundled together. I hate it when these problems present in
> ways that appear to be out of my control!
>
> -Zack
>
>
> On Feb 2, 2009, at 5:24 PM, Marcus von Appen wrote:
>
>> On, Mon Feb 02, 2009, Zack Schilling wrote:
>>
>> [numpy surfarray problems]
>>
>> The more I read about the numpy problems for numpysurfarray and
>> numpysndarray, the more I'd love to throw that whole bunch away...
>>
>> Sorry for being not constructive ;-). If noone else is quicker with
>> that, I'll start to rework the whole numpy stuff from next week on or so
>> within the pgreloaded branch and port it to the trunk later on - it
>> needs some refactoring anyways to get rid of the being-50-times-slower
>> issue(s).
>>
>> Regards
>> Marcus
>
>