Created
February 12, 2016 14:41
-
-
Save skeetio/7b7b81fef755bc9092f7 to your computer and use it in GitHub Desktop.
B2 tqdm error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "./b2", line 1993, in <module> | |
main() | |
File "./b2", line 1979, in main | |
ct.upload_file(args) | |
File "./b2", line 1708, in upload_file | |
quiet=quiet, | |
File "./b2", line 594, in upload_file | |
response = post_file(upload_url, headers, local_file, progress_bar=not quiet,) | |
File "./b2", line 1425, in post_file | |
with OpenUrl(url, data_file, headers) as response_file: | |
File "./b2", line 1294, in __enter__ | |
self.file = urllib2.urlopen(request) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen | |
return opener.open(url, data, timeout) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open | |
response = self._open(req, data) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open | |
'_open', req) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain | |
result = func(*args) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open | |
context=self._context) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1194, in do_open | |
h.request(req.get_method(), req.get_selector(), req.data, headers) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1057, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1097, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 901, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 871, in send | |
datablock = data.read(blocksize) | |
File "./b2", line 1407, in read | |
self.update(len(data)) | |
File "/Users/bfindlay/.virtualenvs/tqdm/lib/python2.7/site-packages/tqdm/_tqdm.py", line 534, in update | |
raise ValueError("n ({0}) cannot be less than 1".format(n)) | |
ValueError: n (0) cannot be less than 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment