can't browse jamendo collection from rhythmbox plugin

Bug #158941 reported by raphxl
48
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

since gutsy, I can't browse the jamendo collection from rhythmbox... I can listen for random music and the cover loads well, but that's all. The only thing I can see is the "Welcome" page (french in my case).

Tags: patch
Revision history for this message
Olivier (o-polette) wrote :

I have the same problem.

Added information:
- It only happens since update to 0.11.2 of Rhythmbox.
- It is still possible to play random files from Jamendo (double-click on jamendo).
- Magnatunes works well.

Thanks

Revision history for this message
Basilio Kublik (sourcercito) wrote :

HI there
Could one of you please run rhythmbox from a terminal such as gnome-terminal and see if give you an error message?

thanks in advance

Changed in rhythmbox:
status: New → Incomplete
Revision history for this message
Olivier (o-polette) wrote :

Hi,

Here is what it says

Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/jamendo/JamendoSource.py", line 161, in finish_loadscreen
    self.__load_db ()
  File "/usr/lib/rhythmbox/plugins/jamendo/JamendoSource.py", line 332, in __load_db
    self.__db.set(entry, rhythmdb.PROP_TRACK_NUMBER, int(track['trackno']))
TypeError: could not convert argument from type '(null)' (0) to correct type 'gulong'

Thanks

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, thanks works fine here, can you test it with some new user?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
Revision history for this message
Pedro Villavicencio (pedro) wrote :

s/thanks/thats

Revision history for this message
Olivier (o-polette) wrote :

Hi,

I created a new user and tried to use Jamendo under Rhythmebox -> same problem.

Thanks

Revision history for this message
Bruno (bprin) wrote :

Hello, I have the same problem

Jonathan Matthew correction like our problem....
http://svn.gnome.org/viewvc/rhythmbox/trunk/plugins/jamendo/jamendo/JamendoSource.py?view=log

Revision history for this message
Leon Timmermans (fawaka) wrote :

I had the same problem. Interestingly, I didn't have it when I first used the plugin (yesterday). Weird stuff.
Bruno's suggestion seems to be right.
I changed line 332
    self.__db.set(entry, rhythmdb.PROP_TRACK_NUMBER, int(track['trackno']))
to
    trackno = int(track['trackno'])
    if trackno >= 0:
     self.__db.set(entry, rhythmdb.PROP_TRACK_NUMBER, trackno)
And now it works again. Thanks!

raphxl (raphxl)
Changed in rhythmbox:
status: Incomplete → Confirmed
Revision history for this message
raphxl (raphxl) wrote :

Thank you Leon, Bruno's patch works well for me.

Revision history for this message
Olivier (o-polette) wrote :

Thanks all. It works now ! :-)

Changed in rhythmbox:
milestone: none → later
status: Confirmed → Triaged
Revision history for this message
Marc Luethi (netztier) wrote :

Both my 7.04 and 7.10 installations suffered from this same problem: stuck on the Jamendo "Splash" screen. To implement the patch as outlined above, I had to:

- delete /usr/lib/rhythmbox/plugins/jamendo/JamendoSource.pyc
- patch JamendoSpurce.py as outlined above (the line numer on 7.04 was slightly different).
- run rhythmbox with sudo or gksu (so that the new JamendoSource.pyc) could be created in /usr/lib/rhythmbox/plugins/jamendo/
- restart rhythmbox as user.

And now the plugin works on both 7.04 and 7.10.

thanks for the hint - but it's something that should be fixed.

regards

Marc

Revision history for this message
Fred (surfavela) wrote :

I have done eveything, but i doesn't work... :-(

please fix it for the next release.. i can't fix by myself :-(

thank you

Revision history for this message
DarkMageZ (darkmagez) wrote :

hi, i've built a debdiff which fixes this problem. if someone wants to sort the ubuntu administration stuff out then go ahead.

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

The bug is fixed in hardy, not sure if that's worth a gutsy stable upload

Changed in rhythmbox:
milestone: later → none
status: Triaged → Fix Released
Revision history for this message
madskaddie (madskaddie) wrote :

I had the same problem and thanks for the patch!

By the way, running rhythmbox as root its a very ugly bruteforce solution for the bytecode creation. I sugest something more elegant as opening a python console (in the /usr/lib/ryth,,, dir) and do:

import py_compile
py_compile.compile("JamendoSource.py")

and that's all (pretty simple, hum?)!

Now I can go to listen some good free music!

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

I think we would need just a gutsy-backport of the hardy version.

Revision history for this message
Peer Wüschner (me-nyuviu) wrote :

In Hardy the fix is not working, at least with me. No jamendo surfing ...

Revision history for this message
njh (njh-njhurst) wrote :

As far as I can see, that patch is implemented in hardy, yet I still can't see the music either.

Revision history for this message
SyXbiT (syxbit) wrote :

can confirm jamendo still doesn't work with Rhythmbox 0.11.5 in hardy x86

Revision history for this message
Tom Imhof (tomimhof) wrote :

confirmed running Rhythmbox 0.11.5 on Hardy. Welcome page is shown, connection is established but music list remains empty.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

please read bug 203428, isn't a rhythmbox problem rather a Jamendo itself one, thanks.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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