Hi,
I build wx 2.8.11.0 under current Cygwin
Here is screenshot of Matplotlib plot (with wxagg backend) showing my issue: http://i.stack.imgur.com/Fsstp.png
As I had no idea which issue is this, I run sample code under Winpdb and couldn’t see any exception from Matplotlib, suggesting that it’s not MPL issue.
Then I downloaded SPE - it couldn’t start because of this same error - somehow wx couldn’t load PNG file, although it’s there.
I tried also other wx application - Pype editor, and again same error is thrown, although program runs fine unless it wants to access image resource and pops error dialog
Why can this be, and is there any simple way to remedy this without having to remove wx or trying similar approaches
Thanks
I don't even know if it is possible but the only thing that comes to mind for me is that perhaps wxWidgets was built as a mingw32 lib instead of a cygwin lib, and if that is the case then those path names are not valid DOS/Windows paths.
···
On 6/14/12 5:31 PM, matt wrote:
Hi, I build wx 2.8.11.0 under current Cygwin Here is screenshot of
Matplotlib plot (with wxagg backend) showing my issue: http://i.stack.imgur.com/Fsstp.png As I had no idea which issue is this,
I run sample code under Winpdb and couldn't see any exception from
Matplotlib, suggesting that it's not MPL issue. Then I downloaded SPE -
it couldn't start because of this same error - somehow wx couldn't load
PNG file, although it's there. I tried also other wx application - Pype
editor, and again same error is thrown, although program runs fine
unless it wants to access image resource and pops error dialog Why can
this be, and is there any simple way to remedy this without having to
remove wx or trying similar approaches Thanks
Your debug output clearly shows that you are trying to load the file
from /usr /lib but the terminal in the background shows that
the files exist under /lib this suggests that you are using
a relative path or one generated from the environment variables and
that you environment variables are different between Winpdb to those
under SPE, Pype, etc. Do you by any chance have more than one copy
of python 2.6 installed with mpl only installed on one of them?