Bug 516344 - Cannot add the Music Applet to the GNOME Panel in Fedora 9 on an older machine
Summary: Cannot add the Music Applet to the GNOME Panel in Fedora 9 on an older machine
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-applet-music
Version: 9
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Gordon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-08 13:43 UTC by Trevor Mettam
Modified: 2009-08-10 12:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-08 20:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Trevor Mettam 2009-08-08 13:43:10 UTC
Description of problem:
Cannot add the Music Applet to the GNOME Panel

Version-Release number of selected component (if applicable):
gnome-applet-music-2.5.1-1.fc9.i386

How reproducible:
Add the applet to the panel using either the appropriate context menu item or a terminal.

Steps to Reproduce:
1. Select "Add to Panel..." item on the GNOME Panel context menu
2. Select the "Music Applet" list item and click "Add"

Actual results:
A warning alert dialog appears with the message:

!  The panel encountered a problem while loading "OAFIID:GNOME_Music_Applet".
   Do you want to delete the applet from your configuration?

Expected results:
The applet is added to the panel.

Additional info:

I am admittedly running not-the-latest Fedora release (i.e. 9) on a 7 year-old PC.  I am reluctant to upgrade to a newer release on the machine as system resources are strained enough under Fedora 9.

Running the applet from a terminal window yields the following output:

$ /usr/libexec/music-applet
Traceback (most recent call last):
  File "/usr/libexec/music-applet", line 27, in <module>
    import musicapplet.applet
  File "/usr/lib/python2.5/site-packages/musicapplet/applet.py", line 26, in <module>
    import glib
ImportError: No module named glib

This would suggest a packaging problem similar to Bug 449105 --> https://bugzilla.redhat.com/show_bug.cgi?id=449105#c3

Comment 1 Trevor Mettam 2009-08-08 16:29:21 UTC
P.S.  I'm puzzled that it failed to import a standard Python library (glib)... or at least I *think* it's a standard library - haven't got into Python much yet.

Am I missing anything here?

# yum --noplugins list installed python-*
Installed Packages
python.i386                     2.5.1-26.fc9                   installed
python-CDDB.i386                1.4-3.fc9                      installed
python-ZSI.noarch               2.0-3.fc9                      installed
python-alsaaudio.i386           0.3-1.fc9                      installed
python-chm.i386                 0.8.4-4.fc9                    installed
python-crypto.i386              2.0.1-14.fc9                   installed
python-devel.i386               2.5.1-26.fc9                   installed
python-docs.noarch              2.5.1-2.fc9                    installed
python-docutils.noarch          0.4-8.fc9                      installed
python-feedparser.noarch        4.1-5.fc9                      installed
python-genshi.i386              0.5.1-2.fc9                    installed
python-gpod.i386                0.6.0-5.fc9                    installed
python-imaging.i386             1.1.6-9.fc9                    installed
python-imaging-tk.i386          1.1.6-9.fc9                    installed
python-iniparse.noarch          0.2.4-1.fc9                    installed
python-ldap.i386                2.3.1-3.fc9                    installed
python-libs.i386                2.5.1-26.fc9                   installed
python-lxml.i386                2.0.11-1.fc9                   installed
python-magic.i386               4.23-7.fc9                     installed
python-mpd.noarch               0.2.0-3.fc9                    installed
python-musicbrainz2.noarch      0.6.0-1.fc9                    installed
python-mutagen.noarch           1.13-2.fc9                     installed
python-nose.noarch              0.10.3-1.fc9                   installed
python-numeric.i386             24.2-11.fc9                    installed
python-openoffice.noarch        0.1-0.2.20090228svn34.fc9      installed
python-paramiko.noarch          1.7.4-4.fc9                    installed
python-paste.noarch             1.7.1-1.fc9                    installed
python-pycurl.i386              7.18.2-1.fc9                   installed
python-reportlab.noarch         2.1-2.fc9                      installed
python-setuptools.noarch        0.6c9-1.fc9                    installed
python-sexy.i386                0.1.9-5.fc9                    installed
python-simplejson.i386          2.0.3-2.fc9                    installed
python-sqlalchemy.noarch        0.4.8-1.fc9                    installed
python-sqlite2.i386             1:2.3.3-3.fc9                  installed
python-tag.i386                 0.94.1-1.fc9.1                 installed
python-tunepimp.i386            0.5.3-11.fc9                   installed
python-urlgrabber.noarch        3.0.0-9.fc9                    installed

Comment 2 Peter Gordon 2009-08-08 20:30:46 UTC
Please be aware that by running Fedora 9 - a release which has long since passed its official End-of-Life - you are keeping your computer vulnerable to host of recent security and other fixes which have since found and fixed in more recent Fedoras. 

However, I can understand the need to keep an older box running - but perhaps a distro with much better long-term support (such as RHEL or its no-cost clone CentOS) would suit your needs more fully?

That said, in order to fix this bug you need to install the pygobject2 package, which provides the python glib module. 

This should have been installed automatically, as gnome-applet-music explicitly depends on pygtk2, which in turn has an explicit dependency on pygobject2. It is also an explicit dependency of many other packages, such as gedit and system-config-printer. Perhaps you should run `package-cleanup --problems` (a tool from the yum-utils package) to see if other packages have similar missing dependencies.

If installing the pygobject2 package does not fix this bug, please reopen it with further details.

Comment 3 Trevor Mettam 2009-08-10 12:09:30 UTC
Still no dice... package-cleanup gleaned nothing and, as far as I know, the Music Applet is the only thing that appears to have this issue.

As this problem appears peculiar to my setup, I shall move my query elsewhere as I believe this is not the appropriate forum.


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