We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[root@panzhengyu video]# bypy -dv upload Loading Hash Cache File '/root/.bypy/bypy.hashcache.json'...
Verbose level = 1 Debug level = 1 Config directory: '/root/.bypy' Token file: '/root/.bypy/bypy.json' Hash Cache file: '/root/.bypy/bypy.hashcache.json' App root path at Baidu Yun '/apps/bypy' sys.stdin.encoding = UTF-8 sys.stdout.encoding = UTF-8
Token loaded: {u'access_token': u'21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671', u'expires_in': 2592000, u'session_secret': u'6572efb86be28fcf6e7621d95ac7f2f4', u'scope': u'basic netdisk', u'session_key': u'9mnRJ9PxaJqGuDcx813wvTd3wRV0y/8ZUixRXM+MbiVFQH6irbq/RyYJUX3fHU54eWfGkkFVXtFQuGOvStMMEkeiIsfyD9xv', u'refresh_token': u'22.e2cb52878a5a5999d572beffd8e1288a.315360000.1787731552.553819326-1572671'} localpath not set, set it to current directory '' Uploading directory '/root/video' recursively Uploading directory '/root/video' to '/apps/bypy' __get_file_info(): rdir : /apps/bypy | rfile: test.mp4 GET https://pcs.baidu.com/rest/2.0/pcs/file actargs: /apps/bypy/test.mp4 Params: {u'path': u'/apps/bypy', u'order': u'asc', u'method': u'list', u'by': u'name'} Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?access_token=21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671&path=%2Fapps%2Fbypy&by=name&order=asc&method=list HTTP Status Code: 200 200 OK, processing action List json: {u'list': [{u'isdir': 0, u'ctime': 1472371861, u'fs_id': 1113884455745618L, u'mtime': 1472371861, u'path': u'/apps/bypy/pan.mp4', u'md5': u'e2b2a9f571bcaac1575c127cfc8f92a5', u'size': 539641579}], u'request_id': 5588377435963783638L} '/root/video/test.mp4' is being RapidUploaded. [10:52:08] Cache hit for file '/root/video/test.mp4', md5: 74ac4eebec631252d8be311c221e77dd size: 249855172 mtime: 1472247599 [10:52:08] Cache hit for file '/root/video/test.mp4', slice_md5: ec209e3716a74f9d9ea60c1108cd86ac size: 249855172 mtime: 1472247599 [10:52:08] Cache hit for file '/root/video/test.mp4', crc32: 121478153 size: 249855172 mtime: 1472247599 RapidUploading Length: 249855172 MD5: 74ac4eebec631252d8be311c221e77dd, Slice-MD5: ec209e3716a74f9d9ea60c1108cd86ac, CRC: 0x73d9c09 POST https://pcs.baidu.com/rest/2.0/pcs/file actargs: None Params: {u'slice-md5': u'ec209e3716a74f9d9ea60c1108cd86ac', u'content-length': 249855172L, u'ondup': u'overwrite', u'content-md5': u'74ac4eebec631252d8be311c221e77dd', u'content-crc32': '0x73d9c09', u'path': u'/apps/bypy/test.mp4', u'method': u'rapidupload'} Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?slice-md5=ec209e3716a74f9d9ea60c1108cd86ac&access_token=21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671&content-length=249855172&ondup=overwrite&content-crc32=0x73d9c09&path=%2Fapps%2Fbypy%2Ftest.mp4&method=rapidupload&content-md5=74ac4eebec631252d8be311c221e77dd HTTP Status Code: 404 Website returned JSON: {u'error_code': 31079, u'error_msg': u'file md5 not found, you should use upload api to upload the whole file.', u'request_id': 5588377685052240196L} MD5 not found, rapidupload failed '/root/video/test.mp4' can't be RapidUploaded, now trying normal uploading. '/root/video/test.mp4' is being slicing uploaded. Slice size: 20971520, Pieces: 12 Uploading MD5 slice: 09dd15eeb5d39555b2023d49e36678c0, #1 / 12 POST https://c.pcs.baidu.com/rest/2.0/pcs/file actargs: /apps/bypy/test.mp4 Params: {u'type': u'tmpfile', u'method': u'upload'} [10:54:03] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file' [10:54:03] Exception: <class 'requests.exceptions.ConnectionError'> - ('Connection aborted.', timeout()) Stack: File "/usr/local/bin/bypy.py", line 4469, in main() File "/usr/local/bin/bypy.py", line 4448, in main result = getattr(by, args.command[0])(_uargs) File "/usr/local/bin/bypy.py", line 2666, in upload return self.__upload_dir(lpath, rpath, ondup) File "/usr/local/bin/bypy.py", line 2579, in __upload_dir thisresult = self.__walk_upload(localpath, remotepath, ondup, walk) File "/usr/local/bin/bypy.py", line 2563, in __walk_upload fileresult = self.__upload_file(lfile, rfile, ondup) File "/usr/local/bin/bypy.py", line 2615, in __upload_file result = self.__upload_file_slices(localpath, remotepath, ondup) File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices ec = self.__upload_slice(remotepath) File "/usr/local/bin/bypy.py", line 2348, in __upload_slice files = { 'file' : ('file', self.__current_slice) } ) File "/usr/local/bin/bypy.py", line 1845, in __post return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs) File "/usr/local/bin/bypy.py", line 1820, in __request result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew) File "/usr/local/bin/bypy.py", line 1774, in __request_work self.__dump_exception(ex, url, pars, r, act) File "/usr/local/bin/bypy.py", line 1593, in __dump_exception perr(formatex(ex)) File "/usr/local/bin/bypy.py", line 494, in formatex type(ex), ex, ''.join(traceback.format_stack()))
[10:54:03] Function: __upload_slice_act [10:54:03] Website parameters: {u'type': u'tmpfile', u'method': u'upload'} [10:54:03] Waiting 10 seconds before retrying... [10:54:13] Request Try #2 / 5 POST https://c.pcs.baidu.com/rest/2.0/pcs/file actargs: /apps/bypy/test.mp4 Params: {u'type': u'tmpfile', u'method': u'upload'} [10:55:46] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file' [10:55:46] Exception: <class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET') Stack: File "/usr/local/bin/bypy.py", line 4469, in main() File "/usr/local/bin/bypy.py", line 4448, in main result = getattr(by, args.command[0])(_uargs) File "/usr/local/bin/bypy.py", line 2666, in upload return self.__upload_dir(lpath, rpath, ondup) File "/usr/local/bin/bypy.py", line 2579, in __upload_dir thisresult = self.__walk_upload(localpath, remotepath, ondup, walk) File "/usr/local/bin/bypy.py", line 2563, in __walk_upload fileresult = self.__upload_file(lfile, rfile, ondup) File "/usr/local/bin/bypy.py", line 2615, in __upload_file result = self.__upload_file_slices(localpath, remotepath, ondup) File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices ec = self.__upload_slice(remotepath) File "/usr/local/bin/bypy.py", line 2348, in __upload_slice files = { 'file' : ('file', self.__current_slice) } ) File "/usr/local/bin/bypy.py", line 1845, in __post return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs) File "/usr/local/bin/bypy.py", line 1820, in __request result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew) File "/usr/local/bin/bypy.py", line 1795, in __request_work self.__dump_exception(ex, url, pars, r, act) File "/usr/local/bin/bypy.py", line 1593, in __dump_exception perr(formatex(ex)) File "/usr/local/bin/bypy.py", line 494, in formatex type(ex), ex, ''.join(traceback.format_stack()))
[10:55:46] Function: __upload_slice_act [10:55:46] Website parameters: {u'type': u'tmpfile', u'method': u'upload'} [10:55:46] Waiting 20 seconds before retrying... [10:56:06] Request Try #3 / 5 POST https://c.pcs.baidu.com/rest/2.0/pcs/file actargs: /apps/bypy/test.mp4 Params: {u'type': u'tmpfile', u'method': u'upload'} [10:58:44] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file' [10:58:44] Exception: <class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET') Stack: File "/usr/local/bin/bypy.py", line 4469, in main() File "/usr/local/bin/bypy.py", line 4448, in main result = getattr(by, args.command[0])(_uargs) File "/usr/local/bin/bypy.py", line 2666, in upload return self.__upload_dir(lpath, rpath, ondup) File "/usr/local/bin/bypy.py", line 2579, in __upload_dir thisresult = self.__walk_upload(localpath, remotepath, ondup, walk) File "/usr/local/bin/bypy.py", line 2563, in __walk_upload fileresult = self.__upload_file(lfile, rfile, ondup) File "/usr/local/bin/bypy.py", line 2615, in __upload_file result = self.__upload_file_slices(localpath, remotepath, ondup) File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices ec = self.__upload_slice(remotepath) File "/usr/local/bin/bypy.py", line 2348, in __upload_slice files = { 'file' : ('file', self.__current_slice) } ) File "/usr/local/bin/bypy.py", line 1845, in __post return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs) File "/usr/local/bin/bypy.py", line 1820, in __request result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew) File "/usr/local/bin/bypy.py", line 1795, in __request_work self.__dump_exception(ex, url, pars, r, act) File "/usr/local/bin/bypy.py", line 1593, in __dump_exception perr(formatex(ex)) File "/usr/local/bin/bypy.py", line 494, in formatex type(ex), ex, ''.join(traceback.format_stack()))
[10:58:44] Function: __upload_slice_act [10:58:44] Website parameters: {u'type': u'tmpfile', u'method': u'upload'} [10:58:44] Waiting 30 seconds before retrying... [10:59:14] Request Try #4 / 5 POST https://c.pcs.baidu.com/rest/2.0/pcs/file actargs: /apps/bypy/test.mp4 Params: {u'type': u'tmpfile', u'method': u'upload'} [11:00:37] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file' [11:00:37] Exception: <class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET') Stack: File "/usr/local/bin/bypy.py", line 4469, in main() File "/usr/local/bin/bypy.py", line 4448, in main result = getattr(by, args.command[0])(_uargs) File "/usr/local/bin/bypy.py", line 2666, in upload return self.__upload_dir(lpath, rpath, ondup) File "/usr/local/bin/bypy.py", line 2579, in __upload_dir thisresult = self.__walk_upload(localpath, remotepath, ondup, walk) File "/usr/local/bin/bypy.py", line 2563, in __walk_upload fileresult = self.__upload_file(lfile, rfile, ondup) File "/usr/local/bin/bypy.py", line 2615, in __upload_file result = self.__upload_file_slices(localpath, remotepath, ondup) File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices ec = self.__upload_slice(remotepath) File "/usr/local/bin/bypy.py", line 2348, in __upload_slice files = { 'file' : ('file', self.__current_slice) } ) File "/usr/local/bin/bypy.py", line 1845, in __post return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs) File "/usr/local/bin/bypy.py", line 1820, in __request result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew) File "/usr/local/bin/bypy.py", line 1795, in __request_work self.__dump_exception(ex, url, pars, r, act) File "/usr/local/bin/bypy.py", line 1593, in __dump_exception perr(formatex(ex)) File "/usr/local/bin/bypy.py", line 494, in formatex type(ex), ex, ''.join(traceback.format_stack()))
[11:00:37] Function: __upload_slice_act [11:00:37] Website parameters: {u'type': u'tmpfile', u'method': u'upload'} [11:00:37] Waiting 40 seconds before retrying... [11:01:17] Request Try #5 / 5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[root@panzhengyu video]# bypy -dv upload
Loading Hash Cache File '/root/.bypy/bypy.hashcache.json'...
Hash Cache File loaded.
Verbose level = 1
Debug level = 1
Config directory: '/root/.bypy'
Token file: '/root/.bypy/bypy.json'
Hash Cache file: '/root/.bypy/bypy.hashcache.json'
App root path at Baidu Yun '/apps/bypy'
sys.stdin.encoding = UTF-8
sys.stdout.encoding = UTF-8
sys.stderr.encoding = UTF-8
Token loaded:
{u'access_token': u'21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671', u'expires_in': 2592000, u'session_secret': u'6572efb86be28fcf6e7621d95ac7f2f4', u'scope': u'basic netdisk', u'session_key': u'9mnRJ9PxaJqGuDcx813wvTd3wRV0y/8ZUixRXM+MbiVFQH6irbq/RyYJUX3fHU54eWfGkkFVXtFQuGOvStMMEkeiIsfyD9xv', u'refresh_token': u'22.e2cb52878a5a5999d572beffd8e1288a.315360000.1787731552.553819326-1572671'}
localpath not set, set it to current directory ''
Uploading directory '/root/video' recursively
Uploading directory '/root/video' to '/apps/bypy'
__get_file_info(): rdir : /apps/bypy | rfile: test.mp4
GET https://pcs.baidu.com/rest/2.0/pcs/file
actargs: /apps/bypy/test.mp4
Params: {u'path': u'/apps/bypy', u'order': u'asc', u'method': u'list', u'by': u'name'}
Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?access_token=21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671&path=%2Fapps%2Fbypy&by=name&order=asc&method=list
HTTP Status Code: 200
200 OK, processing action
List json: {u'list': [{u'isdir': 0, u'ctime': 1472371861, u'fs_id': 1113884455745618L, u'mtime': 1472371861, u'path': u'/apps/bypy/pan.mp4', u'md5': u'e2b2a9f571bcaac1575c127cfc8f92a5', u'size': 539641579}], u'request_id': 5588377435963783638L}
'/root/video/test.mp4' is being RapidUploaded.
[10:52:08] Cache hit for file '/root/video/test.mp4',
md5: 74ac4eebec631252d8be311c221e77dd
size: 249855172
mtime: 1472247599
[10:52:08] Cache hit for file '/root/video/test.mp4',
slice_md5: ec209e3716a74f9d9ea60c1108cd86ac
size: 249855172
mtime: 1472247599
[10:52:08] Cache hit for file '/root/video/test.mp4',
crc32: 121478153
size: 249855172
mtime: 1472247599
RapidUploading Length: 249855172 MD5: 74ac4eebec631252d8be311c221e77dd, Slice-MD5: ec209e3716a74f9d9ea60c1108cd86ac, CRC: 0x73d9c09
POST https://pcs.baidu.com/rest/2.0/pcs/file
actargs: None
Params: {u'slice-md5': u'ec209e3716a74f9d9ea60c1108cd86ac', u'content-length': 249855172L, u'ondup': u'overwrite', u'content-md5': u'74ac4eebec631252d8be311c221e77dd', u'content-crc32': '0x73d9c09', u'path': u'/apps/bypy/test.mp4', u'method': u'rapidupload'}
Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?slice-md5=ec209e3716a74f9d9ea60c1108cd86ac&access_token=21.c42629ef26118a49b424b93452a2b112.2592000.1474963552.553819326-1572671&content-length=249855172&ondup=overwrite&content-crc32=0x73d9c09&path=%2Fapps%2Fbypy%2Ftest.mp4&method=rapidupload&content-md5=74ac4eebec631252d8be311c221e77dd
HTTP Status Code: 404
Website returned JSON: {u'error_code': 31079, u'error_msg': u'file md5 not found, you should use upload api to upload the whole file.', u'request_id': 5588377685052240196L}
MD5 not found, rapidupload failed
'/root/video/test.mp4' can't be RapidUploaded, now trying normal uploading.
'/root/video/test.mp4' is being slicing uploaded.
Slice size: 20971520, Pieces: 12
Uploading MD5 slice: 09dd15eeb5d39555b2023d49e36678c0, #1 / 12
POST https://c.pcs.baidu.com/rest/2.0/pcs/file
actargs: /apps/bypy/test.mp4
Params: {u'type': u'tmpfile', u'method': u'upload'}
[10:54:03] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file'
[10:54:03] Exception:
<class 'requests.exceptions.ConnectionError'> - ('Connection aborted.', timeout())
Stack:
File "/usr/local/bin/bypy.py", line 4469, in
main()
File "/usr/local/bin/bypy.py", line 4448, in main
result = getattr(by, args.command[0])(_uargs)
File "/usr/local/bin/bypy.py", line 2666, in upload
return self.__upload_dir(lpath, rpath, ondup)
File "/usr/local/bin/bypy.py", line 2579, in __upload_dir
thisresult = self.__walk_upload(localpath, remotepath, ondup, walk)
File "/usr/local/bin/bypy.py", line 2563, in __walk_upload
fileresult = self.__upload_file(lfile, rfile, ondup)
File "/usr/local/bin/bypy.py", line 2615, in __upload_file
result = self.__upload_file_slices(localpath, remotepath, ondup)
File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices
ec = self.__upload_slice(remotepath)
File "/usr/local/bin/bypy.py", line 2348, in __upload_slice
files = { 'file' : ('file', self.__current_slice) } )
File "/usr/local/bin/bypy.py", line 1845, in __post
return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs)
File "/usr/local/bin/bypy.py", line 1820, in __request
result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew)
File "/usr/local/bin/bypy.py", line 1774, in __request_work
self.__dump_exception(ex, url, pars, r, act)
File "/usr/local/bin/bypy.py", line 1593, in __dump_exception
perr(formatex(ex))
File "/usr/local/bin/bypy.py", line 494, in formatex
type(ex), ex, ''.join(traceback.format_stack()))
[10:54:03] Function: __upload_slice_act
[10:54:03] Website parameters: {u'type': u'tmpfile', u'method': u'upload'}
[10:54:03] Waiting 10 seconds before retrying...
[10:54:13] Request Try #2 / 5
POST https://c.pcs.baidu.com/rest/2.0/pcs/file
actargs: /apps/bypy/test.mp4
Params: {u'type': u'tmpfile', u'method': u'upload'}
[10:55:46] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file'
[10:55:46] Exception:
<class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET')
Stack:
File "/usr/local/bin/bypy.py", line 4469, in
main()
File "/usr/local/bin/bypy.py", line 4448, in main
result = getattr(by, args.command[0])(_uargs)
File "/usr/local/bin/bypy.py", line 2666, in upload
return self.__upload_dir(lpath, rpath, ondup)
File "/usr/local/bin/bypy.py", line 2579, in __upload_dir
thisresult = self.__walk_upload(localpath, remotepath, ondup, walk)
File "/usr/local/bin/bypy.py", line 2563, in __walk_upload
fileresult = self.__upload_file(lfile, rfile, ondup)
File "/usr/local/bin/bypy.py", line 2615, in __upload_file
result = self.__upload_file_slices(localpath, remotepath, ondup)
File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices
ec = self.__upload_slice(remotepath)
File "/usr/local/bin/bypy.py", line 2348, in __upload_slice
files = { 'file' : ('file', self.__current_slice) } )
File "/usr/local/bin/bypy.py", line 1845, in __post
return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs)
File "/usr/local/bin/bypy.py", line 1820, in __request
result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew)
File "/usr/local/bin/bypy.py", line 1795, in __request_work
self.__dump_exception(ex, url, pars, r, act)
File "/usr/local/bin/bypy.py", line 1593, in __dump_exception
perr(formatex(ex))
File "/usr/local/bin/bypy.py", line 494, in formatex
type(ex), ex, ''.join(traceback.format_stack()))
[10:55:46] Function: __upload_slice_act
[10:55:46] Website parameters: {u'type': u'tmpfile', u'method': u'upload'}
[10:55:46] Waiting 20 seconds before retrying...
[10:56:06] Request Try #3 / 5
POST https://c.pcs.baidu.com/rest/2.0/pcs/file
actargs: /apps/bypy/test.mp4
Params: {u'type': u'tmpfile', u'method': u'upload'}
[10:58:44] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file'
[10:58:44] Exception:
<class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET')
Stack:
File "/usr/local/bin/bypy.py", line 4469, in
main()
File "/usr/local/bin/bypy.py", line 4448, in main
result = getattr(by, args.command[0])(_uargs)
File "/usr/local/bin/bypy.py", line 2666, in upload
return self.__upload_dir(lpath, rpath, ondup)
File "/usr/local/bin/bypy.py", line 2579, in __upload_dir
thisresult = self.__walk_upload(localpath, remotepath, ondup, walk)
File "/usr/local/bin/bypy.py", line 2563, in __walk_upload
fileresult = self.__upload_file(lfile, rfile, ondup)
File "/usr/local/bin/bypy.py", line 2615, in __upload_file
result = self.__upload_file_slices(localpath, remotepath, ondup)
File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices
ec = self.__upload_slice(remotepath)
File "/usr/local/bin/bypy.py", line 2348, in __upload_slice
files = { 'file' : ('file', self.__current_slice) } )
File "/usr/local/bin/bypy.py", line 1845, in __post
return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs)
File "/usr/local/bin/bypy.py", line 1820, in __request
result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew)
File "/usr/local/bin/bypy.py", line 1795, in __request_work
self.__dump_exception(ex, url, pars, r, act)
File "/usr/local/bin/bypy.py", line 1593, in __dump_exception
perr(formatex(ex))
File "/usr/local/bin/bypy.py", line 494, in formatex
type(ex), ex, ''.join(traceback.format_stack()))
[10:58:44] Function: __upload_slice_act
[10:58:44] Website parameters: {u'type': u'tmpfile', u'method': u'upload'}
[10:58:44] Waiting 30 seconds before retrying...
[10:59:14] Request Try #4 / 5
POST https://c.pcs.baidu.com/rest/2.0/pcs/file
actargs: /apps/bypy/test.mp4
Params: {u'type': u'tmpfile', u'method': u'upload'}
[11:00:37] Error accessing 'https://c.pcs.baidu.com/rest/2.0/pcs/file'
[11:00:37] Exception:
<class 'OpenSSL.SSL.SysCallError'> - (104, 'ECONNRESET')
Stack:
File "/usr/local/bin/bypy.py", line 4469, in
main()
File "/usr/local/bin/bypy.py", line 4448, in main
result = getattr(by, args.command[0])(_uargs)
File "/usr/local/bin/bypy.py", line 2666, in upload
return self.__upload_dir(lpath, rpath, ondup)
File "/usr/local/bin/bypy.py", line 2579, in __upload_dir
thisresult = self.__walk_upload(localpath, remotepath, ondup, walk)
File "/usr/local/bin/bypy.py", line 2563, in __walk_upload
fileresult = self.__upload_file(lfile, rfile, ondup)
File "/usr/local/bin/bypy.py", line 2615, in __upload_file
result = self.__upload_file_slices(localpath, remotepath, ondup)
File "/usr/local/bin/bypy.py", line 2421, in __upload_file_slices
ec = self.__upload_slice(remotepath)
File "/usr/local/bin/bypy.py", line 2348, in __upload_slice
files = { 'file' : ('file', self.__current_slice) } )
File "/usr/local/bin/bypy.py", line 1845, in __post
return self.__request(url, pars, act, 'POST', actargs, retry, addtoken, dumpex, *_kwargs)
File "/usr/local/bin/bypy.py", line 1820, in __request
result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew)
File "/usr/local/bin/bypy.py", line 1795, in __request_work
self.__dump_exception(ex, url, pars, r, act)
File "/usr/local/bin/bypy.py", line 1593, in __dump_exception
perr(formatex(ex))
File "/usr/local/bin/bypy.py", line 494, in formatex
type(ex), ex, ''.join(traceback.format_stack()))
[11:00:37] Function: __upload_slice_act
[11:00:37] Website parameters: {u'type': u'tmpfile', u'method': u'upload'}
[11:00:37] Waiting 40 seconds before retrying...
[11:01:17] Request Try #5 / 5
The text was updated successfully, but these errors were encountered: