关于save操作,--no-show-vcode, --NV 不显示验证码,如果需要验证码则报错
ldj46118 opened this issue · 7 comments
请问已经升级到最新版,save操作还是提示请输入验证码,如果规避这个验证码?他的触发机制是啥呢?
WARNNING: Please to search the similar bugs, before you report a bug. Don't report a similar bug which existed.
注意:在你提交一份报告前,请先搜索是否存在类似的报告。请勿重复提交内容相同的报告。
Prerequisites / 报告前提
Before you report a bug, please let the bug to be reproduced at the latest verion of BaiduPCS-Py.
在你提交报告前,请在 BaiduPCS-Py 的最新版本上复现问题。
At sometimes, there are errors occured by an expired cookie. Before you commit the report, please to check whether cookies are expired.
有时一些错误是由于某个 cookie 超期导致的。在你提交报告前,请先检查你的 cookies 是否超期。
Describe the bug / 描述 bug
A clear and concise description of what the bug is.
请清楚的描述你遇到的问题。
To Reproduce / 复现问题
Steps to reproduce the behavior:
- Do '...'
- Do '....'
- ...
- See error
按照下面的步骤可以复现问题:
- 做 '...'
- 做 '...'
- ...
- 问题出现
Screenshots / 问题截图
If applicable, add screenshots to help explain your problem.
Don't show
BDUSS
andcookies
.
如果可能,请附加问题截图。
不要出现
BDUSS
和cookies
。
Envrionment / 运行环境
- OS: [e.g. Windows]
- Python [e.g. Python3.8]
- BaiduPCS-Py Version [e.g. 0.6.9]
Runing log / 运行日志
Please follow steps to paste the content of file ~/.baidupcs-py/running.log
.
- Remove the file
~/.baidupcs-py/running.log
if it exists. - Run the command where the bug occurs with envrionment variable
LOG_LEVEL=DEBUG
.
e.g.LOG_LEVEL=DEBUG BaiduPCS-Py upload /abc /
- Paste the content of file
~/.baidupcs-py/running.log
after the bug occurs.
Don't show
BDUSS
andcookies
.
请按照下面的步骤贴出运行日志 ~/.baidupcs-py/running.log
中的内容。
- 删除
~/.baidupcs-py/running.log
,如果存在。 - 在问题发生的命令前加入环境变量
LOG_LEVEL=DEBUG
。
例如:LOG_LEVEL=DEBUG BaiduPCS-Py upload /abc /
- 在问题出现后,贴出
~/.baidupcs-py/running.log
中的内容。
不要出现
BDUSS
和cookies
。
Additional context / 补充内容
Add any other context about the problem here.
在这里增加补充内容。
我无法复现你的问题。贴一下报错的内容。
提示输入验证码,网盘cookie还会变,重新用新cookie登录,可以转存几个,然后又要输入验证码。
2022-08-10 21:23:42,082 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-10 21:23:42,358 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-10 21:23:42,611 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-10 21:23:42,717 | DEBUG | app: app
: _teardown: start
2022-08-10 21:23:42,718 | DEBUG | app: app
: _teardown: end
2022-08-10 21:23:42,781 | DEBUG | app: app
: _teardown: start
2022-08-10 21:23:42,781 | DEBUG | app: app
: _teardown: end
2022-08-10 21:23:43,092 | DEBUG | app: app
: _teardown: start
2022-08-10 21:23:43,093 | DEBUG | app: app
: _teardown: end
2022-08-10 21:24:28,973 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 77, in save_shared
shared_paths = deque(api.shared_paths(shared_url))
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 416, in shared_paths
info = self._baidupcs.shared_paths(shared_url)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 138, in check
info = func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\pcs.py", line 790, in shared_paths
assert self._stoken, "STOKEN
is not in cookies
"
AssertionError: STOKEN
is not in cookies
2022-08-10 21:24:29,435 | DEBUG | app: app
: _teardown: start
2022-08-10 21:24:29,435 | DEBUG | app: app
: _teardown: end
2022-08-10 21:24:50,147 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 77, in save_shared
shared_paths = deque(api.shared_paths(shared_url))
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 416, in shared_paths
info = self._baidupcs.shared_paths(shared_url)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 138, in check
info = func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\pcs.py", line 790, in shared_paths
assert self._stoken, "STOKEN
is not in cookies
"
AssertionError: STOKEN
is not in cookies
2022-08-10 21:24:50,529 | DEBUG | app: app
: _teardown: start
2022-08-10 21:24:50,529 | DEBUG | app: app
: _teardown: end
2022-08-10 21:25:05,933 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 77, in save_shared
shared_paths = deque(api.shared_paths(shared_url))
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 416, in shared_paths
info = self._baidupcs.shared_paths(shared_url)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 138, in check
info = func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\pcs.py", line 790, in shared_paths
assert self._stoken, "STOKEN
is not in cookies
"
AssertionError: STOKEN
is not in cookies
2022-08-10 21:25:06,296 | DEBUG | app: app
: _teardown: start
2022-08-10 21:25:06,296 | DEBUG | app: app
: _teardown: end
2022-08-10 21:31:09,777 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 77, in save_shared
shared_paths = deque(api.shared_paths(shared_url))
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 416, in shared_paths
info = self._baidupcs.shared_paths(shared_url)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 138, in check
info = func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\pcs.py", line 790, in shared_paths
assert self._stoken, "STOKEN
is not in cookies
"
AssertionError: STOKEN
is not in cookies
2022-08-10 21:31:10,319 | DEBUG | app: app
: _teardown: start
2022-08-10 21:31:10,319 | DEBUG | app: app
: _teardown: end
2022-08-10 21:46:47,895 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-10 21:46:48,148 | DEBUG | app: app
: _teardown: start
2022-08-10 21:46:48,149 | DEBUG | app: app
: _teardown: end
2022-08-10 21:47:01,919 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-10 21:47:02,258 | DEBUG | app: app
: _teardown: start
2022-08-10 21:47:02,258 | DEBUG | app: app
: _teardown: end
2022-08-10 21:48:25,826 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-10 21:48:26,076 | DEBUG | app: app
: _teardown: start
2022-08-10 21:48:26,076 | DEBUG | app: app
: teardown: end
2022-08-10 21:48:26,343 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "e:\python\lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "e:\python\lib\json_init.py", line 357, in loads
return _default_decoder.decode(s)
File "e:\python\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "e:\python\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 466, in useradd
account = Account.from_bduss(bduss, cookies=cookies, account_name=account_name)
File "e:\python\lib\site-packages\baidupcs_py\app\account.py", line 45, in from_bduss
user = api.user_info()
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 477, in user_info
info = self._baidupcs.user_info()
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 138, in check
info = func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\pcs.py", line 915, in user_info
return resp.json()
File "e:\python\lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2022-08-10 21:48:26,826 | DEBUG | app: app
: _teardown: start
2022-08-10 21:48:26,826 | DEBUG | app: app
: _teardown: end
2022-08-10 21:48:41,133 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-10 21:48:41,457 | DEBUG | app: app
: _teardown: start
2022-08-10 21:48:41,457 | DEBUG | app: app
: _teardown: end
实际是有stoken,是火狐cookie那行全部内容都加进去了,而且是刚刚获取的
2022-08-13 13:19:57,426 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:19:57,793 | DEBUG | app: app
: _teardown: start
2022-08-13 13:19:57,793 | DEBUG | app: app
: _teardown: end
2022-08-13 13:20:11,150 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:20:11,485 | DEBUG | app: app
: _teardown: start
2022-08-13 13:20:11,485 | DEBUG | app: app
: _teardown: end
2022-08-13 13:20:17,196 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:20:17,488 | DEBUG | app: app
: _teardown: start
2022-08-13 13:20:17,489 | DEBUG | app: app
: _teardown: end
2022-08-13 13:20:32,751 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:20:33,063 | DEBUG | app: app
: _teardown: start
2022-08-13 13:20:33,063 | DEBUG | app: app
: _teardown: end
2022-08-13 13:22:26,731 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:22:27,104 | DEBUG | app: app
: _teardown: start
2022-08-13 13:22:27,104 | DEBUG | app: app
: _teardown: end
2022-08-13 13:22:50,004 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:22:50,385 | DEBUG | app: app
: _teardown: start
2022-08-13 13:22:50,385 | DEBUG | app: app
: _teardown: end
2022-08-13 13:36:24,647 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:36:25,056 | DEBUG | app: app
: _teardown: start
2022-08-13 13:36:25,057 | DEBUG | app: app
: _teardown: end
2022-08-13 13:36:29,743 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:36:30,209 | DEBUG | app: app
: _teardown: start
2022-08-13 13:36:30,210 | DEBUG | app: app
: _teardown: end
2022-08-13 13:37:05,629 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:37:05,861 | DEBUG | app: app
: _teardown: start
2022-08-13 13:37:05,862 | DEBUG | app: app
: _teardown: end
2022-08-13 13:37:19,662 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:37:19,983 | DEBUG | app: app
: _teardown: start
2022-08-13 13:37:19,983 | DEBUG | app: app
: _teardown: end
2022-08-13 13:38:21,411 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:38:21,649 | DEBUG | app: app
: _teardown: start
2022-08-13 13:38:21,650 | DEBUG | app: app
: _teardown: end
2022-08-13 13:38:29,750 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:38:30,001 | DEBUG | app: app
: _teardown: start
2022-08-13 13:38:30,001 | DEBUG | app: app
: _teardown: end
2022-08-13 13:38:45,742 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:38:46,059 | DEBUG | app: app
: _teardown: start
2022-08-13 13:38:46,059 | DEBUG | app: app
: _teardown: end
2022-08-13 13:41:17,599 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:41:18,251 | DEBUG | app: app
: _teardown: start
2022-08-13 13:41:18,255 | DEBUG | app: app
: _teardown: end
2022-08-13 13:47:32,712 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:47:32,976 | DEBUG | app: app
: _teardown: start
2022-08-13 13:47:32,976 | DEBUG | app: app
: _teardown: end
2022-08-13 13:54:52,044 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:54:52,291 | DEBUG | app: app
: _teardown: start
2022-08-13 13:54:52,291 | DEBUG | app: app
: _teardown: end
2022-08-13 13:55:05,456 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:55:05,782 | DEBUG | app: app
: _teardown: start
2022-08-13 13:55:05,782 | DEBUG | app: app
: _teardown: end
2022-08-13 13:58:37,232 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 838, in mkdir
file_operators.makedir(api, *remotedirs, show=show)
File "e:\python\lib\site-packages\baidupcs_py\commands\file_operators.py", line 8, in makedir
pcs_file = api.makedir(d)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 226, in makedir
info = self._baidupcs.makedir(directory)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: 31061, message: 文件已经存在
2022-08-13 13:58:37,542 | DEBUG | app: app
: _teardown: start
2022-08-13 13:58:37,542 | DEBUG | app: app
: _teardown: end
2022-08-13 13:58:53,351 | DEBUG | app: app
: BaiduPCSError: Traceback (most recent call last):
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 118, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 176, in wrap
return func(*args, **kwargs)
File "e:\python\lib\site-packages\baidupcs_py\app\app.py", line 1630, in save
_share.save_shared(
File "e:\python\lib\site-packages\baidupcs_py\commands\share.py", line 75, in save_shared
api.access_shared(shared_url, password, show_vcode=show_vcode)
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 398, in access_shared
raise err
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\api.py", line 380, in access_shared
self._baidupcs.access_shared(shared_url, password, vcode_str, vcode)a
File "e:\python\lib\site-packages\baidupcs_py\baidupcs\errors.py", line 152, in check
raise err
baidupcs_py.baidupcs.errors.BaiduPCSError: error_code: -62, message: 可能需要输入验证码
2022-08-13 13:58:53,666 | DEBUG | app: app
: _teardown: start
2022-08-13 13:58:53,666 | DEBUG | app: app
: _teardown: end