Bug 8374 - 'import gtk' fails without an X session available
Summary: 'import gtk' fails without an X session available
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-pygtk (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-30 19:37 MSK by avm
Modified: 2005-10-31 23:24 MSK (History)
19 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avm 2005-10-30 19:37:07 MSK
$ 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 Vitaly Lipatov 2005-10-31 22:58:09 MSK
Это известная проблема, я её решать не собираюсь. 
Если у вас она выплывает при сборке пакета, то могу 
подсказать решение.