Bug 234216 - You can't actually buy albums using the Magnatune plugin
You can't actually buy albums using the Magnatune plugin
Product: Fedora
Classification: Fedora
Component: rhythmbox (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Bastien Nocera
Depends On:
  Show dependency treegraph
Reported: 2007-03-27 14:31 EDT by David Nielsen
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 0.9.8-4.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-28 11:56:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Nielsen 2007-03-27 14:31:27 EDT
Description of problem:
You can't actually buy albums using the Magnatune plugin, it simply sits there
after you click buy, the cancel button also doesn't seem to have any effect.

The following can be seen in a terminal.

Traceback (most recent call last):
  File "/usr/lib64/rhythmbox/plugins/magnatune/__init__.py", line 82, in <lambda>
    action.connect('activate', lambda a:
  File "/usr/lib64/rhythmbox/plugins/magnatune/MagnatuneSource.py", line 199, in
    gladexml.get_widget("info_label").set_text(_("Would you like to purchase the
album '%(album)s' by '%(artist)s'.") % (album, artist))
TypeError: format requires a mapping

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Enable Magnatune plugin
2. Select album and click the "Buy Album" button
3. Enter requested information and click the "Buy" confirmation button
Actual results:
Nothing happens

Expected results:
I'd love for there to be the exchange of money for music, that would be really
helpful to my general enjoyment of life.

Additional info:
Comment 1 Bastien Nocera 2007-03-27 18:47:38 EDT
Looks like:

Would you mind trying to apply this patch to
/usr/lib64/rhythmbox/plugins/magnatune/MagnatuneSource.py and letting me know
whether it works?
Comment 2 David Nielsen 2007-03-27 19:12:02 EDT
The patch from SVN works however Rhythmbox crashed after authenticating with the
Magnatude server - I wasn't running with debug symbols installed so what I
captured wasn't useful. However I got my confirmation mail so the order went
through and the crash might not have been related.

I can't really afford to keep retesting though.
Comment 3 Bastien Nocera 2007-03-27 20:14:02 EDT
So you got charged twice? If so, I'll do it myself and put it on expenses :)

I'll apply the patch in the next rawhide build, thanks.
Comment 4 David Nielsen 2007-03-27 20:30:28 EDT
No I got charged once but the crash occured after buying and them charging my
card.. so to attempt to reproduce it I'd have to keep buying music. Not the most
unpleasant experience in the world really but I could go broke doing that with
my track record.
Comment 5 Bastien Nocera 2007-03-28 11:56:38 EDT
Fixed in rhythmbox-0.9.8-4.fc7 for rawhide, and rhythmbox-0.9.8-2.fc6 for FC6.

Note You need to log in before you can comment on or make changes to this bug.