Anybody had experience of trying to make a standalone with wx and matplotlib ?
I ran into problem at ‘setup.py py2exe’ and can’t find some solution…
Traceback (most recent call last):
File “WernerTest.py”, line 17, in ?
File “matplotlib\backends\backend_wxagg.pyo”, line 21, in ?
File “matplotlib\figure.pyo”, line 7, in ?
File “matplotlib\axes.pyo”, line 16, in ?
File “matplotlib\axis.pyo”, line 19, in ?
File “matplotlib\patches.pyo”, line 42, in ?
File “matplotlib\patches.pyo”, line 79, in Patch
File “matplotlib\cbook.pyo”, line 352, in dedent
AttributeError: ‘NoneType’ object has no attribute ‘splitlines’
···
Ne gardez plus qu’une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Hi Robert,
Anybody had experience of trying to make a standalone with wx and matplotlib
?
I have built about 20 of them without too much pain.
I ran into problem at 'setup.py py2exe' and can't find some solution....
Traceback (most recent call last):
File "WernerTest.py", line 17, in ?
File "matplotlib\backends\backend_wxagg.pyo", line 21, in
?
File "matplotlib\figure.pyo", line 7, in ?
File "matplotlib\axes.pyo", line 16, in ?
File "matplotlib\axis.pyo", line 19, in ?
File "matplotlib\patches.pyo", line 42, in ?
File "matplotlib\patches.pyo", line 79, in Patch
File "matplotlib\cbook.pyo", line 352, in dedent
AttributeError: 'NoneType' object has no attribute 'splitlines'
I don't know where this comes from, I have never seen such a message.
But then it depends on which versions you are using for wxPython,
matplotlib and py2exe. I use wxPython 2.8.4 and matplotlib 0.90
without problems.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
···
On 5/28/07, Robert VERGNES wrote:
Hi
AttributeError: ‘NoneType’ object has no attribute ‘splitlines’
means that the object you (or matplotlib) is trying to invoke the method ‘splitlines’ on is set to None. Why this happens I don’t know but it might be something you have forgotten to initialize, a bug in matplotlib or some strange freezing thingy where something might be missing and due to that fact something is not correctly initialized… Well, not much real help in this reply so happy bug hunting 
Regards,
···
–
Rune Devik
http://www.garageinnovation.org
On 5/28/07, Andrea Gavana andrea.gavana@gmail.com wrote:
Hi Robert,
On 5/28/07, Robert VERGNES wrote:
Anybody had experience of trying to make a standalone with wx and matplotlib
?
I have built about 20 of them without too much pain.
I ran into problem at ‘setup.py py2exe’ and can’t find some solution…
Traceback (most recent call last):
File “WernerTest.py”, line 17, in ?
File “matplotlib\backends\backend_wxagg.pyo”, line 21, in
?
File “matplotlib\figure.pyo”, line 7, in ?
File “matplotlib\axes.pyo”, line 16, in ?
File “matplotlib\axis.pyo”, line 19, in ?
File “matplotlib\patches.pyo”, line 42, in ?
File “matplotlib\patches.pyo”, line 79, in Patch
File “matplotlib\cbook.pyo”, line 352, in dedent
AttributeError: ‘NoneType’ object has no attribute ‘splitlines’
I don’t know where this comes from, I have never seen such a message.
But then it depends on which versions you are using for wxPython,
matplotlib and py2exe. I use wxPython 2.8.4 and matplotlib 0.90
without problems.
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.virgilio.it/infinity77/
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org