Re: [Matplotlib-users] segmentation fault with pylab
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 -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA - 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
Re: [Matplotlib-users] segmentation fault with pylab
It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on. 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 Cheers, Mike Antonino Cucchiara wrote: 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 -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA - 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
Re: [Matplotlib-users] segmentation fault with pylab
Is there anything I can do to update it by myself in the meanwhile? Thanks, Nino Michael Droettboom wrote: It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on. 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 Cheers, Mike Antonino Cucchiara wrote: 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 AstronomyAstrophysics Penn State University website: www.astro.psu.edu/~cucchiara/ - 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
Re: [Matplotlib-users] segmentation fault with pylab
You could try rebuilding matplotlib yourself. There are some OS-X directions here: http://www.astro.washington.edu/owen/BuildingMatplotlibForMac.html This may mean, however, that it won't play nice with other parts of scisoft. But this really is a matter of how and where scisoft was built (which I don't know) and where you're running it. Cheers, Mike Antonino Cucchiara wrote: Is there anything I can do to update it by myself in the meanwhile? Thanks, Nino Michael Droettboom wrote: It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on. 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 Cheers, Mike Antonino Cucchiara wrote: 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 -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA - 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
Re: [Matplotlib-users] segmentation fault with pylab
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 AstronomyAstrophysics 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
Re: [Matplotlib-users] segmentation fault with pylab
Thanks, I just had to replace the /usr/lib/libiconv.2.dylib with the one I have in /sw/lib/ directory . Now the GTK, GTKAgg backend work. Nino Michael Droettboom wrote: You could try rebuilding matplotlib yourself. There are some OS-X directions here: http://www.astro.washington.edu/owen/BuildingMatplotlibForMac.html This may mean, however, that it won't play nice with other parts of scisoft. But this really is a matter of how and where scisoft was built (which I don't know) and where you're running it. Cheers, Mike Antonino Cucchiara wrote: Is there anything I can do to update it by myself in the meanwhile? Thanks, Nino Michael Droettboom wrote: It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on. 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 Cheers, Mike Antonino Cucchiara wrote: 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 AstronomyAstrophysics Penn State University website: www.astro.psu.edu/~cucchiara/ - 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
Re: [Matplotlib-users] segmentation fault with pylab
Great. You may still want to let the scisoft guys know about this so others won't hit up against it. Cheers, Mike Antonino Cucchiara wrote: Thanks, I just had to replace the /usr/lib/libiconv.2.dylib with the one I have in /sw/lib/ directory . Now the GTK, GTKAgg backend work. Nino Michael Droettboom wrote: You could try rebuilding matplotlib yourself. There are some OS-X directions here: http://www.astro.washington.edu/owen/BuildingMatplotlibForMac.html This may mean, however, that it won't play nice with other parts of scisoft. But this really is a matter of how and where scisoft was built (which I don't know) and where you're running it. Cheers, Mike Antonino Cucchiara wrote: Is there anything I can do to update it by myself in the meanwhile? Thanks, Nino Michael Droettboom wrote: It looks like matplotlib was built for a different version of iconv than what you have on your machine. This may be a scisoft packaging problem, you may want to bring this question to their attention. Perhaps the version of OSX that scisoft was built on/for is different than what you're running it on. 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 Cheers, Mike Antonino Cucchiara wrote: 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 -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA - 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