segfaults in ipython

Hi

I recently posted something about segfaults I get when plotting. Now here is a little update and I really hope someone has an idea how I can solve this problem.

I'm running IPython 0.6.13 on a Debian box, installed the recent mpl 0.83.2 from source, GTKAgg backend.

1)

When I start ipython (as normal user) with the -pylab option and then say

  plot([1,2,3])

I get

In [1]: plot([1,2,3])

···

---------------------------------------------------------------------------
exceptions.SystemError Traceback (most recent call last)

SystemError: ../Objects/moduleobject.c:48: bad argument to internal function

2)

However when I change to root

  su
  <pwd>

  ipython -pylab

then plotting works fine!?

I have no idea where this moduleobject.c lives or to which application it belongs.

2)

If I try the same with the normal python interpreter

  python

  from pylab import *; ion()
  plot([1,2,3])

a plot window pops up but shows no picture (no matter if I'm root or not).

I'll appreciate any hints. Thanx!!

cheers,
steve

Hi,

I have just fink-installed matplotlib-py24.

When I do the following, I get a 10 sec delay after the warning message until I can enter further text.

>>> pylab.figure(1)
/sw/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py:960: GtkWarning: Could not find the icon 'gnome-fs-home'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
         http://freedesktop.org/Software/icon-theme/releases
   buttons, backend)
pylab.plot(x,y)

gnome-fs-home.png is in:
/sw/share/icons/{Flat-Blue, gnome, HighContrastLargePrint, HighContrastLargePrintInverse, LowContrastLargePrint}/48x48

hicolor exists as a directory at:
/sw/share/icons/hicolor

Am I missing some files?

regards,

Graeme