Closed sqzr closed 9 years ago
/data/back/mysql/whcmc [root@iZ25prno3x3Z] [15:43] > ll total 408 -rw-r--r-- 1 root root 411717 Sep 25 15:40 2015-09-25-15:40:29.7z /data/back/mysql/whcmc [root@iZ25prno3x3Z] [15:43] > bypy syncup Token file: '/root/.bypy/bypy.json' Hash Cache file: '/root/.bypy/bypy.pickle' App root path at Baidu Yun '/apps/bypy' sys.stdin.encoding = UTF-8 sys.stdout.encoding = UTF-8 sys.stderr.encoding = UTF-8 ---- <E> [15:43:37] Waiting 10 seconds before retrying...
bypy syncup -d Token file: '/root/.bypy/bypy.json' Hash Cache file: '/root/.bypy/bypy.pickle' App root path at Baidu Yun '/apps/bypy' sys.stdin.encoding = UTF-8 sys.stdout.encoding = UTF-8 sys.stderr.encoding = UTF-8 ---- <D> Token loaded: <D> {u'access_token': u'xxx', u'expires_in': 2592000, u'session_secret': u'xxx', u'scope': u'basic netdisk', u'session_key': u'xxxx', u'refresh_token': u'22.e4d094552fa949cd10e18d5adb24f4ef.315360000.1758526041.523011938-1572671'} <D> Error loading BDUSS: <D> Traceback (most recent call last): File "/usr/local/bypy/bypy.py", line 1537, in __load_local_bduss with open(BDUSSPath, 'rb') as infile: IOError: [Errno 2] No such file or directory: u'/root/.bypy/bypy.bduss' ...... <D> local type: F <D> '2015-09-25-15:40:29.7z' is being RapidUploaded. <D> [16:18:05] Cache hit for file '2015-09-25-15:40:29.7z', md5: 169a22d96ef313e53323ce904d543e67 size: 411717 mtime: 1443166830 <D> [16:18:05] Cache hit for file '2015-09-25-15:40:29.7z', slice_md5: f51271eb1c02ac6d0f3d5f909c9374d6 size: 411717 mtime: 1443166830 <D> [16:18:05] Cache hit for file '2015-09-25-15:40:29.7z', crc32: 3311319768 size: 411717 mtime: 1443166830 <D> RapidUploading Length: 411717 MD5: 169a22d96ef313e53323ce904d543e67, Slice-MD5: f51271eb1c02ac6d0f3d5f909c9374d6, CRC: 0xc55ebad8 <D> POST https://pcs.baidu.com/rest/2.0/pcs/file <D> actargs: None <D> Params: {u'slice-md5': 'f51271eb1c02ac6d0f3d5f909c9374d6', u'content-length': 411717, u'ondup': u'overwrite', u'content-md5': '169a22d96ef313e53323ce904d543e67', u'content-crc32': '0xc55ebad8', u'path': u'/apps/bypy/2015-09-25-15:40:29.7z', u'method': u'rapidupload'} <D> HTTP Status Code: 400 <E> [16:18:05] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' None <E> [16:18:05] Function: __rapidupload_file_act <E> [16:18:05] Website parameters: {u'slice-md5': 'f51271eb1c02ac6d0f3d5f909c9374d6', u'content-length': 411717, u'ondup': u'overwrite', u'content-md5': '169a22d96ef313e53323ce904d543e67', u'content-crc32': '0xc55ebad8', u'path': u'/apps/bypy/2015-09-25-15:40:29.7z', u'method': u'rapidupload'} <E> [16:18:05] HTTP Response Status Code: 400 <E> [16:18:05] Error code: 31062 Error Description: file name is invalid <E> [16:18:05] Website returned: {"error_code":31062,"error_msg":"file name is invalid","request_id":3054465562}
如果文件名不包含":" 就能正常
手动上传到百度云测试了下,百度云确实文件名不能为一些特殊符号..
谢谢反馈,好的,那我就关了这个issue。
如果文件名不包含":" 就能正常