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

最近还是一直运行失败 #17

Closed
45153 opened this issue Sep 26, 2021 · 0 comments
Closed

最近还是一直运行失败 #17

45153 opened this issue Sep 26, 2021 · 0 comments

Comments

@45153
Copy link

45153 commented Sep 26, 2021

Run python report.py "$USERNAME" "$PASSWORD" -g="$GRADUATING" -k="$API_KEY" -p
python report.py "$USERNAME" "$PASSWORD" -g="$GRADUATING" -k="$API_KEY" -p
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.9.7/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.7/x64/lib
USERNAME: ***
PASSWORD: ***
GRADUATING:
API_KEY:
2021-09-26 01:52:30,374 - INFO - 非毕业班学生,微信提醒关闭,VPN 开启。
2021-09-26 01:52:35,486 - INFO - 认证系统登录成功。
2021-09-26 01:52:36,028 - CRITICAL - 上报失败!其他错误:Expecting value: line 2 column 1 (char 1)
Traceback (most recent call last):
File "/home/runner/work/HITsz-daily-report/HITsz-daily-report/report.py", line 236, in
main(arguments)
File "/home/runner/work/HITsz-daily-report/HITsz-daily-report/report.py", line 214, in main
module_id = r.student_report_check()
File "/home/runner/work/HITsz-daily-report/HITsz-daily-report/report.py", line 143, in student_report_check
result = response.json()
File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/runner/work/HITsz-daily-report/HITsz-daily-report/report.py", line 248, in
raise ReportException(report_msg)
main.ReportException: 上报失败!其他错误:Expecting value: line 2 column 1 (char 1)
Error: Process completed with exit code 1.

@45153 45153 closed this as completed Sep 29, 2021
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