After plugin enabled, it doesn't show up!

Asked by MrArmanius on 2012-08-10

(11:51:54) [0x13852d0] [extension_added_cb] rb-shell.c:916: activating extension Repeat One Song
(11:51:54) [0x13852d0] [find_plugin_file] /usr/lib/rhythmbox/plugins/rb/rb.py:140: looking for icon.svg in /usr/share/rhythmbox/plugins/repeat-one-song
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/repeat-one-song/repeat-one-song.py", line 109, in do_activate
    self.load_icon() # necessary load icon first ...
  File "/usr/lib/rhythmbox/plugins/repeat-one-song/repeat-one-song.py", line 76, in load_icon
    iconsource.set_filename(icon_file_name)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value

Question information

Language:
English Edit question
Status:
Solved
For:
Repeat One Song Edit question
Assignee:
No assignee Edit question
Solved by:
MrArmanius
Solved:
2012-08-10
Last query:
2012-08-10
Last reply:
MrArmanius (erik-de-zeeuw) said : #1

I got it solved!!

I copied the extension

/usr/share/lib/rhythmbox/plugins/
to
/usr/lib/rhythmbox/plugins/

and now it works, system-wide!

Adam YH Lee (adam-yh-lee) said : #2

I extracted into /usr/lib/rhythmbox/plugins, but still get the error similar to above. Using Rhythmbox 2.96 on Precise. Any pointers?

adam@adam-desktop:/usr/lib/rhythmbox/plugins$ rhythmbox

(rhythmbox:10202): GLib-GIO-CRITICAL **: is_path: assertion `path[length - 1] == '/'' failed

(rhythmbox:10202): GLib-GIO-CRITICAL **: g_settings_backend_path_changed: assertion `is_path (path)' failed
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/repeat-one-song/repeat-one-song.py", line 109, in do_activate
    self.load_icon() # necessary load icon first ...
  File "/usr/lib/rhythmbox/plugins/repeat-one-song/repeat-one-song.py", line 76, in load_icon
    iconsource.set_filename(icon_file_name)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/repeat-one-song/repeat-one-song.py", line 127, in do_deactivate
    manager.remove_ui(self.uid)
AttributeError: 'RepeatOneSong' object has no attribute 'uid'

Ma Hsiao-chun (mahsiaochun) said : #3

Hi, Adam.

I use "~/.local/share/rhythmbox/plugins" and the plugin works.