Rhythmbox fails to start, cites music store errors

Bug #565648 reported by Benjamin Humphrey
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
libubuntuone
Fix Released
High
Rodrigo Moya
libubuntuone (Ubuntu)
Fix Released
Medium
Rodrigo Moya
Maverick
Fix Released
Medium
Rodrigo Moya

Bug Description

Binary package hint: rhythmbox

Rhythmbox won't start for me and the indicator applet for it is empty.

When starting from a terminal, here's the output:

benjamin@benjamin-laptop:~$ rhythmbox &
[1] 17192
benjamin@benjamin-laptop:~$
(rhythmbox:17192): Rhythmbox-WARNING **: Could not open device /dev/radio0
** (rhythmbox:17192): DEBUG: Loading the real store page

** (rhythmbox:17192): WARNING **: Error calling current_status: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (rhythmbox:17192): WARNING **: Could not connect to Ubuntu One: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

liboauth: data to sign='GET&https%3A%2F%2Fone.ubuntu.com%2Fmusic%2Flogin&oauth_callback%3DNone%26oauth_consumer_key%3Dubuntuone%26oauth_nonce%3DwdSxZw1Tzm2Fq5yuYXt%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1271543994%26oauth_token%3DnVR4wd5STD2Sh3WXqJqh%26oauth_verifier%3DNone%26oauth_version%3D1.0'

liboauth: key='hammertime&smmsd8LqcbBWH5Sh4Ms1SqZvXDQkwDM0pR4xzR3vxp8SsWC12lC1vLWRZJrjNSQKGqtlW5z2gJwkGGP2'

** (rhythmbox:17192): DEBUG: navigation requested to https://one.ubuntu.com/music/login?oauth_callback=None&oauth_consumer_key=ubuntuone&oauth_nonce=wdSxZw1Tzm2Fq5yuYXt&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1271543994&oauth_token=nVR4wd5STD2Sh3WXqJqh&oauth_verifier=None&oauth_version=1.0&oauth_signature=HT5XB9%2FHg6dchTypK48fK8JaKWo%3D
** (rhythmbox:17192): DEBUG: navigation requested to http://stores.7digital.com/user/partnerLogin.aspx?shop=496&returnUrl=http%3A%2F%2Fstores.7digital.com%2Fdefault.aspx%3Fshop%3D496%26partner%3D983&oauth_nonce=40544783&oauth_timestamp=1271543997&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=canonical&userid=83686&oauth_version=1.0&oauth_signature=YVhU97t%2FiZxrv7i80JCXI3n%2Bk4g%3D&partner=983
** (rhythmbox:17192): DEBUG: navigation requested to http://stores.7digital.com/default.aspx?shop=496&partner=983

Related branches

Revision history for this message
Benjamin Humphrey (humphreybc) wrote :

It might be worth mentioning that I have Ubuntu One unchecked in Startup Applications as I don't use the file sharing, but still want to use Rhythmbox. This is probably the cause for the problem.

I think the real bug here is that Rhythmbox should still start even if it can't start the Ubuntu One music store due to an error.

affects: rhythmbox (Ubuntu) → libubuntuone (Ubuntu)
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

It should still start, yes, not sure why it doesn't. But yes, to use the music store you need to have syncdaemon running, so, can you please run:

$ u1sdtool -c

and see if it starts now? I'll have a look at why it prevents rhythmbox from starting

