Error prevents enabling store plugin

Bug #623655 reported by Matt Griffin
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Ubuntu One for Rhythmbox
Fix Released
Undecided
Rodrigo Moya
libubuntuone (Ubuntu)
Fix Released
High
Unassigned
Maverick
Invalid
High
Unassigned

Bug Description

After the latest Maverick update, I cannot enable the Ubuntu One Music Store. Attempting to enable the plugin from the plugin manager menu causes the following message to be displayed in a popup window.

Plugin Error
Unable to activate plugin Ubuntu One Music Store

matt@ubuntu:~$ rhythmbox
** Message: pygobject_register_sinkfunc is deprecated (GstObject)

(rhythmbox:2747): Gtk-WARNING **: /build/buildd/gtk+2.0-2.21.6/gtk/gtkliststore.c:329: Invalid type void

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py", line 20, in <module>
    from MusicStoreWidget import U1MusicStoreWidget
  File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py", line 27, in <module>
    from ubuntuone.gtkwidgets import MusicStore as U1MusicStore
ImportError: No module named gtkwidgets

(rhythmbox:2747): Rhythmbox-WARNING **: Could not load plugin umusicstore

(rhythmbox:2747): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Ubuntu One Music Store'

(rhythmbox:2747): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
Segmentation fault (core dumped)

Tags: u1-maverick
Changed in rhythmbox-ubuntuone-music-store:
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Changed in rhythmbox-ubuntuone-music-store (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → High
Changed in rhythmbox-ubuntuone-music-store:
status: New → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Download full text (3.4 KiB)

I see this too. With rhythmbox 0.13.0git20100819-0ubuntu1 and rhythmbox-ubuntuone-music-store 0.1.3-0ubuntu1 I can select the UbuntuOne Music store in Edit/Plugins, but it doesn't show up in the left pane. Starting rb from the command line I have (replacing potentially private stuff with '...'):

$ rhythmbox

(rhythmbox:5201): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: pygobject_register_sinkfunc is deprecated (GstObject)

(rhythmbox:5201): Rhythmbox-WARNING **: Could not open device /dev/radio0
** 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'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/radio-browser/radio-browser.py", line 110, in activate
    entry_type = db.entry_register_type("RadioBrowserEntryType")
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:5201): DEBUG: Loading the real store page

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

liboauth: key='...'

** Message: useQuirks: 0 / 0 / one.ubuntu.com
** (rhythmbox:5201): DEBUG: navigation requested to https://one.ubuntu.com/music/login?oauth_callback=None&oauth_consumer_key=...&oauth_nonce=...&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1282829831&oauth_token=...&oauth_verifier=None&oauth_version=1.0&oauth_signature=...%3D
** Message: useQuirks: 0 / 0 / one.ubuntu.com
** Message: useQuirks: 0 / 0 / one.ubuntu.com
** Message: useQuirks: 0 / 0 / one.ubuntu.com
** (rhythmbox:5201): DEBUG: navigation requested to https://one.ubuntu.com/music/store-invalid-token
** (rhythmbox:5201): DEBUG: firing authentication
** (rhythmbox:5201): DEBUG: navigation requested to file:///usr/share/libubuntuone/1/javascript/load_error.html?https://one.ubuntu.com/music/store-invalid-token
** Message: useQuirks: 0 / 0 /
** (rhythmbox:5201): DEBUG: Got new credentials from ubuntu-sso

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

liboauth: key='...'

** Message: useQuirks: 0 / 0 / one.ubuntu.com
** (rhythmbox:5201): DEBUG: navigation requested to https://one.ubuntu.com/music/login?...

(rhythmbox:5201): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
** Message: useQuirks: ...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue has been fixed in "libubuntuone (0.3.4-0ubuntu1)" according to the changelog of this upload

affects: rhythmbox-ubuntuone-music-store (Ubuntu Maverick) → libubuntuone (Ubuntu Maverick)
Changed in libubuntuone (Ubuntu Maverick):
status: Triaged → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Sorry to kick this back down, but I have libubuntuone-1.0-1 0.3.4-0ubuntu1 (and did when I posted my traceback) and it is not fixed.

Changed in libubuntuone (Ubuntu Maverick):
status: Fix Released → Confirmed
Changed in rhythmbox-ubuntuone-music-store:
status: In Progress → Fix Released
Changed in libubuntuone (Ubuntu Maverick):
status: Confirmed → Fix Released
tags: added: u1-maverick
Revision history for this message
Keith E Rea (bupahs) wrote :

Bug is still active

Changed in libubuntuone (Ubuntu Maverick):
status: Fix Released → Invalid
Revision history for this message
Tanker Bob (tankerbob) wrote :

