Plugin doesn't activate since Rhythmbox 0.13

Bug #654671 reported by banditsan
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Rhythmbox Duplicate Source
Fix Committed
Undecided
Unassigned
Nominated for 0.x by Yota

Bug Description

~$ rhythmbox

(rhythmbox:16604): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/home/bandit/.local/share/rhythmbox/plugins/duplicate-source/__init__.py", line 88, in activate
    self.entry_type = self.db.entry_register_type("DuplicateEntryType")
AttributeError: '__main__.RhythmDBTree' object has no attribute 'entry_register_type'

using Rhythmbox 0.13.1

I think this maybe due RB version

Revision history for this message
banditsan (bandit-tornado) wrote :

As I thought this bug due newer RB version.
This fix eliminates problem

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

I've just fixed this myself in bzr. Your fix came a bit too late I didnt see it before.

Changed in rb-duplicate-source:
status: New → Fix Committed
Revision history for this message
banditsan (bandit-tornado) wrote :

Did not expect such quick reply :) This fix can be useful for other plugins, because some have same issue.

summary: - plugin don't work
+ Plugin doesn't activate since Rhythmbox 0.13
Revision history for this message
Will Price (will-price94) wrote :

After getting the newest branch from bzr I copied the plugin over to /gnome2..... and when i try to activate it in rhythmbox i get this error:
Plugin Error:
unable to activate plugin Find Duplicates

In the folder i have 3 files
- duplicate-finder.rb-plugin
- __init__.py
- check.glade

(and .bzr)

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

Error message when you start RB from the console and try to activate the plugin?

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

I think you copied the wrong branch. You should have these files

 __init__.py
config.ui
duplicate-source.rb-plugin] duplicate-source.rb-plugin
DuplicateSource.py] DuplicateSource.py
icon.svg
Preferences.py

bzr branch lp:rb-duplicate-source

Revision history for this message
Syslog.eu (syslog) wrote :

Hi, I still cannot make it working (RB 0.13.3, current Ubuntu). Can configure in "Plugins" however don't see any "Duplicates" directory. Getting this message:

sniff@elitebook$ rhythmbox

(rhythmbox:24709): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Traceback (most recent call last):
  File "duplicate-source/__init__.py", line 107, in activate
    library_group = rb.rb_source_group_get_by_name("library")
AttributeError: 'module' object has no attribute 'rb_source_group_get_by_name'

(rhythmbox:24709): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

Any hint?

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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