Bug #249
closedrotKerdenSOM.py tries to open a display
100%
Description
This happened in an older (not myami) appion running at NIS, but appears to be unchanged in the current myami revision.
"import pylab" tries to open X display. maybe we need to use Xvfb like was done for the chimera stuff.
Here is the traceback:
Traceback (most recent call last):
File "/nis/sw/appion/bin/rotKerdenSOM.py", line 33, in ?
import pylab
File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib64/python2.4/site-packages/matplotlib/pylab.py", line 222, in ?
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/usr/lib64/python2.4/site-packages/matplotlib/backends/__init__.py", line 24, in pylab_setup
globals(),locals(),[backend_name])
File "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in ?
from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
File "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtk.py", line 7, in ?
import gtk; gdk = gtk.gdk
File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ?
init()
File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/_init__.py", line 64, in _init
_gtk.init_check()
RuntimeError: could not open display
Updated by Jim Pulokas over 14 years ago
- Status changed from New to Assigned
- Assignee set to Jim Pulokas
I will fix this, since I want to make some changes to how Xvfb is used in appion anyway.
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.0.0
Updated by Neil Voss over 14 years ago
- Status changed from Assigned to Closed
- Assignee deleted (
Jim Pulokas)