[PyQt] Very strange matplotlib behavior

Serge Montagnac obs.psr at wanadoo.fr
Sun Oct 11 09:56:38 BST 2009



I am working on the last releases of PyQt4 and Matplotlib (on mandriva
Cooker)
May be I'm tired but found a new problem .... the question looks trivial:

If I copy as a normal user the official example of embedding_in_gtk2.py
all works well as usual.
But with  "embedding_in_qt4.py" it is crashing with a segfault.

if I su Root and launch "python embedding_in_qt4.py" it works well !!

I can't understand what is different and it is a big problem when I promote
an mplWidget as QWidget.
(Not to say that I had no problem with  previous PyQt4 releases)
=============================
I did my best in really checking all environment :
.bashrc
.matplolib/matplotlibrc and matplotlib.conf
permissions in backends distrib directory ....

... no way ... root works and not serge ! have you an idea.


Serge.

-- 
"We all know Linux is great...it does infinite loops in 5 seconds.
                                                 Linus Torvalds"
--------------------------
     Serge Montagnac
  http://www.obs-psr.com
    obs-psr at orange.fr
--------------------------




More information about the PyQt mailing list