Skip to content
New issue

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

docker 镜像无法启动 登录API变更 #2

Open
heart18z opened this issue Apr 24, 2024 · 0 comments
Open

docker 镜像无法启动 登录API变更 #2

heart18z opened this issue Apr 24, 2024 · 0 comments

Comments

@heart18z
Copy link

[root@hcss-ecs-ba9f BChat]# docker logs 9c3eb4d5742c
2024-04-24 15:06:16,812 GLOBAL_LOG INFO: 当前登录平台为linux
Traceback (most recent call last):
File "/app/main.py", line 11, in
context.login_manager.login(context.uid)
File "/app/core/login/simple.py", line 15, in login
credential = login.login_with_qrcode_term() # 在终端扫描二维码登录
File "/usr/local/lib/python3.10/site-packages/bilibili_api/login.py", line 176, in login_with_qrcode_term
qrcode_data = update_qrcode_data()
File "/usr/local/lib/python3.10/site-packages/bilibili_api/login.py", line 89, in update_qrcode_data
qrcode_data = httpx.get(api["url"], follow_redirects=True).json()["data"]
File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 755, in json
return jsonlib.loads(self.content.decode(encoding), **kwargs)
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/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)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant