Red Hat Bugzilla – Bug 160473
pygtk2 badly packaged
Last modified: 2013-03-13 00:48:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
Some pygtk2 mantainer has fought with rpm...
Just try to run one the programs that depend on it. Let's take printconf-gui for example.
if you run it as normal user and insert root password it's alright but try to login as root and run it (it's happens su'ing from a terminal too):
Traceback (most recent call last):
File "/usr/sbin/printconf-gui", line 7, in ?
File "/usr/share/printconf/util/queueTree.py", line 71, in ?
File "/usr/src/build/535819-i386/install/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
RuntimeError: could not open display
/usr/src/build/535819-i386/install??????????? has it been taken as RPM_BUILD_ROOT? all pygtk2 libraries contain that directory.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. login as root
2. run a program which is dependant from pygtk2
3. the program point to a wrong library location
This error just notes that you don't have an X display set. The
/usr/src/build/535819-i386/install is just .pyc screwyness and has nothing to do
with this error. It shouldn't cause a problem.