matplotlib work only under root user

Jean-Francois> I tried GTK and GTKagg backend and nothing
    Jean-Francois> changes. The same thing append at a plot call in
    Jean-Francois> interactive mode.

You do you get the same behavior with this gtk script

import pygtk
pygtk.require('2.0')
import gtk

def hello(event):
    print "Hello World"
    return gtk.TRUE

window = gtk.Window()
window.set_name("Test Input")
window.connect("destroy", gtk.mainquit)

vbox = gtk.VBox(spacing=3)
window.add(vbox)
vbox.show()

button = gtk.Button("Hello World")
button.connect("clicked", hello)
button.show()
vbox.pack_start(button, expand=gtk.FALSE, fill=gtk.FALSE)

button = gtk.Button("Quit")
button.connect("clicked", gtk.mainquit)
button.show()
vbox.pack_start(button, expand=gtk.FALSE, fill=gtk.FALSE)

window.show()
gtk.main()

I can't verify your script because I just solve my problem. But an hour
ago, I tried a script similar to the one you send and it was working.

My problem was related to NFS. I was using AMD to mount my nfs drive. I
decided to try autofs. At my surprise, my problem was solve. I have no
ideas about the relation between amd and matplotlib (probably pylab)
causing my bug.

Here is the error reported in /var/log/messages that lead me to the
solution :
  kernel: nfs_stat_to_errno: bad nfs status return value: 11

Jean-Francois Dupuis

···

On Tue, 2005-05-24 at 10:34 -0500, John Hunter wrote:

    Jean-Francois> I tried GTK and GTKagg backend and nothing
    Jean-Francois> changes. The same thing append at a plot call in
    Jean-Francois> interactive mode.

You do you get the same behavior with this gtk script

import pygtk
pygtk.require('2.0')
import gtk

def hello(event):
    print "Hello World"
    return gtk.TRUE

window = gtk.Window()
window.set_name("Test Input")
window.connect("destroy", gtk.mainquit)

vbox = gtk.VBox(spacing=3)
window.add(vbox)
vbox.show()

button = gtk.Button("Hello World")
button.connect("clicked", hello)
button.show()
vbox.pack_start(button, expand=gtk.FALSE, fill=gtk.FALSE)

button = gtk.Button("Quit")
button.connect("clicked", gtk.mainquit)
button.show()
vbox.pack_start(button, expand=gtk.FALSE, fill=gtk.FALSE)

window.show()
gtk.main()