I just developed this issue in Lucid x86_64. Everything worked fine until the plugin update to 1.9 last week. I'm using Rhythmbox 0.13.1. After updating to the 1.9 plugin, I get the error message "Unable to activate plugin Ubuntu One Music Store". I tried reinstalling the plugin, but that didn't work. Today, one of my other repositories offered up version 1.8 disguised as 1.9.1. I installed that but it made no difference. So, I purged the plugin with Synaptic, then reinstalled it. Still won't load. I'm running an Intel Q9650 Quad CPU with 8 GB of DDR2 SDRAM, Kernel 2.6.32-25-generic.

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 623655] Re: Error prevents enabling store plugin

On Sat, 23 Oct 2010 02:58:50 -0000, Tanker Bob <email address hidden> wrote:
> I just developed this issue in Lucid x86_64. Everything worked fine
> until the plugin update to 1.9 last week. I'm using Rhythmbox 0.13.1.
> After updating to the 1.9 plugin, I get the error message "Unable to
> activate plugin Ubuntu One Music Store". I tried reinstalling the
> plugin, but that didn't work. Today, one of my other repositories
> offered up version 1.8 disguised as 1.9.1. I installed that but it made
> no difference. So, I purged the plugin with Synaptic, then reinstalled
> it. Still won't load. I'm running an Intel Q9650 Quad CPU with 8 GB of
> DDR2 SDRAM, Kernel 2.6.32-25-generic.

could you paste the result of running rhythmbox from the terminal?

Revision history for this message
Tanker Bob (tankerbob) wrote :

Here's my terminal session:
-----------------------
bob@bob-ubuntu:~$ rhythmbox

(rhythmbox:17423): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(rhythmbox:17423): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
-----------------------

When I try to activate the music store plugin, I get the following:

-----------------------
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py", line 20, in <module>
    from MusicStoreWidget import U1MusicStoreWidget
  File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py", line 24, in <module>
    from aptdaemon.defer import inline_callbacks
ImportError: cannot import name inline_callbacks

(rhythmbox:17423): Rhythmbox-WARNING **: Could not load plugin umusicstore

(rhythmbox:17423): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Ubuntu One Music Store'
-----------------------

Revision history for this message
John Lenton (chipaca) wrote :

could you confirm the version of aptdaemon you're using?

On Sat, 23 Oct 2010 04:16:33 -0000, Tanker Bob <email address hidden> wrote:
> Here's my terminal session:
> -----------------------
> bob@bob-ubuntu:~$ rhythmbox
>
> (rhythmbox:17423): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
>
> (rhythmbox:17423): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
> -----------------------
>
> When I try to activate the music store plugin, I get the following:
>
> -----------------------
> Traceback (most recent call last):
> File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py", line 20, in <module>
> from MusicStoreWidget import U1MusicStoreWidget
> File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py", line 24, in <module>
> from aptdaemon.defer import inline_callbacks
> ImportError: cannot import name inline_callbacks
>
> (rhythmbox:17423): Rhythmbox-WARNING **: Could not load plugin
> umusicstore
>
>
> (rhythmbox:17423): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Ubuntu One Music Store'
> -----------------------
>
> --
> Error prevents enabling store plugin
> https://bugs.launchpad.net/bugs/623655
> You received this bug notification because you are a member of Ubuntu
> One hackers, which is subscribed to libubuntuone in ubuntu.

Revision history for this message
Tanker Bob (tankerbob) wrote :

aptdaemon version 0.11+bzr345-0ubuntu4.1

Revision history for this message
John Lenton (chipaca) wrote :

On Sat, 23 Oct 2010 04:47:20 -0000, Tanker Bob <email address hidden> wrote:
> aptdaemon version 0.11+bzr345-0ubuntu4.1

and you're in Lucid, and using the rhythmbox plugin from -proposed?

Revision history for this message
John Lenton (chipaca) wrote :

On Sat, 23 Oct 2010 02:06:07 -0300, John Rowland Lenton <email address hidden> wrote:
> On Sat, 23 Oct 2010 04:47:20 -0000, Tanker Bob <email address hidden> wrote:
> > aptdaemon version 0.11+bzr345-0ubuntu4.1
>
> and you're in Lucid, and using the rhythmbox plugin from -proposed?

scratch that, we haven't SRU'd to Lucid yet. How do you have such a
recent plugin on Lucid?

You need Maverick's aptdaemon, I'm afraid.

Revision history for this message
Tanker Bob (tankerbob) wrote :

I got the plugin from the webupd8team ppa for rhythmbox. I will disable that and try regressing the versions.

Will Maverick's aptdaemon work in Lucid? Will all the dependencies be fulfilled?

Revision history for this message
Tanker Bob (tankerbob) wrote :

OK, your question told me what I needed to know. I was using the webupd8team ppa for lucid, which apparently outran the support libraries with the latest ubuntu one plugin. I disabled the ppa, uninstalled rhythmbox and all its plugins, then reinstalled from the basic lucid repositories. Everything works now, but I'm sure that I lost some functionality, especially with the plugins, but I do have the ubuntu one music store back.

I'm better now. Thank you for your help tonight.

Revision history for this message
Lumenary (nx-kadams) wrote :

Hello,

