tblancher / pymazon

Automatically exported from code.google.com/p/pymazon
Other
0 stars 0 forks source link

pymazon fails to convert amz files to mp3 format in Ubuntu Lucid #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Install pymazon and dependencies
2.run the command 'pymazon' from the command line
3.Select one or more Amazon .amz files

What is the expected output? What do you see instead?
pymazon should convert the selected file(s) into mp3 format, but the
program stops when trying to convert the first file and reports an error

What version of the product are you using? On what operating system?
pymazon version 0.1.1 with Ubuntu Lucid (Ubuntu 10.04 (64 bit))

Please provide any additional information below.
pymazon works perfectly in Ubuntu Karmic (Ubuntu 9.10 (64 bit))

Original issue reported on code.google.com by cm006a50...@gtempaccount.com on 9 Apr 2010 at 9:37

GoogleCodeExporter commented 8 years ago
what does the generated log say?

The log is located at ~/.pymazon/logs/

Original comment by SCColbert@gmail.com on 12 Apr 2010 at 4:26

GoogleCodeExporter commented 8 years ago
I looked and the error log running pymazon -c <filename>.amz gave the 
following:- 

2010-04-12 15:40:06,350 - backend - ERROR - Opening request {'album': 'One 
Time',
'status': '', 'artist': 'Justin Bieber', 'url':
'http://www.amazon.co.uk/gp/dmusic/media/log_action.mp3/ref=?ie=UTF8&ASIN=B003CV
V48Q&TYPE=DigitalMusicFullLengthDownloadDM&CustomerID=AZZ48FO65NFR6&URL=http%3A%
2F%2Famazonm-409.vo.llnwd.net%2Fs%2Fd11%2F101390%2F101390556%2F215532409_256.mp3
%3Fmarketplace%3D3%26httpHeader_Content-Type%3Daudio%252Fx-amzaudio%26httpHeader
_Content-Disposition%3Dattachment%253B%2520filename%253D%252201%2520-%2520One%25
20Time.mp3%2522%26amd%3D1%26l%3D%26e%3D1270433520%26h%3D1c0091f2868ce23f16ed23de
5bde2753',
'image': 
'https://images-na.ssl-images-amazon.com/images/I/510fwMJ8YSL._SS75_.jpg',
'title': 'One Time', 'tracknum': '1', 'filesize': '12780277'}

Running in GUI mode, I got the following

2010-04-12 15:42:05,210 - backend - ERROR - Opening request {'album': 'One 
Time',
'status': (-1, 'Connecting...'), 'artist': 'Justin Bieber', 'url':
'http://www.amazon.co.uk/gp/dmusic/media/log_action.mp3/ref=?ie=UTF8&ASIN=B003CV
V48Q&TYPE=DigitalMusicFullLengthDownloadDM&CustomerID=AZZ48FO65NFR6&URL=http%3A%
2F%2Famazonm-409.vo.llnwd.net%2Fs%2Fd11%2F101390%2F101390556%2F215532409_256.mp3
%3Fmarketplace%3D3%26httpHeader_Content-Type%3Daudio%252Fx-amzaudio%26httpHeader
_Content-Disposition%3Dattachment%253B%2520filename%253D%252201%2520-%2520One%25
20Time.mp3%2522%26amd%3D1%26l%3D%26e%3D1270433520%26h%3D1c0091f2868ce23f16ed23de
5bde2753',
'image': 
'https://images-na.ssl-images-amazon.com/images/I/510fwMJ8YSL._SS75_.jpg',
'title': 'One Time', 'tracknum': '1', 'filesize': '12780277'}

Hope this helps

Original comment by cm006a50...@gtempaccount.com on 12 Apr 2010 at 2:48

GoogleCodeExporter commented 8 years ago
Does the amazon.co.uk link listed in that error log work in your browser? If 
no, then 
your amz file is likely expired and it's not a Pymazon issue. If that link 
works in 
your browser, then for some unknown reason it's causing the Python urllib2 
module to 
raise a URLError in Ubuntu Lucid. 

I'll investigate this further after Lucid is released.

Original comment by SCColbert@gmail.com on 19 Apr 2010 at 3:04

GoogleCodeExporter commented 8 years ago
I just tried Pymazon on a new amz purchase on Lucid. Everything worked fine. I'm
marking this issue as invalid.

Original comment by SCColbert@gmail.com on 6 May 2010 at 10:08