<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>164714</bug_id>
          
          <creation_ts>2007-01-31 16:47 0000</creation_ts>
          <short_desc>gnome-extra/music-applet-2.0.0 no ability to access preferences</short_desc>
          <delta_ts>2007-02-14 14:59:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chris.burroughs@gmail.com</reporter>
          <assigned_to>metalgod@gentoo.org</assigned_to>
          <cc>lucamarturana@gmail.com</cc>
    
    <cc>rmay31@gmail.com</cc>
    
    <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>chris.burroughs@gmail.com</who>
            <bug_when>2007-01-31 16:47:40 0000</bug_when>
            <thetext>Luis Medinas just added 2.0.0 (thanks!) but could not test, it compiles fine but there are a few problems, most prominently there is no ability to access the preferences when right clicking on the applet.

Reproducible: Always

Steps to Reproduce:
1.Add music-applet to a Gnome panel
2. Right click on it

Actual Results:  
No option to change preferences, the standard move, remove, lock options are there.

Expected Results:  
There should be able to access something that looks like this: http://www.kuliniewicz.org/music-applet/screenshots/2.0.0/preferences.png

Other initial notes:
- There was no icon for music-applet in the &quot;Add to panel&quot; selector.
- Clicking on the applet did not launch a music player (this was the behavior in previous versions)
- It did not appear to consistently change from a single icon into &quot;player mode&quot; &lt;http://www.kuliniewicz.org/music-applet/screenshots/2.0.0/applet.png&gt; but I have separate problems with Rythmbox that I will try to fix so I can test this further.

# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.6
Last Sync: Wed, 31 Jan 2007 15:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.pair.com/&quot;
LANG=&quot;en_US.utf8&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common -s&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/portage/local/layman/sunrise&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol avahi bash_completion berkdb bitmap-fonts cairo cario cdr cjk cli cracklib crypt cups dbus dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ lm_sensors mad midi mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs xml xorg xprint xv zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-01-31 19:00:07 0000</bug_when>
            <thetext>this is why i masked the package ;). You&apos;ll need to wait until i find how to fix this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucamarturana@gmail.com</who>
            <bug_when>2007-02-05 19:04:17 0000</bug_when>
            <thetext>I&apos;m posting here because maybe that the problems are similar, the question: on my system the applet didn&apos;t run printing this:

[ ~ ] $ /usr/libexec/music-applet 
DEBUG: GConf root is /apps/panel/applets/applet_2/prefs
Failed to open module at /usr/lib/python2.4/site-packages/musicapplet/plugins/__init__.py: &apos;module&apos; object has no attribute &apos;INFO&apos;
Failed to open module at /usr/lib/python2.4/site-packages/musicapplet/plugins/__init__.pyc: &apos;module&apos; object has no attribute &apos;INFO&apos;
Failed to open module at /usr/lib/python2.4/site-packages/musicapplet/plugins/__init__.pyo: &apos;module&apos; object has no attribute &apos;INFO&apos;
Failed to scan /home/luca/.gnome2/music-applet/plugins: [Errno 2] No such file or directory: &apos;/home/luca/.gnome2/music-applet/plugins&apos;
Traceback (most recent call last):
  File &quot;/usr/libexec/music-applet&quot;, line 26, in applet_factory
    musicapplet.applet.MusicApplet (applet)
  File &quot;/usr/lib/python2.4/site-packages/musicapplet/applet.py&quot;, line 79, in __init__
    self.__rating = Rating ()
  File &quot;/usr/lib/python2.4/site-packages/musicapplet/applet.py&quot;, line 546, in __init__
    self.__set_star   = self.create_colorized_pixbuf (STOCK_SET_STAR, color)
  File &quot;/usr/lib/python2.4/site-packages/musicapplet/applet.py&quot;, line 669, in create_colorized_pixbuf
    pixel[0][0] *= color.red
TypeError: unsubscriptable object

** (music-applet:9501): WARNING **: need to free the control here



I fixed these lines and now works all good, I will attach my ebuild (with same improvements) and the patch for applet.py file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucamarturana@gmail.com</who>
            <bug_when>2007-02-05 19:06:16 0000</bug_when>
            <thetext>Created an attachment (id=109254)
