Hi Mike,I re-install the astronomy scisoft package and now the segmentation fault is not anymore present when I import matplotlib.mathtext.
But when I import pylab I have the following error.I think it's something related with my backend choise. I tried to change all the GUI possibilities in my matplotlibrc file but the error is still present. I attached the gdb python output (I don't know if it helps) and the output of my "import pylab" command
Michael Droettboom wrote:
We need some more information.Can you set "verbose.level" to "debug-annoying" in your ~/.matplotlib/matplotlibrc file?Also, if you have the development tools (XCode) installed on your mac, can you run python in gdb?> gdb python GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh) Copyright 2004 Free Software Foundation, Inc.GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.Type "show copying" to see the conditions.There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".(gdb) run -c "import pylab" ... and send us the output... Cheers, Mike Antonino Cucchiara wrote:Hello, I am experiencing a problem recently on my Mac OsX.When I try to import mathplotlib.mathtext or pylab I received a segmentation fault error.It wasn't like that before, and I recently update my matplotlib and scipy via fink.It worked fine few weeks ago. I hope someone can help me. Thanks, Nino------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- Antonino Cucchiara PhD candidate Department of Astronomy&Astrophysics Penn State University website: www.astro.psu.edu/~cucchiara/
gdb.out
Description: Binary data
Python 2.5.1 (r251:54863, Sep 20 2007, 12:35:05) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pylab Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pylab.py", line 292, in <module> from matplotlib.pyplot import * File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pyplot.py", line 37, in <module> new_figure_manager, draw_if_interactive, show = pylab_setup() File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/__init__.py", line 24, in pylab_setup globals(),locals(),[backend_name]) File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 21, in <module> from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK File "/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 29, in <module> from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array ImportError: dlopen(/scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/_backend_gdk.so, 2): Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /scisoft/i386/library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/_backend_gdk.so Reason: Incompatible library version: _backend_gdk.so requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users