Changed in libubuntuone (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Revision history for this message
Laryllan (laryllan) wrote :

I have the very same problem.
Running u1sdtool -c has no effect, it seems to be a bug within ubuntu one...

Here is the output of rhythmbox started from a terminal:
** (rhythmbox:3410): DEBUG: Loading the real store page

** (rhythmbox:3410): WARNING **: Syncdaemon already connected, not connecting again

liboauth: data to sign='GET&https%3A%2F%2Fone.ubuntu.com%2Fmusic%2Flogin&oauth_callback%3DNone%26oauth_consumer_key%3Dubuntuone%26oauth_nonce%3DFMOUtxEopgzqPFqYALh9w1Qoe7G%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1272920111%26oauth_token%3DXhdLW5bVzdxBXnK0031z%26oauth_verifier%3DNone%26oauth_version%3D1.0'

liboauth: key='hammertime&x7GfD1KfKvFvnnDbb3Qf6pfbSlCWmKmVXDbG2DjZQkxhqVd4kp8TXWbjWPkqXZNHht617l2tBkfmBWPb'

** (rhythmbox:3410): DEBUG: navigation requested to https://one.ubuntu.com/music/login?oauth_callback=None&oauth_consumer_key=ubuntuone&oauth_nonce=FMOUtxEopgzqPFqYALh9w1Qoe7G&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1272920111&oauth_token=XhdLW5bVzdxBXnK0031z&oauth_verifier=None&oauth_version=1.0&oauth_signature=GTZcBV4E%2BJd3d%2FKjo34lMBi%2BAo8%3D
Segmentation fault

Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Laryllan, you got a segmentation fault, can you please obtain a backtrace of the crash, as explained in https://wiki.ubuntu.com/DebuggingProgramCrash ?

Revision history for this message
Roman Bolshakov (roolebo) wrote :

Rodrigo, here is the backtrace and another logs.

Revision history for this message
Roman Bolshakov (roolebo) wrote :
Revision history for this message
Roman Bolshakov (roolebo) wrote :
Revision history for this message
Roman Bolshakov (roolebo) wrote :

It looks like my problem also concerned with last.fm plugin. Here is my story:
Rhythmbox just added own icon to indicator applet and then it crashed. I uninstalled rhythmbox music store plugin and tried to run it again. There was some advance because it crashed approximately after 5-10 seconds. Of course it was still unusable.

Some minutes ago I looked over output of "rhythmbox -d" and noticed that it crashed just after this line: "[0x8728028] [rb_audioscrobbler_do_handshake] rb-audioscrobbler.c:785: Performing handshake with Audioscrobbler server:*here is long url*". For the few seconds while rhythmbox works I managed to disable last.fm plugin, restarted player and it works! So rhythmbox is running normally without the two plugins at the moment. If I install music store again rhythmbox will crash as I described at the beginning.

Revision history for this message
smallreactor (ecmporter) wrote :

this is what my terminal produces:

"ecmpeek@ecmpeek-desktop:~$ rhythmbox
** (rhythmbox:5733): DEBUG: Loading the real store page

** (rhythmbox:5733): WARNING **: Syncdaemon already connected, not connecting again

liboauth: data to sign='GET&https%3A%2F%2Fone.ubuntu.com%2Fmusic%2Flogin&oauth_callback%3DNone%26oauth_consumer_key%3Dubuntuone%26oauth_nonce%3DqyjGeZq3nlf_lHsQUT8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1276167671%26oauth_token%3D2mL2mmrKMBg1Mxq8VMQG%26oauth_verifier%3DNone%26oauth_version%3D1.0'

liboauth: key='hammertime&HKW18Dk4rNst4pnzLZKrdgdsrpsST6GdDpzphcnbRvN9tNtht3Gs7dmfNGZP9lbHtMX0LMWWC6bk3Pvr'

** (rhythmbox:5733): DEBUG: navigation requested to https://one.ubuntu.com/music/login?oauth_callback=None&oauth_consumer_key=ubuntuone&oauth_nonce=qyjGeZq3nlf_lHsQUT8&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1276167671&oauth_token=2mL2mmrKMBg1Mxq8VMQG&oauth_verifier=None&oauth_version=1.0&oauth_signature=J33MPc%2BMbQX05F%2B1YYfX9kBx%2FSA%3D

Rhythmbox tries to gain a connection with Ubuntu One. It is ridiculous that I have to open Ubuntu One in order to start Rhythmbox.

Revision history for this message
Jim Hunziker (landtuna) wrote :

This also affects me. Uninstalling the music store let me get past the segfault, and I could play music. But when I try to listen to an internet radio station, it crashes as soon as I press play.

Considering the last.fm report above, maybe there's some problem with how rhythmbox copes with some people's networking setups.

Revision history for this message
Jim Hunziker (landtuna) wrote :

This fixed it for me, though it's probably not a good workaround for everyone. I changed the following line in /etc/nsswitch.conf from:

hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4

to:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

So I guess there's a rhythmbox + winbind incompatibility.

Revision history for this message
Roman Bolshakov (roolebo) wrote : Re: [Bug 565648] Re: Rhythmbox fails to start, cites music store errors

Thanks, Jim. This workaround fixes the problem.

Revision history for this message
axelsvag (darinsson) wrote :

Thanks, Jim Your suggestion worked for me aswell.

tags: added: u1-maverick
Revision history for this message
Ivo (van-hoi) wrote :

I've the same problem. It a fresh 10.04 installation where I've updated directly to 10.10. I am connected with my Ubuntu One account.

Terminal start (I use the Dutch version):

(rhythmbox:1812): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
** Message: useQuirks: 0 / 0 /
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py", line 43, in activate
    self.music_store_widget.activate(shell)
  File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py", line 57, in activate
    self.entry_type = self.db.entry_register_type("U1EntryType")
AttributeError: '__main__.RhythmDBTree' object has no attribute 'entry_register_type'
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** Message: useQuirks: 0 / 0 /
** (rhythmbox:1812): DEBUG: Loading the real store page

** (rhythmbox:1812): WARNING **: Got less number of items in credentials hash table than expected!
** Message: useQuirks: 0 / 0 / one.ubuntu.com
** (rhythmbox:1812): DEBUG: navigation requested to https://one.ubuntu.com/music/store-no-token
** Message: useQuirks: 0 / 0 / one.ubuntu.com
** Message: useQuirks: 0 / 0 / one.ubuntu.com

(rhythmbox:1812): RhythmDB-WARNING **: Unexpected entry type

(rhythmbox:1812): RhythmDB-WARNING **: Attempt to read 'type' of unhandled type GObject
**
RhythmDB:ERROR:rhythmdb-query.c:480:rhythmdb_read_encoded_property: code should not be reached
Afgebroken (geheugendump gemaakt)

Changed in libubuntuone (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-10.10
tags: added: desktop+
Changed in libubuntuone:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Rodrigo Moya (rodrigo-moya)
tags: added: music-store
Revision history for this message
John Lenton (chipaca) wrote :

@ivo is this still the case?
@all Does this still happen for any of you? I can't reproduce.

Changed in libubuntuone:
status: Triaged → Incomplete
Changed in libubuntuone (Ubuntu Maverick):
status: Triaged → Incomplete
Changed in libubuntuone (Ubuntu Maverick):
milestone: ubuntu-10.10 → none
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

I think this shouldn't happen anymore, since we never call call current_status DBus method. We can still timeout on some other DBus calls, so attaching a branch that prevents the music store widget to make DBus calls until the daemon is really ready to respond

Changed in libubuntuone:
status: Incomplete → In Progress
dobey (dobey)
Changed in libubuntuone:
status: In Progress → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

libubuntuone (0.3.7-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Make sure syncdaemon is ready before making DBus calls, to avoid timeouts
      (Rodrigo Moya) (LP: #565648)

 -- Rodrigo Moya <email address hidden> Thu, 16 Sep 2010 00:31:04 +0200

Changed in libubuntuone (Ubuntu Maverick):
status: Incomplete → Fix Released
Changed in libubuntuone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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