Re: [Matplotlib-users] Matplotlib backend issue

2013-07-22 Thread Sterling Smith

On Jul 20, 2013, at 3:04PM, Tommy Grav wrote:

 On Jul 20, 2013, at 11:19 AM, Michiel de Hoon mjldeh...@yahoo.com wrote:
 
 Ok, so with a long list of print statements I have tracked it down to 
 the statement
 
 import matplotlib._png as _png
 
 in image.py. 

Tommy,

Instead of a lot of print statements, you can use
python -v
if you are starting from a python interpreter.

-Sterling

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib backend issue

2013-07-20 Thread Tommy Grav
On Jul 20, 2013, at 11:19 AM, Michiel de Hoon mjldeh...@yahoo.com wrote:

 Hi Tommy,
 
 Look inside the pyplot.py module. I don't have the code in front of me now, 
 but I guess it's a module that loads a bunch of other modules, and one of 
 those wants to use X11. This should not depend on whether the developers‘ 
 tools are present.
 -michiel 

Ok, so with a long list of print statements I have tracked it down to 
the statement

import matplotlib._png as _png

in image.py. So there seems to be a bad binding in the _png.so file. Is there
a way to figure out which bindings this file has?
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib backend issue

2013-07-20 Thread Scott Lasley

On Jul 20, 2013, at 6:04 PM, Tommy Grav tg...@mac.com wrote:

 On Jul 20, 2013, at 11:19 AM, Michiel de Hoon mjldeh...@yahoo.com wrote:
 
 Hi Tommy,
 
 Look inside the pyplot.py module. I don't have the code in front of me now, 
 but I guess it's a module that loads a bunch of other modules, and one of 
 those wants to use X11. This should not depend on whether the developers‘ 
 tools are present.
 -michiel 
 
 Ok, so with a long list of print statements I have tracked it down to 
 the statement
 
 import matplotlib._png as _png
 
 in image.py. So there seems to be a bad binding in the _png.so file. Is there
 a way to figure out which bindings this file has?

otool -L path/to/_png.so

will Display the names and version numbers of the shared libraries that the 
object file uses
I think otool is installed when you install Xcode.


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users