Bug 8374 - 'import gtk' fails without an X session available
: 'import gtk' fails without an X session available
Status: CLOSED WONTFIX
: Sisyphus
(All bugs in Sisyphus/python-module-pygtk)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-10-30 19:37 by
Modified: 2005-10-31 23:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-10-30 19:37:07
$ DISPLAY= python -c 'import gtk'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
   from _gtk import *
RuntimeError: could not open display

$ rpm -q python-module-pygtk
python-module-pygtk-2.8.2-alt0.1
------- Comment #1 From 2005-10-31 22:58:09 -------
Это известная проблема, я её решать не собираюсь. 
Если у вас она выплывает при сборке пакета, то могу 
подсказать решение.