I updated Lucid using the following PPAs:

-- Ubuntu One Stable Builds
-- https://launchpad.net/~ubuntuone/+archive/stable?field.series_filter=lucid
-- -- -- ubuntuone-client 1.4.4.1-0ubuntu1~lucid1

-- Aptdaemon Developers
-- https://launchpad.net/~aptdaemon-developers/+archive/ppa?field.series_filter=lucid
-- -- -- aptdaemon 0.31-0ubuntu1~ppa1

-- WebUpd8 Team Rhythmbox PPA
-- https://launchpad.net/~webupd8team/+archive/rhythmbox?field.series_filter=lucid
-- -- -- rhythmbox 0.13.1-0ubuntu2~webupd8~lucid
-- -- -- rhythmbox-ubuntuone-music-store 0.1.9-1~really0.1.8-0ubuntu1~webupd8~lucid

and rebooted, and I am still getting the same error as Tanker Bob reports, above:

-- Traceback (most recent call last):
-- File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py",
-- line 20, in <module>
-- from MusicStoreWidget import U1MusicStoreWidget
-- File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py",
-- line 24, in <module>
-- from aptdaemon.defer import inline_callbacks
-- ImportError: cannot import name inline_callbacks
--
-- (rhythmbox:3574): Rhythmbox-WARNING **: Could not load plugin umusicstore
--
--
-- (rhythmbox:3574): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Ubuntu One Music Store'

so I think there is something deeper going on here. D-Bus issue, perhaps?

**Sigh** Guess I'll have to downgrade back to the Lucid repos as well. Pity, as Rhythmbox 0.13.1 seems to be a LOT more stable than Lucid Release...

Revision history for this message
Tanker Bob (tankerbob) wrote :

Well, I forgot about all the issues with Rythmbox 0.12.8. After just a few hours this morning, I decided that I could live without the music store for a while. I installed the other two ppa's cited by Luminary (Thanks!) and updated to the latest releases of aptdaemon, ubuntu one builds, and rhythmbox and their associated support libs from their ppa's. I no longer have the music store, but everything else associated with rhythmbox works perfectly again. Here's my terminal output:

:~$ rhythmbox

(rhythmbox:16881): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(rhythmbox:16881): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Then try to activate the ubuntuone music store plugin:

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/umusicstore/__init__.py", line 20, in <module>
    from MusicStoreWidget import U1MusicStoreWidget
  File "/usr/lib/rhythmbox/plugins/umusicstore/MusicStoreWidget.py", line 24, in <module>
    from aptdaemon.defer import inline_callbacks
ImportError: cannot import name inline_callbacks

(rhythmbox:16881): Rhythmbox-WARNING **: Could not load plugin umusicstore

(rhythmbox:16881): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Ubuntu One Music Store'

Pretty much the same as before.

There ought to be another way to access the music store besides the buggy plugin to rhythmbox, and I don't mean a plugin for banshee. I mean a website or dedicated app. As it is, I'll just wait until somebody fixes the plugin interface for rhythmbox. When Cannonical feels the pinch from folks no longer buying from the store, maybe this will be fixed.

Revision history for this message
John Lenton (chipaca) wrote :

On Sat, 23 Oct 2010 05:52:53 -0000, Tanker Bob <email address hidden> wrote:
> OK, your question told me what I needed to know. I was using the
> webupd8team ppa for lucid, which apparently outran the support libraries
> with the latest ubuntu one plugin. I disabled the ppa, uninstalled
> rhythmbox and all its plugins, then reinstalled from the basic lucid
> repositories. Everything works now, but I'm sure that I lost some
> functionality, especially with the plugins, but I do have the ubuntu one
> music store back.

your ubuntu one will be worse off, until the next lucid point release
when we're planning a backport/cherrypicking of fixes. On the
functionality side on the music store, you lost the ability to tweet a
link to the song you're listening.

Revision history for this message
Tanker Bob (tankerbob) wrote :

Thanks, John. FWIW, I found Rhythmbox 0.12.8 too buggy to use, so went back to 0.13.1 and installed the PPAs listed above. I no longer have the U1 music store, but at least Rhythmbox works better. Don't care about bird calls.

Since I just found out that I'm still being charged the international surcharge on my credit card through Paypal using U1's UK-based store, I've decided to go directly to http://us.7digital.com/ for my music. It's all the same but without the Rhythmbox plugin hassles or international surcharges. I'll be happy to go back to using the U1 music store when users can access their own country's 7Digital site and Rhythmbox's U1 music store plugin bugs are resolved.

Thanks for your engagement here and your continued work on the plugin.

Revision history for this message
Andrew (keen101) wrote :

Had the same problem on 8.04. The solution to remove the lucid ppa and purge the ubuntu one music plugin and rhythmbox, followed by a reinstall of both through the standard ubuntu repo seems to have worked.

Not sure whats wrong with the ppa, but someone should fix it.

Revision history for this message
dobey (dobey) wrote :

@Andrew, which PPA?

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.