tblancher / pymazon

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

download failes - Exception in thread Thread-2: #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use pymazon to download an album 
2.
3.

What is the expected output? What do you see instead?

Download should start, I get an error as follows :--

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

What version of the product are you using? On what operating system?

0.9.1

ubunutu 12.04 LTS

Please provide any additional information below.

Original issue reported on code.google.com by dsajfra...@gmail.com on 27 Sep 2012 at 9:52

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This issue seems relevant to Issue 56. I receive the above stated error when 
trying to download an album using the -c flag on the command line. Issue 56 is 
returned when pymazon is run in GUI but initiated from the command line.

Version Situation:
OS Distro/Version: Debian Squeeze 6.0.5
Python Version : 2.6.2
Pymazon Version: 0.9.1

Original comment by root.pac...@gmail.com on 1 Oct 2012 at 1:32

GoogleCodeExporter commented 8 years ago
This looks to be the same as Issue 53. I've posted a patch in that thread. You 
might try that.

Original comment by jsphs...@gmail.com on 8 Oct 2012 at 9:54