[Bug]: 在get_prepare时获取的json格式错误
liehun10086 opened this issue · 2 comments
liehun10086 commented
描述这个Bug
在get_prepare时获取的json格式错误
复现步骤
项目ID为75750
简易模式开启
仅检测模式关闭
临近开票5分钟前正常运行,突然无法正常获取json
预期操作
程序应循环监控余票剩余信息
截图
问题版本
main分支-Release
日志
2023-08-20 18:05:45.831 | ERROR | __main__:<module>:55 - 程序出现错误,错误信息:Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "requests\models.py", line 971, in json
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
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 "main.py", line 46, in <module>
File "api.py", line 88, in __init__
File "api.py", line 211, in get_token
File "api.py", line 206, in get_prepare
File "requests\models.py", line 975, in json
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-08-20 18:05:45.965 | CRITICAL | __main__:<module>:56 - 错误追踪ID(可提供给开发者):574233ac61984a93a6901b8d71ac3a6b2023-08-20 18:05:45.965 | INFO | __main__:<module>:57 - 按回车将继续...
我是最新版本
- 我确认这是该分支的最新版本且这是第一个针对该问题的Issue
ZianTT commented
稍后,我将尽快跟踪该问题
ZianTT commented
未知问题,使用最新版本(main分支-源码运行)重试,若仍存在请发送TraceId
可能是风控了