Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download an album #57

Open
GoogleCodeExporter opened this issue Dec 7, 2015 · 2 comments
Open

Unable to download an album #57

GoogleCodeExporter opened this issue Dec 7, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I tried from the amz for the Amazon Downloader (Amazon-MP3-1349625920.amz) and 
got :

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 54, in run
    self.do_work()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 63, in do_work
    data = self._download(obj, handle)
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 92, in _download
    fs = int(obj.filesize)
ValueError: invalid literal for int() with base 10: ''

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 173, in run
    self.finished_cb()
  File "/usr/lib/python2.5/site-packages/pymazon/cmd/ui.py", line 81, in finished_cb
    finished = pymazon_finished.format(settings.save_dir,
AttributeError: 'str' object has no attribute 'format'

I also tried with a file from the cloud player (Amazon-MP3-1349628327.amz):
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 54, in run
    self.do_work()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 63, in do_work
    data = self._download(obj, handle)
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 97, in _download
    self.parent.update(self.node)
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 148, in update
    self.update_cb(node)
  File "/usr/lib/python2.5/site-packages/pymazon/cmd/ui.py", line 95, in update_cb
    txt = u'\r{0} {1} - {2}'.format(artist, title, status).encode('UTF-8', 'ignore')
AttributeError: 'unicode' object has no attribute 'format'

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 173, in run
    self.finished_cb()
  File "/usr/lib/python2.5/site-packages/pymazon/cmd/ui.py", line 81, in finished_cb
    finished = pymazon_finished.format(settings.save_dir,
AttributeError: 'str' object has no attribute 'format'


And with a single song file (Amazon-MP3-1349628680.amz):
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 54, in run
    self.do_work()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 63, in do_work
    data = self._download(obj, handle)
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 97, in _download
    self.parent.update(self.node)
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 148, in update
    self.update_cb(node)
  File "/usr/lib/python2.5/site-packages/pymazon/cmd/ui.py", line 95, in update_cb
    txt = u'\r{0} {1} - {2}'.format(artist, title, status).encode('UTF-8', 'ignore')
AttributeError: 'unicode' object has no attribute 'format'

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/site-packages/pymazon/core/downloader.py", line 173, in run
    self.finished_cb()
  File "/usr/lib/python2.5/site-packages/pymazon/cmd/ui.py", line 81, in finished_cb
    finished = pymazon_finished.format(settings.save_dir,
AttributeError: 'str' object has no attribute 'format'



Original issue reported on code.google.com by [email protected] on 7 Oct 2012 at 4:57

Attachments:

@GoogleCodeExporter
Copy link
Author

It seems to be similar to Issue 54

Original comment by [email protected] on 7 Oct 2012 at 5:04

@GoogleCodeExporter
Copy link
Author

This looks similar to Issue 53. There's a patch over there that might help you 
for now.

Original comment by [email protected] on 8 Oct 2012 at 9:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant