On Thu, Aug 28, 2008 at 11:50 AM, Charles R Harris <
[EMAIL PROTECTED]> wrote:

>
>
> On Thu, Aug 28, 2008 at 11:36 AM, Christopher Barker <
> [EMAIL PROTECTED]> wrote:
>
>> Hi all,
>>
>> An issue just came up with numpy and py2exe on the wxPython list. A
>> solution has been found, but I thought I'd post here, so that it could
>> be on the numpy developers' radar when considering the structure of
>> numpy for the future:
>>
>> > I'm compile a wxPython script using GUI2Exe, and am getting the
>> > following when running the produced exe:
>> >
>> > $ ./dist/svm.exe
>> > Traceback (most recent call last):
>> >   File "svm.py", line 28, in <module>
>> >     import graphic_svm_data
>> >   File "graphic_svm_data.pyo", line 29, in <module>
>> >   File "floatcanvas\NavCanvas.pyo", line 7, in <module>
>> >   File "floatcanvas\FloatCanvas.pyo", line 7, in <module>
>> >   File "numpy\__init__.pyo", line 93, in <module>
>> >   File "numpy\add_newdocs.pyo", line 9, in <module>
>> >   File "numpy\lib\__init__.pyo", line 19, in <module>
>> >   File "numpy\lib\financial.pyo", line 78, in <module>
>> > TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
>>
>> > I tried to add numpy.lib.financial to the Excludes and Ignores list, but
>> am still getting this error.
>> >
>> > Googling found that this problem is a known bug:
>> http://article.gmane.org/gmane.comp.python.py2exe/2920
>>
>> The solution was to:
>
>
> <snip>
>
> This needs to be fixed in trunk, please open a ticket. There have been
> several other fixes for -OO recently and I don't think we are done with them
> yet.
>

I thought I had seen this before and indeed it has been reported. However,
financial has been changed and this particular error should no longer be a
problem.

Chuck
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to