music-applet-2.0.0.ebuild

toggled IUSE dbus
fixed dbus deps
fixed gnome deps</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucamarturana@gmail.com</who>
            <bug_when>2007-02-05 19:07:22 0000</bug_when>
            <thetext>Created an attachment (id=109255)
music-applet-2.0.0-applet.py.patch

patch used by attachment 109254 to fix &quot;applet.py&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucamarturana@gmail.com</who>
            <bug_when>2007-02-06 11:09:06 0000</bug_when>
            <thetext>Created an attachment (id=109319)
music-applet-2.0.0.ebuild

Using dev-python/numeric-24.2, the patch is not needed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-02-07 03:25:54 0000</bug_when>
            <thetext>thanks Luca
it&apos;s fixed in cvs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.burroughs@gmail.com</who>
            <bug_when>2007-02-09 00:17:12 0000</bug_when>
            <thetext>Although music-applet now installs and the preferences can be accessed, to actually control any music players dev-python/dbus-python 0.80 or later is required.  (XMMS requires something else as well.)


On a completely unrelated note that doesn&apos;t deserve its own bug, the &quot;close&quot; button on the About page is also nonfunctional.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lucamarturana@gmail.com</who>
            <bug_when>2007-02-09 13:02:31 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Although music-applet now installs and the preferences can be accessed, to
&gt; actually control any music players dev-python/dbus-python 0.80 or later is
&gt; required.  (XMMS requires something else as well.)

Right, in fact on the ebuild that I posted it&apos;s specified &quot;&gt;=dev-python/dbus-python-0.80&quot; but on the portage one there is dbus-glib instead.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rmay31@gmail.com</who>
            <bug_when>2007-02-13 01:31:54 0000</bug_when>
            <thetext>Even when I install dbus-python-0.80.1, I still don&apos;t get any plugins to select from.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.burroughs@gmail.com</who>
            <bug_when>2007-02-13 02:02:17 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; Even when I install dbus-python-0.80.1, I still don&apos;t get any plugins to select
&gt; from.
&gt; 

Do you have no plugins to select from.  That is. no options here:
http://www.kuliniewicz.org/music-applet/screenshots/2.0.0/plugins.png

Or do the plugins have an angry red mark on them?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rmay31@gmail.com</who>
            <bug_when>2007-02-13 02:13:09 0000</bug_when>
            <thetext>Absolutely empty plugin box, nothing to choose from.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rmay31@gmail.com</who>
            <bug_when>2007-02-14 14:59:20 0000</bug_when>
            <thetext>Ok, my problem is fixed when I bump up to 2.1.0.  It mentions a lack of plugins on amd64 being fixed, so I&apos;m guessing that was my problem.  I&apos;ll post a new bug.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>109254</attachid>
            <date>2007-02-05 19:06 0000</date>
            <desc>music-applet-2.0.0.ebuild</desc>
            <filename>music-applet-2.0.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQgCgppbmhlcml0IGV1dGlscyBnbm9tZTIKCkRFU0NSSVBUSU9OPSJHTk9NRSBhcHBsZXQg
dG8gY29udHJvbCB2YXJpb3VzIG11c2ljIHBsYXllcnMiCkhPTUVQQUdFPSJodHRwOi8vd3d3Lmt1
bGluaWV3aWN6Lm9yZy9tdXNpYy1hcHBsZXQvIgpTUkNfVVJJPSJodHRwOi8vd3d3Lmt1bGluaWV3
aWN6Lm9yZy8ke1BOfS9kb3dubG9hZHMvJHtQfS50YXIuZ3oiCgpMSUNFTlNFPSJHUEwtMiIKU0xP
VD0iMCIKS0VZV09SRFM9In5hbWQ2NCB+eDg2IgpJVVNFPSIiCgpSREVQRU5EPSI+PWRldi1weXRo
b24vcHlndGstMi42Cgk+PWRldi1weXRob24vZ25vbWUtcHl0aG9uLWRlc2t0b3AtMi4xNAoJfHwg
KCA+PWRldi1weXRob24vZGJ1cy1weXRob24tMC44MCA8c3lzLWFwcHMvZGJ1cy0wLjkwICkiCgpE
RVBFTkQ9ImRldi11dGlsL3BrZ2NvbmZpZwoJZGV2LXV0aWwvaW50bHRvb2wiCgpzcmNfdW5wYWNr
KCkgewoJZ25vbWUyX3NyY191bnBhY2sKCWNkICR7U30KCWVwYXRjaCAke0ZJTEVTRElSfS8ke1B9
LWFwcGxldC5weS5wYXRjaAp9Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>109255</attachid>
            <date>2007-02-05 19:07 0000</date>
            <desc>music-applet-2.0.0-applet.py.patch</desc>
            <filename>music-applet-2.0.0-applet.py.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9tdXNpY2FwcGxldC9hcHBsZXQucHkub2xkCTIwMDctMDItMDUgMTk6NDg6MTkuNTUy
Nzc0NTU4ICswMTAwCisrKyBzcmMvbXVzaWNhcHBsZXQvYXBwbGV0LnB5CTIwMDctMDItMDUgMTk6
NDg6MjYuNjAxMTc2MjIzICswMTAwCkBAIC02NjYsOSArNjY2LDkgQEAKICAgICAgICAgcGl4YnVm
ID0gc2VsZi5yZW5kZXJfaWNvbiAoc3RvY2tfaWQsIGd0ay5JQ09OX1NJWkVfTUVOVSkKICAgICAg
ICAgZm9yIHJvdyBpbiBwaXhidWYuZ2V0X3BpeGVsc19hcnJheSAoKToKICAgICAgICAgICAgIGZv
ciBwaXhlbCBpbiByb3c6Ci0gICAgICAgICAgICAgICAgcGl4ZWxbMF1bMF0gKj0gY29sb3IucmVk
Ci0gICAgICAgICAgICAgICAgcGl4ZWxbMV1bMF0gKj0gY29sb3IuZ3JlZW4KLSAgICAgICAgICAg
ICAgICBwaXhlbFsyXVswXSAqPSBjb2xvci5ibHVlCisgICAgICAgICAgICAgICAgcGl4ZWxbMF0g
Kj0gY29sb3IucmVkCisgICAgICAgICAgICAgICAgcGl4ZWxbMV0gKj0gY29sb3IuZ3JlZW4KKyAg
ICAgICAgICAgICAgICBwaXhlbFsyXSAqPSBjb2xvci5ibHVlCiAgICAgICAgIHJldHVybiBwaXhi
dWYKIAogCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>109319</attachid>
            <date>2007-02-06 11:09 0000</date>
            <desc>music-applet-2.0.0.ebuild</desc>
            <filename>music-applet-2.0.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQgCgppbmhlcml0IGdub21lMgoKREVTQ1JJUFRJT049IkdOT01FIGFwcGxldCB0byBjb250
cm9sIHZhcmlvdXMgbXVzaWMgcGxheWVycyIKSE9NRVBBR0U9Imh0dHA6Ly93d3cua3VsaW5pZXdp
Y3oub3JnL211c2ljLWFwcGxldC8iClNSQ19VUkk9Imh0dHA6Ly93d3cua3VsaW5pZXdpY3oub3Jn
LyR7UE59L2Rvd25sb2Fkcy8ke1B9LnRhci5neiIKCkxJQ0VOU0U9IkdQTC0yIgpTTE9UPSIwIgpL
RVlXT1JEUz0ifmFtZDY0IH54ODYiCklVU0U9IiIKClJERVBFTkQ9Ij49ZGV2LXB5dGhvbi9weWd0
ay0yLjYKCT49ZGV2LXB5dGhvbi9nbm9tZS1weXRob24tZGVza3RvcC0yLjE0Cgk+PWRldi1weXRo
b24vbnVtZXJpYy0yNC4yCgl8fCAoID49ZGV2LXB5dGhvbi9kYnVzLXB5dGhvbi0wLjgwIDxzeXMt
YXBwcy9kYnVzLTAuOTAgKSIKCkRFUEVORD0iZGV2LXV0aWwvcGtnY29uZmlnCglkZXYtdXRpbC9p
bnRsdG9vbCIKCg==
</data>        

          </attachment>
    </bug>

</bugzilla>