You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/hd/anaconda2/envs/gpu2/lib/python2.7/urllib.pyc in retrieve(self, url, filename, reporthook, data)
269 size = int(headers["Content-Length"])
270 if reporthook:
--> 271 reporthook(blocknum, bs, size)
272 while 1:
273 block = fp.read(bs)
/hd/anaconda2/envs/gpu2/lib/python2.7/site-packages/chakin/downloader.pyc in dlProgress(count, blockSize, totalSize)
31 if pbar.max_value is None:
32 pbar.max_value = totalSize
---> 33 pbar.start()
34
35 pbar.update(min(count * blockSize, totalSize))
/hd/anaconda2/envs/gpu2/lib/python2.7/site-packages/progressbar/bar.pyc in start(self, max_value, init)
655
656 if self.max_value is not base.UnknownLength and self.max_value < 0:
--> 657 raise ValueError('Value out of range')
658
659 self.start_time = self.last_update_time = datetime.now()
ValueError: Value out of range
The text was updated successfully, but these errors were encountered:
When I try to this:
chakin.download(number=2, save_dir='./')
or
chakin.download(number=21, save_dir='./')
It is not working.
ValueError Traceback (most recent call last)
in ()
----> 1 chakin.download(number=2, save_dir='./')
/hd/anaconda2/envs/gpu2/lib/python2.7/site-packages/chakin/downloader.pyc in download(number, save_dir)
39 os.makedirs(save_dir)
40 save_path = os.path.join(save_dir, file_name)
---> 41 path, _ = urlretrieve(url, save_path, reporthook=dlProgress)
42 pbar.finish()
43 return path
/hd/anaconda2/envs/gpu2/lib/python2.7/urllib.pyc in urlretrieve(url, filename, reporthook, data, context)
96 else:
97 opener = _urlopener
---> 98 return opener.retrieve(url, filename, reporthook, data)
99 def urlcleanup():
100 if _urlopener:
/hd/anaconda2/envs/gpu2/lib/python2.7/urllib.pyc in retrieve(self, url, filename, reporthook, data)
269 size = int(headers["Content-Length"])
270 if reporthook:
--> 271 reporthook(blocknum, bs, size)
272 while 1:
273 block = fp.read(bs)
/hd/anaconda2/envs/gpu2/lib/python2.7/site-packages/chakin/downloader.pyc in dlProgress(count, blockSize, totalSize)
31 if pbar.max_value is None:
32 pbar.max_value = totalSize
---> 33 pbar.start()
34
35 pbar.update(min(count * blockSize, totalSize))
/hd/anaconda2/envs/gpu2/lib/python2.7/site-packages/progressbar/bar.pyc in start(self, max_value, init)
655
656 if self.max_value is not base.UnknownLength and self.max_value < 0:
--> 657 raise ValueError('Value out of range')
658
659 self.start_time = self.last_update_time = datetime.now()
ValueError: Value out of range
The text was updated successfully, but these errors were encountered: