Re: matplotlib segfault

2008-03-06 Thread Chris Pickel
On 06 Mar, 2008, at 21:12, [EMAIL PROTECTED] wrote: >>> % sudo port install py25-matplotlib +gtk >... >>> I asked for the gtk variant. Why was the tkinter variant installed? > >Chris> py25-matplotlib does not provide a variant gtk (it > provides a >Chris> variant gtk2) and +tkinter i

Re: matplotlib segfault

2008-03-06 Thread skip
Daniel> That's by design, one reason why is so that you can set variants Daniel> that you always want selected (say +no_x11 or +ipv6) in your Daniel> macports.conf file and it won't cause install failures for ports Daniel> that don't have that variant defined. Hmmm... That leads

Re: matplotlib segfault

2008-03-06 Thread Daniel J. Luke
On Mar 6, 2008, at 9:12 PM, [EMAIL PROTECTED] wrote: >>> % sudo port install py25-matplotlib +gtk >... >>> I asked for the gtk variant. Why was the tkinter variant installed? > >Chris> py25-matplotlib does not provide a variant gtk (it > provides a >Chris> variant gtk2) and +tkinter

Re: matplotlib segfault

2008-03-06 Thread skip
>> % sudo port install py25-matplotlib +gtk ... >> I asked for the gtk variant. Why was the tkinter variant installed? Chris> py25-matplotlib does not provide a variant gtk (it provides a Chris> variant gtk2) and +tkinter is the default if no other variant is Chris> speci

Re: matplotlib segfault

2008-03-06 Thread Daniel J. Luke
On Mar 6, 2008, at 8:54 PM, [EMAIL PROTECTED] wrote: >> I'm just constantly amazed at the complexity of MacPorts (not >> always in >> a good way). > > *sigh*... Here's one example: > >% sudo port uninstall py25-matplotlib >---> Deactivating py25-matplotlib 0.91.2_0+tkinter >---> Un

Re: matplotlib segfault

2008-03-06 Thread skip
> I'm just constantly amazed at the complexity of MacPorts (not always in > a good way). *sigh*... Here's one example: % sudo port uninstall py25-matplotlib ---> Deactivating py25-matplotlib 0.91.2_0+tkinter ---> Uninstalling py25-matplotlib 0.91.2_0+tkinter % sudo port i

Re: matplotlib segfault

2008-03-06 Thread skip
Adam> The tkinter, wxpython and gtk variants ... This is the first I heard of different variants. I'm giving it a try now. Adam> I'm open to suggestions if you can come up with a better way of Adam> doing this. None. I'm just constantly amazed at the complexity of MacPorts (not al

Re: matplotlib segfault

2008-03-06 Thread Adam Mercer
On Thu, Mar 6, 2008 at 6:00 PM, <[EMAIL PROTECTED]> wrote: > Nevermind, I think. As it turns out if py25-gtk is already installed the > matplotlib build process will recognize its availability. This is a bit > confusing, especially since the installed port lists as > > py25-matplotlib @0

Re: matplotlib segfault

2008-03-06 Thread skip
skip> File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 29, in skip> from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array skip> ImportError: No module named _backend_gdk skip> Given that py25-matplotlib did

Re: matplotlib segfault

2008-03-06 Thread skip
>> Is another interactive backend supported for matplotlib? Jochen> I am happily using GTKagg with MacPort's python25 on Leopard. I tried that but get this traceback: % /opt/local/bin/python2.5 Python 2.5.2 (r252:60911, Mar 5 2008, 22:37:23) [GCC 4.0.1 (Apple Inc. build 54

Re: matplotlib segfault

2008-03-06 Thread Jochen Küpper
On 06.03.2008, at 18:28, [EMAIL PROTECTED] wrote: Is another interactive backend supported for matplotlib? I am happily using GTKagg with MacPort's python25 on Leopard. Greetings, Jochen -- Einigkeit und Recht und Freiheithttp://www.Jochen-Kuepper.de Liberté, Égalité, Frat

Re: matplotlib segfault

2008-03-06 Thread skip
Adam> There are the wxpython and gtk2 variants. Give those a try, this Adam> is a strange problem as I am unable to reproduce these segfaults Adam> on Intel Leopard. I'll give the WXAgg backend a try. If you would like some help debugging the Tcl problems drop me a note ([EMAIL PROTE

Re: matplotlib segfault

2008-03-06 Thread Adam Mercer
On Thu, Mar 6, 2008 at 12:28 PM, <[EMAIL PROTECTED]> wrote: > I finally got py25-matplotlib installed. Like an earlier poster though I > get a segfault with the TkAgg backend. Running under gdb gives me the > barest of information though since nothing appears to be built with debug > symbols

matplotlib segfault

2008-03-06 Thread skip
I finally got py25-matplotlib installed. Like an earlier poster though I get a segfault with the TkAgg backend. Running under gdb gives me the barest of information though since nothing appears to be built with debug symbols enabled: #0 0x01f0bf40 in TclpFree () #1 0x01f0807e in ResetO