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
Describe the bug / 描述 bug upload 进度条一闪而过,无进度
To Reproduce / 复现问题 任意
BaiduPCS-py upload 文件大于300M
Envrionment / 运行环境
Runing log / 运行日志
LOG_LEVEL=DEBUG BaiduPCS-Py upload Miniconda3-py310_24.4.0-0-Linux-x86_64.sh /wiwiMST 2024-06-06 01:05:34,953 | DEBUG | upload: ======== Uploading start ======== -> UploadType: UploadType.Many -> Size of from_to_list: 1 ⠋ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/100 bytes • ? • -:--:--2024-06-06 01:05:34,955 | DEBUG | upload: upload_many: Upload: index: 0, task_id: 0 ⠴ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/100 bytes • ? • -:--:--2024-06-06 01:05:36,188 | DEBUG | upload: _init_encrypt_io: encrypt_type: EncryptType.No, localpath: Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, remotepath: /wiwiMST/Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, encrypt_io_len: 133712233 ⠦ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0.0/127.5 MiB • ? • -:--:--2024-06-06 01:05:36,357 | DEBUG | upload: _rapid_upload: rapid_upload starts ⠋ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0.0/127.5 MiB • ? • -:--:--2024-06-06 01:05:36,658 | WARNING | upload: _rapid_upload: rapid_upload fails 2024-06-06 01:05:36,658 | WARNING | upload: _rapid_upload: unknown error: error_code: 31023, message: 输入参数错误 2024-06-06 01:05:36,658 | WARNING | upload: upload_file: fails: error: error_code: 31023, message: 输入参数错误, fail_count: 1 Traceback (most recent call last): File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/common/concurrent.py", line 25, in retry_it r = func(*args, **kwargs) File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 679, in upload_file ok = _rapid_upload( File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 297, in _rapid_upload raise err File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 257, in _rapid_upload api.rapid_upload_file( File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/baidupcs/api.py", line 168, in rapid_upload_file info = self._baidupcs.rapid_upload_file( File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/baidupcs/errors.py", line 152, in check raise err baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31023, message: 输入参数错误 2024-06-06 01:05:37,007 | DEBUG | upload: _init_encrypt_io: encrypt_type: EncryptType.No, localpath: Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, remotepath: /wiwiMST/Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, encrypt_io_len: 133712233 2024-06-06 01:05:37,175 | DEBUG | upload: _rapid_upload: rapid_upload starts 2024-06-06 01:05:37,488 | WARNING | upload: _rapid_upload: rapid_upload fails 2024-06-06 01:05:37,488 | WARNING | upload: _rapid_upload: unknown error: error_code: 31023, message: 输入参数错误 2024-06-06 01:05:37,488 | WARNING | upload: upload_file: fails: error: error_code: 31023, message: 输入参数错误, fail_count: 2
upload_many
_init_encrypt_io
_rapid_upload
upload_file
Additional context / 补充内容 Add any other context about the problem here. 在这里增加补充内容。 没有测试跳过秒传是否可以上传 如果可以提供API文档可以帮忙修复
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug / 描述 bug
upload 进度条一闪而过,无进度
To Reproduce / 复现问题
任意
BaiduPCS-py upload 文件大于300M
Envrionment / 运行环境
Runing log / 运行日志
LOG_LEVEL=DEBUG BaiduPCS-Py upload Miniconda3-py310_24.4.0-0-Linux-x86_64.sh /wiwiMST
2024-06-06 01:05:34,953 | DEBUG | upload: ======== Uploading start ========
-> UploadType: UploadType.Many
-> Size of from_to_list: 1
⠋ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/100 bytes • ? • -:--:--2024-06-06 01:05:34,955 | DEBUG | upload:
upload_many
: Upload: index: 0, task_id: 0⠴ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/100 bytes • ? • -:--:--2024-06-06 01:05:36,188 | DEBUG | upload:
_init_encrypt_io
: encrypt_type: EncryptType.No, localpath: Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, remotepath: /wiwiMST/Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, encrypt_io_len: 133712233⠦ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0.0/127.5 MiB • ? • -:--:--2024-06-06 01:05:36,357 | DEBUG | upload:
_rapid_upload
: rapid_upload starts⠋ Miniconda3-py310_24.4.0-0-Linux-x86_64.sh ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0.0/127.5 MiB • ? • -:--:--2024-06-06 01:05:36,658 | WARNING | upload:
_rapid_upload
: rapid_upload fails2024-06-06 01:05:36,658 | WARNING | upload:
_rapid_upload
: unknown error: error_code: 31023, message: 输入参数错误2024-06-06 01:05:36,658 | WARNING | upload:
upload_file
: fails: error: error_code: 31023, message: 输入参数错误, fail_count: 1Traceback (most recent call last):
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/common/concurrent.py", line 25, in retry_it
r = func(*args, **kwargs)
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 679, in upload_file
ok = _rapid_upload(
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 297, in _rapid_upload
raise err
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/commands/upload.py", line 257, in _rapid_upload
api.rapid_upload_file(
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/baidupcs/api.py", line 168, in rapid_upload_file
info = self._baidupcs.rapid_upload_file(
File "/home/jldz9/miniconda3/lib/python3.10/site-packages/baidupcs_py/baidupcs/errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31023, message: 输入参数错误
2024-06-06 01:05:37,007 | DEBUG | upload:
_init_encrypt_io
: encrypt_type: EncryptType.No, localpath: Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, remotepath: /wiwiMST/Miniconda3-py310_24.4.0-0-Linux-x86_64.sh, encrypt_io_len: 1337122332024-06-06 01:05:37,175 | DEBUG | upload:
_rapid_upload
: rapid_upload starts2024-06-06 01:05:37,488 | WARNING | upload:
_rapid_upload
: rapid_upload fails2024-06-06 01:05:37,488 | WARNING | upload:
_rapid_upload
: unknown error: error_code: 31023, message: 输入参数错误2024-06-06 01:05:37,488 | WARNING | upload:
upload_file
: fails: error: error_code: 31023, message: 输入参数错误, fail_count: 2Additional context / 补充内容
Add any other context about the problem here.
在这里增加补充内容。
没有测试跳过秒传是否可以上传
如果可以提供API文档可以帮忙修复
The text was updated successfully, but these errors were encountered: