This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Replies: 1 comment
-
说明parser没有输出一个格式正确的json? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
请问是什么原因orz
5/8 Test #5: parser-0 .........................***Failed 0.12 sec
/home/lyh/SYsU-lang/test/functional/000_main.sysu.c: 0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/lyh/SYsU-lang/test/test_parser.py", line 96, in
main(sys.argv)
File "/home/lyh/SYsU-lang/test/test_parser.py", line 89, in main
ast1 = json.loads(subprocess.run(
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/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 1 column 1 (char 0)
Beta Was this translation helpful? Give feedback.
All reactions