Fedora 12: issue with PyGTK2/Python based applications

Paul W. Frields stickster at gmail.com
Wed Feb 24 05:45:19 UTC 2010


On Tue, Feb 23, 2010 at 08:22:50PM -0600, Steven P. Ulrick wrote:
> Hello Everyone
> I have been having a very annoying problem with a lot of Python/PyGTK2 
> based applications.  I can only run them as root.  If I try to run them as 
> a regular user, they fail somewhat like this:
> 
> [steve at localhost ~]$ listen 
> Traceback (most recent call last):
>   File "listen", line 37, in <module>
>     import gobject
> ImportError: No module named gobject
> [steve at localhost ~]$ 
> 
> 
> [steve at localhost ~]$ bleachbit 
> Traceback (most recent call last):
>   File "/usr/bin/bleachbit", line 41, in <module>
>     import gtk
> ImportError: No module named gtk
> [steve at localhost ~]$ 
> 
> I tried re-compiling the pygtk2 SRPM from Rawhide.  I successfully updated 
> with the resulting RPM's.  bleachbit and listen both started working as a 
> regular user!  Unfortunately, I then rebooted into the latest kernel.  The 
> result was that listen and bleachbit no longer worked as a regular user...  
> I have since used "yum downgrade" to downgrade back to the original pygtk2 
> RPM's.
> 
> So, does any one have any great ideas?  Is anyone else having this same 
> issue?
> 
> Thanks in advance for any help you can give me.

Hi Steven, I know there is nothing wrong with pygtk2 itself in F12, as
I am currently using it for a side project.

Did you have a problem with an interrupted yum transaction at some
point?  Try running 'package-cleanup --problems' to find out.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
          Where open source multiplies: http://opensource.com


More information about the users mailing list