TuxCoder / rhythmbox-ampache

Automatically exported from code.google.com/p/rhythmbox-ampache
0 stars 0 forks source link

Plugin fails in Ubuntu 11.04 Natty. #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In Natty, install rhythmbox & rhythmbox-ampache
2. Start rhythmbox from the terminal, and activate the plugin
3. Ampache source never shows up, and terminal shows an error.

What is the expected output? What do you see instead?
I expect Ampache to show up as a music source, but don't ever see it show.

What version of the product are you using? On what operating system?
I believe it's the latest rb-ampache, 11, I think.  OS is Ubuntu Natty x64.

Please provide any additional information below.
Your plugin rules.

Original issue reported on code.google.com by jvonh...@gmail.com on 30 Mar 2011 at 9:33

GoogleCodeExporter commented 8 years ago
Could you provide the output you see in your terminal.  Thanks.

Original comment by s...@epsteyn.com on 30 Mar 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Sure.  Sorry.  I know the OS is still unreleased, so I appreciate you
looking into it.  I googled the error, and it sounds like Rhythmbox changed
their API somehow.

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

(rhythmbox:6058): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion
`G_IS_OBJECT (object)' failed
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/ampache/__init__.py", line 41, in
activate
    group = rb.rb_source_group_get_by_name(self.config.get("group"))
AttributeError: 'module' object has no attribute
'rb_source_group_get_by_name'

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

Original comment by jvonh...@gmail.com on 30 Mar 2011 at 9:58

GoogleCodeExporter commented 8 years ago
What version of Rhythmbox is this?

Original comment by s...@epsteyn.com on 30 Mar 2011 at 10:08

GoogleCodeExporter commented 8 years ago
Rhythmbox 0.13.3

Original comment by jvonh...@gmail.com on 30 Mar 2011 at 10:16

GoogleCodeExporter commented 8 years ago
I have the same problem

$ rhythmbox

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

(rhythmbox:1954): GLib-GObject-CRITICAL **: g_object_set_qdata: assertion 
`G_IS_OBJECT (object)' failed
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/ampache/__init__.py", line 41, in activate
    group = rb.rb_source_group_get_by_name(self.config.get("group"))
AttributeError: 'module' object has no attribute 'rb_source_group_get_by_name'

Rhythmbox 0.13.3

Original comment by alyar...@gmail.com on 19 Apr 2011 at 11:26

GoogleCodeExporter commented 8 years ago
I have a similar issue, I don't know if it's the same issue (with different 
verbage), or a different issue entirely.  My python-fu is weak, so please split 
this thread if it's a different issue.

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/ampache/__init__.py", line 36, in activate
    self.entry_type = AmpacheEntryType()
  File "/usr/lib/rhythmbox/plugins/ampache/__init__.py", line 25, in __init__
    rhythmdb.EntryType.__init__(self, name='AmpacheEntryType')
NotImplementedError: AmpacheEntryType is an abstract widget

I'm running python 2.7.1 and rhythmbox 0.12.8 on gentoo linux.  Let me know if 
you need any other information.  Thanks!

Original comment by lexotron...@gmail.com on 28 Apr 2011 at 2:21

GoogleCodeExporter commented 8 years ago
I got it to work.  I had to make changes to __init__.py and AmpacheBrowser.py.  
I kinda copied what is being done in the Jamendo plugin, so I'm not sure if it 
works when there are no Stores avaliable (Jamendo, Magnatune, U1).

Also, the right-click (on the plugin under "Stores", not the browser) doesn't 
do anything.  Not sure why, but I never use that, anyway.

But, the files are attached, and it "works for me"!  Plop these into 
/usr/lib/rhythmbox/plugins/ampache, and fire it up.

Enjoy.

Original comment by jvonh...@gmail.com on 10 May 2011 at 9:35

Attachments: