[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] condor_submit problems: _gtk.init_check(), RuntimeError: could not open display



Hi,

I am encountering a strange error when using condor_submit.  Executing a script on my own works fine without errors, but when I try to run it using condor_submit, I get the following errors when trying to import from pylab or pylot from matplotlib:

 File "../Local_Install//lib/python2.4/site-packages/matplotlib/pyplot.py",
line 95, in ?
 File "../Local_Install//lib/python2.4/site-packages/matplotlib/backends/__init__.py",
line 25, in pylab_setup
 File "../Local_Install//lib/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py",
line 10, in ?
 File "../Local_Install//lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
line 8, in ?
 File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ?
  _init()
 File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py",
line 64, in _init
  _gtk.init_check()
RuntimeError: could not open display


This makes me think that there I am missing something in passing a permission to condor, but I have been unable to figure out what it is.  I'm not even plotting or displaying any images.  Are there any lines I need to add to my .cmd file?

Thanks,
Chris Prokop