Actions
Bug #4188
openmakeDEAlignedSum.py requires display setting to produce summary image
Start date:
05/19/2016
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.3
Show in known bugs:
No
Workaround:
Description
Our alignment clussterm runs headless.
Running from command line without ssh -X gives
Traceback (most recent call last): File "/opt/myamisnap/bin/makeDEAlignedSum.py", line 3, in <module> from appionlib import makeDEAlignedSumLib File "/opt/myamisnap/lib/appionlib/makeDEAlignedSumLib.py", line 10, in <module> from matplotlib import pyplot File "/usr/lib64/python2.6/site-packages/matplotlib/pyplot.py", line 78, in <module> new_figure_manager, draw_if_interactive, show = pylab_setup() File "/usr/lib64/python2.6/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup globals(),locals(),[backend_name]) File "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module> from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\ File "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 8, in <module> import gtk; gdk = gtk.gdk File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display
Actions