Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Make fail on Music::Tag::Amazon

by marto (Cardinal)
on Mar 03, 2014 at 14:04 UTC ( [id://1076779]=note: print w/replies, xml ) Need Help??


in reply to Make fail on Music::Tag::Amazon

Disclaimer, I've never used this module. Looking at the test in question the first thing that jumps out to me is this:

my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN', secret_key => 'YOUR_AMZN_SECRET_KEY', # response_dump => 1, );

Suggesting you'd need to provide a valid token/key from Amazon. Then if you look at the error it tells you that Net::Amazon expects something that is not passed to it, the associate tag. The Changes file states:

0.61 (10/28/2011) (cb) rt 71937; Amazon now requires an Associate Tag, so enforce usage.

Music::Tag::Amazon has not been updated since 2010, and won't work because it's dependency (Net::Amazon) has changed to meet the requirement of the Amazon service. Fixing this would seem fairly trivial, and you can raise an issue and provide a patch via cpan.

Update: I don't have an Amazon soap account/developer tokens. I've made a very quick update, it's not final as I'd like to improve the tests and documentation more before raising the pull request. Please test this and let me know if it works.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-16 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found