交互运行后出现cookies的字典格式不正确
lin-qian123 opened this issue · 1 comments
lin-qian123 commented
Describe the bug / 描述 bug
交互运行后出现cookies的字典格式不正确:
(v0.7.6) System ERROR: dictionary update sequence element #0 has length 1; 2 is required
Envrionment / 运行环境
- OS: [e.g. Windows11]
- Python [e.g. Python3.10]
- BaiduPCS-Py Version [e.g. 0.7.6]
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 useradd
Account Name []: xxx
BDUSS []:
Cookies []:
(v0.7.6) System ERROR: dictionary update sequence element #0 has length 1; 2 is required
lin-qian123 commented
把双引号改成单引号就行了