Project

General

Profile

Actions

Bug #249

closed

rotKerdenSOM.py tries to open a display

Added by Jim Pulokas over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/25/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
Show in known bugs:
Workaround:

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


Related issues 1 (0 open1 closed)

Has duplicate Appion - Bug #499: Xmipp Rotational Kerden SOMClosedAnke Mulder05/18/2010

Actions
Actions #1

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.

Actions #2

Updated by Neil Voss over 14 years ago

  • Target version set to Appion/Leginon 2.0.0
Actions #3

Updated by Neil Voss over 14 years ago

  • Status changed from Assigned to Closed
  • Assignee deleted (Jim Pulokas)
Actions #4

Updated by Neil Voss over 14 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF