music-applet fails on second login session

Bug #93284 reported by Alexander Jones
78
Affects Status Importance Assigned to Milestone
music-applet (Ubuntu)
Fix Released
Low
Unassigned
Declined for Gutsy by Cesare Tirabassi
Hardy
Fix Released
Low
Unassigned

Bug Description

Binary package hint: music-applet

Steps to reproduce:
 1. Add music-applet to panel
 2. Test that music-applet functions correctly
 3. Log out
 4. Log back in

See that music-applet no longer works.

THIS BUG IS FIXED, IT IS WAITING FOR A PACKAGE UPDATE. PLEASE DO NOT ATTACH ANY MORE CRASH REPORTS OR "ME TOO" COMMENTS!

ProblemType: Bug
Architecture: i386
Date: Sun Mar 18 03:39:23 2007
DistroRelease: Ubuntu 7.04
Uname: Linux flash 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

Tags: patch
Revision history for this message
Alexander Jones (alex-weej) wrote :

I can see that music-applet is started with:

/usr/lib/gnome-applets/music-applet --oaf-activate-iid=OAFIID:GNOME_Music_Applet_Factory --oaf-ior-fd=41

If I kill it, then start it with

/usr/lib/gnome-applets/music-applet --oaf-activate-iid=OAFIID:GNOME_Music_Applet_Factory

(i.e. without the --of-ior-fd=$n option) it works.

Revision history for this message
Alexandre Rosenfeld (airmind) wrote :

The same happens when X is restarted by using Ctrl+Alt+Backspace, then Music-Applet can't work anymore. It happens with version 0.9.2. I heard it was rewritten for 2.2, which is in Gutsy, so it might not matter anymore.

Revision history for this message
Alexander Jones (alex-weej) wrote :

We were barking up the wrong tree - bonobo-activation-server is not supposed to be per-session at all.

Here's a patch to drop in. As per <http://library.gnome.org/devel/bonobo-activation/2.19/attribute-tag.html>. (See "bonobo:environment".)

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

Count me in the club!

I doubt it is related to an architecture. Probably a poorly written handler that doesn't close its resources at logout.

But I saw no news about a fix.

Revision history for this message
Alexander Jones (alex-weej) wrote :

I've posted the fix, some MOTU just needs to upload it.

Revision history for this message
Savvas Radevic (medigeek) wrote :

where's the fix?

Changed in music-applet:
status: New → In Progress
Revision history for this message
Savvas Radevic (medigeek) wrote :

I think it's either music-applet or gnome-panel or gnome-panel-data
Every time I upgrade to some "big" gnome upgrades, which contain gnome-panel and gnome-panel-data the installation goes fine, but if I logout/login or logout/ctrl-alt-backspace (restart gnome)/login the result is that music-applet is replaced with a non-working thin line. No apport shown, although there is a report in /var/crash which points to "music-applet crashed with DBusException in __new__()":
https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/123353

It's confirmed every time there's a gnome-panel upgrade (4 so far since gutsy tribe 5 I think).

Is this the same case Alex?

Changed in music-applet:
assignee: nobody → alex-weej
Revision history for this message
Alexander Jones (alex-weej) wrote :

The fix is posted on this bug! bonobo-environment.patch

Revision history for this message
Savvas Radevic (medigeek) wrote :

but.. it's still happening on gutsy? :\ can you notify someone to take a look at it?

Changed in music-applet:
status: In Progress → Fix Committed
Revision history for this message
Alexander Jones (alex-weej) wrote :

No-one has committed this...

Changed in music-applet:
status: Fix Committed → New
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I have asked upstream to have a look at this.

Changed in music-applet:
assignee: alex-weej → nobody
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This has now been applied upstream and will flow down after next release.
This can be fixed for hardy straight away, for gutsy it would requires an SRU (which I doubt will be granted).

Changed in music-applet:
importance: Undecided → Low
status: New → Confirmed
Changed in music-applet:
assignee: nobody → deejross
status: Confirmed → In Progress
Revision history for this message
Pedro Verbel (gtuxyco) wrote : Solucion

Bueno la solucion es simple,
ejecutamos en un terminal "sudo gedit /etc/bonobo-activation/bonobo-activation-config.xml"

Este
<?xml version="1.0"?>
<oafconfig>
<searchpath>
    <!-- Examples: -->
    <!-- <item>/opt/gnome2/lib/bonobo/servers</item> -->
    <!-- <item>/usr/local/gnome2/lib/bonobo/servers</item> -->
    <!-- <item>/usr/local/lib/bonobo/servers</item> -->
    <!-- <item>/opt/gnome2/bonobo-activation/lib/bonobo/servers</item> -->
</searchpath>
</oafconfig>
El cual vamos a cambiar la linea " <!-- <item>/usr/local/lib/bonobo/servers</item> -->"
por " <!-- <item>/usr/lib/bonobo/servers</item> -->"

Reiniciamos y listo.. esta funcionando

Revision history for this message
Pedro Verbel (gtuxyco) wrote :

solucionado

Changed in music-applet:
assignee: deejross → pedroverbel
status: In Progress → Fix Released
Changed in music-applet:
assignee: pedroverbel → nobody
status: Fix Released → Confirmed
Revision history for this message
Savvas Radevic (medigeek) wrote :

the fix is released for hardy ?

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

No

Revision history for this message
Hervé Cauwelier (hcauwelier-deactivatedaccount) wrote :

Pedro, I don't understand how changing a commented line would help.

Also, I'm perplexed by the usage of Spanish here.

Revision history for this message
Alexandre Rosenfeld (airmind) wrote :

The fix proposed by Pedro didnt work for me. Indeed, I dont know how a comment would make any difference.

However the fix in bonobo-enviroment.patch worked very well.
You can apply it in Gutsy by adding the following lines to the end of the first <oaf_server> tag, in the file /usr/lib/bonobo/servers/GNOME_Music_Applet.server :

    <oaf_attribute name="bonobo:environment" type="stringv">
        <item value="DBUS_SESSION_BUS_ADDRESS"/>
    </oaf_attribute>

Can someone confirm this was fixed upstream?

Revision history for this message
Alexander Jones (alex-weej) wrote :

I am beginning to get sick of hearing about this bug. The fix is there, some MOTU just needs to add it to the package, as it's obvious that upstream doesn't care anymore.

Revision history for this message
Paul Kuliniewicz (kuliniew) wrote :

Sorry, upstream forgot it was his responsibility to maintain the Ubuntu package himself. Like https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/93284/comments/12 said two months ago, the patch will be in the next release, so it's a pretty good bet that the patch fixes the problem.

qwerty6523 (qwerty6523)
Changed in music-applet:
assignee: nobody → qwerty6523
Revision history for this message
qwerty6523 (qwerty6523) wrote : Re: [Bug 93284] music-applet fails on second login session

i have ubuntu gutsy i386 and when I install music-applet i add it to the panel and run it. it works. then i log out and log back in. i run it it still it works. i cant seem to reproduce this bug. please tell me if im doing anything wrong.

Launchpad Bug Tracker <email address hidden> wrote: You have been subscribed to a public bug:

Binary package hint: music-applet

Steps to reproduce:
 1. Add music-applet to panel
 2. Test that music-applet functions correctly
 3. Log out
 4. Log back in

See that music-applet no longer works.

Looks like something to do with D-Bus, but I'm not 100% sure.

ProblemType: Bug
Architecture: i386
Date: Sun Mar 18 03:39:23 2007
DistroRelease: Ubuntu 7.04
Uname: Linux flash 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

** Affects: music-applet (Ubuntu)
     Importance: Low
     Assignee: qwerty6523 (qwerty6523)
         Status: Confirmed

** Affects: music-applet (Ubuntu Hardy)
     Importance: Low
     Assignee: qwerty6523 (qwerty6523)
         Status: Confirmed

** Tags: patch
--
music-applet fails on second login session
https://bugs.launchpad.net/bugs/93284
You received this bug notification because you are a bug assignee.

 Send instant messages to your online friends http://uk.messenger.yahoo.com

Revision history for this message
Savvas Radevic (medigeek) wrote :

I think the problem is visible when gnome-panel and/or music-applet are upgraded. I don't have any upgrades to do for the moment so.. :) It could be a d-bus problem too.

See my remarks at comment: https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/93284/comments/7
Also, Alex Jones says he has found a patch for the bonobo-environment that fixes it:
https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/93284/comments/3

Revision history for this message
Alexandre Rosenfeld (airmind) wrote :

Fix will be released upstream

Changed in music-applet:
assignee: qwerty6523 → paul-kuliniewicz
status: Confirmed → In Progress
Revision history for this message
qwerty6523 (qwerty6523) wrote : Re: [Bug 93284] Re: music-applet fails on second login session

but never get the bug when i try i dint why i dont

Savvas Radević <email address hidden> wrote: I think the problem is visible when gnome-panel and/or music-applet are
upgraded. I don't have any upgrades to do for the moment so.. :) It
could be a d-bus problem too.

See my remarks at comment: https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/93284/comments/7
Also, Alex Jones says he has found a patch for the bonobo-environment that fixes it:
https://bugs.launchpad.net/ubuntu/+source/music-applet/+bug/93284/comments/3

--
music-applet fails on second login session
https://bugs.launchpad.net/bugs/93284
You received this bug notification because you are a bug assignee.

 Send instant messages to your online friends http://uk.messenger.yahoo.com

Revision history for this message
Savvas Radevic (medigeek) wrote :

This is still occuring, I'm attaching a crash report, if it's helpful.

description: updated
Changed in music-applet:
assignee: unused-account → nobody
Revision history for this message
Matti Lindell (mlind) wrote :

Fixed in Intrepid, version 2.3.1-1. I made a backport request for Hardy in bug #230505 which addresses the Hardy task.

Changed in music-applet:
status: In Progress → Fix Released
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

music-applet (2.3.1-1~hardy1) hardy-backports; urgency=low

  * Automated backport upload; no source changes.

Changed in music-applet:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.