Can't use WXAgg

This means that it gets past the try-except in

    > backend_wx.py, but can't find wxPySimpleApp.

Are you using the standard python shell or an IDE like pycrust? If
the latter, it may be overriding the sys,exit which is why you aren't
seeing it. From your previous post, it looks like your wx
installation is in bad shape. Until you can do 'from wxPython.wx
import *' from the standard python shell, I wouldn't bother with
trying to tweak matplotlib.

I didn't see any error message like the one you were getting in the
wxpython archives - you might try the wx mailing list.

JDH

John,
I'm using a windows XP shell; so no extra stuff
running.

I did run all of the wxPython 2.5 demos before trying
my old matplotlib code. The wxPython demos ran fine.

My "old" matplotlib code ran under matplotlib 0.54.2
with wxPython 2.4.1.2; I tested all of the backends
with success.

After upgrading to wxPython 2.5 all of my matplotlib
code is broken. I even upgraded to the latest
matplotlib, 0.61. Still doesn't work.

I'll try a clean reinstall next. If that doesn't work
I'll go to the wx lists.

Thanks.
Barry

--- John Hunter wrote:
> >>>>> "Barry" == Barry Drake
<>
> writes:
>
> Barry> This means that it gets past the
> try-except in
> Barry> backend_wx.py, but can't find
> wxPySimpleApp.
>
> Are you using the standard python shell or an IDE
> like pycrust? If
> the latter, it may be overriding the sys,exit
which
> is why you aren't
> seeing it. From your previous post, it looks
like
> your wx
> installation is in bad shape. Until you can do
> 'from wxPython.wx
> import *' from the standard python shell, I
wouldn't
> bother with
> trying to tweak matplotlib.
>
> I didn't see any error message like the one you
were
> getting in the
> wxpython archives - you might try the wx mailing
> list.
>
> JDH
>
>
>

···

-------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you
> noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the
> past few weeks? Now,
> one more big change to announce. We are now OSTG-
> Open Source Technology
> Group. Come see the changes on the new OSTG site.
> www.ostg.com
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

John,
Clean install worked. Must have had some version
leftovers around.

Thanks.
Barry

--- John Hunter wrote:
> >>>>> "Barry" == Barry Drake
<>
> writes:
>
> Barry> This means that it gets past the
> try-except in
> Barry> backend_wx.py, but can't find
> wxPySimpleApp.
>
> Are you using the standard python shell or an IDE
> like pycrust? If
> the latter, it may be overriding the sys,exit
which
> is why you aren't
> seeing it. From your previous post, it looks
like
> your wx
> installation is in bad shape. Until you can do
> 'from wxPython.wx
> import *' from the standard python shell, I
wouldn't
> bother with
> trying to tweak matplotlib.
>
> I didn't see any error message like the one you
were
> getting in the
> wxpython archives - you might try the wx mailing
> list.
>
> JDH
>
>
>

···

-------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you
> noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the
> past few weeks? Now,
> one more big change to announce. We are now OSTG-
> Open Source Technology
> Group. Come see the changes on the new OSTG site.
> www.ostg.com
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users