Re: [Banshee-List] Amazon mp3 downloader



On Fri, 21 Oct 2011 11:52:17 -0700, Jon Cosby <lists seablues net> wrote:
On Thu, 20 Oct 2011 15:39:42 -0700 (PDT), stargazergal62
<stargazergal62 yahoo com> wrote:
For about 4 or 5 days, Amazon Cloud was experiencing problems. Whenever I would click on the download button, nothing would happen. Amazon has said that the problem has been resolved. Now when I click on the download button, it tells me I need the Amazon mp3 downloader and then tries, very unsuccessfully, to find what I want to download. So I'm really not sure
where the problem lies.  Any ideas?



There's something wrong with the downloader (.amz) files, or the
formatting has changed. I've tried downloading using Pymazon but
there's an error reading the files. I'll post the traceback later.




The problem is on Amazon's end. Banshee doesn't detect a valid .amz file,

[Warn 22:40:59.708] Invalid .amz file: /home/tux/Downloads/Amazon-MP3-1319153211.amz - System.FormatException: Invalid length. (in `mscorlib') at (wrapper managed-to-native) System.Convert:InternalFromBase64String (string,bool) at System.Convert.FromBase64String (System.String s) [0x00000] in <filename unknown>:0 at Banshee.AmazonMp3.AmzXspfPlaylist.Base64Decode (System.IO.Stream input) [0x00000] in <filename unknown>:0 at Banshee.AmazonMp3.AmzXspfPlaylist.Decrypt (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at Banshee.AmazonMp3.AmzXspfPlaylist..ctor (System.String path) [0x00000] in <filename unknown>:0 at Banshee.AmazonMp3.AmazonDownloadManager..ctor (System.String path) [0x00000] in <filename unknown>:0 at Banshee.AmazonMp3.AmazonMp3DownloaderService.DownloadAmz (System.String path) [0x00000] in <filename unknown>:0 [Error 22:40:59.708] Invalid Amazon MP3 downloader file - /home/tux/Downloads/Amazon-MP3-1319153211.amz

In Pymazon, the problem is reading 8-character blocks in the decryptor,

Traceback (most recent call last):
  File "/usr/bin/pymazon", line 67, in <module>
    main()
  File "/usr/bin/pymazon", line 37, in main
    main(amzs)
File "/usr/lib/python2.6/site-packages/pymazon/cmd/ui.py", line 133, in main
    runner = CommandLineRunner(amzs)
File "/usr/lib/python2.6/site-packages/pymazon/cmd/ui.py", line 61, in __init__
    self.load_new_amz_files(amzs)
File "/usr/lib/python2.6/site-packages/pymazon/cmd/ui.py", line 75, in load_new_amz_files
    parser.parse(f)
File "/usr/lib/python2.6/site-packages/pymazon/core/parser.py", line 155, in parse
    xml = decryptor.decrypt(amz_data)
File "/usr/lib/python2.6/site-packages/pymazon/core/decryptor.py", line 84, in decrypt
    raise de
pymazon.core.decryptor.DecryptException: Input strings must be a multiple of 8 in length

Maybe this is a problem they're still working on. You can download individual files from the cloud drive for now.


Jon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]