yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03289
RuntimeError: could not create GdkCursor object
Hi,
Starting yade (r2280) jobs on our server, I get the error message below.
Any suggestion to avoid that?
The command launching yade is :
./yade-srv-srv -n -x -j 4 periodic-triax-velgrad-200ksmp.py -v
I never got this error before, but I was not using python plots. Maybe
it is related?
Bruno
__________________________
Welcome to Yade unknown
TCP python prompt on localhost:9000, auth cookie `adcssu'
TCP info provider on localhost:21000
Running script
/home/3S-LAB/bchareyre/calcul/bin/periodic-triax-velgrad-40k-h15rate001.py
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72:
GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py:40:
GtkWarning: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY
(display)' failed
cursors.MOVE : gdk.Cursor(gdk.FLEUR),
Traceback (most recent call last):
File "/home/3S-LAB/bchareyre/calcul/bin/yade-srv-srv", line 112, in
<module>
execfile(args[0])
File
"/home/3S-LAB/bchareyre/calcul/bin/periodic-triax-velgrad-40k-h15rate001.py",
line 5, in <module>
from yade import pack,log,qt,utils,timing,plot
File "/home/3S-LAB/bchareyre/calcul/lib/yade-srv-srv/py/yade/plot.py",
line 12, in <module>
import pylab
File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 247,
in <module>
from matplotlib.pyplot import *
File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 39,
in <module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/__init__.py", line
20, in pylab_setup
globals(),locals(),[backend_name])
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in <module>
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK,
FigureCanvasGTK,\
File
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py",
line 40, in <module>
cursors.MOVE : gdk.Cursor(gdk.FLEUR),
RuntimeError: could not create GdkCursor object
--
_______________
Bruno Chareyre
Associate Professor
Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________