QingdaoU / OnlineJudge

Open source online judge based on Vue, Django and Docker. | 青岛大学开源 Online Judge | QQ群 496710125 | admin@qduoj.com
http://opensource.qduoj.com/
MIT License
5.93k stars 1.46k forks source link

compile error #409

Open mozart25 opened 2 years ago

mozart25 commented 2 years ago

exception.CompileError 2022-04-11 04:41:28,920 ERROR Traceback (most recent call last): File "/code/server.py", line 192, in server ret = {"err": None, "data": getattr(JudgeServer, path)(**data)} File "/code/server.py", line 99, in judge output_dir=submission_dir) File "/code/compiler.py", line 46, in compile raise CompileError("Compiler runtime error, info: %s" % json.dumps(result)) exception.CompileError

with C language and just simple add with two numbers. Why is that?

zhangxu9622 commented 2 years ago

hello,I also encountered similar problems, did you solve it?

mozart25 commented 2 years ago

i forgot what i answered. but i think i did aws ec2 re created with ubuntu version not centos

2022년 6월 14일 (화) 오후 2:23, zhangxu9622 @.***>님이 작성:

hello,I also encountered similar problems, did you solve it?

— Reply to this email directly, view it on GitHub https://github.com/QingdaoU/OnlineJudge/issues/409#issuecomment-1154726458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2KM74T4XZ6SMC2TXGX2LDVPAJLTANCNFSM5TB6KPSQ . You are receiving this because you authored the thread.Message ID: @.***>

zhangxu9622 commented 2 years ago

Is everything normal after aws ec2 recreated with ubuntu?I use Amazon Linux 2 AMI now

mozart25 commented 2 years ago

yeah i definitely remembered that,

1st setting: aws ec2 with cent os

cent os was the problem.

but i changed into ubuntu os, then voila! did it i will send site later

2022년 6월 14일 (화) 오후 2:42, zhangxu9622 @.***>님이 작성:

Is everything normal after aws ec2 recreated with ubuntu?I use Amazon Linux 2 AMI now

i forgot what i answered. but i think i did aws ec2 re created with ubuntu version not centos 2022년 6월 14일 (화) 오후 2:23, zhangxu9622 @.

>님이 작성: … <#m7904521412452892920> hello,I also encountered similar problems, did you solve it? — Reply to this email directly, view it on GitHub <#409 (comment) https://github.com/QingdaoU/OnlineJudge/issues/409#issuecomment-1154726458>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2KM74T4XZ6SMC2TXGX2LDVPAJLTANCNFSM5TB6KPSQ https://github.com/notifications/unsubscribe-auth/AL2KM74T4XZ6SMC2TXGX2LDVPAJLTANCNFSM5TB6KPSQ . You are receiving this because you authored the thread.Message ID: @.>

— Reply to this email directly, view it on GitHub https://github.com/QingdaoU/OnlineJudge/issues/409#issuecomment-1154740170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2KM7ZJUSV5LH4UVSLOM53VPALULANCNFSM5TB6KPSQ . You are receiving this because you authored the thread.Message ID: @.***>

zhangxu9622 commented 2 years ago

thank you!

yeah i definitely remembered that, 1st setting: aws ec2 with cent os cent os was the problem. but i changed into ubuntu os, then voila! did it i will send site later

mozart25 commented 2 years ago

https://www.youtube.com/watch?v=fqMYI04QHBM&ab_channel=%EC%A3%BC%EB%8B%88%EC%98%A8TV%EC%95%84%EB%AC%B4%EA%B1%B0%EB%82%98%EC%97%B0%EA%B5%AC%EC%86%8C

watch this!

2022년 6월 14일 (화) 오후 3:00, zhangxu9622 @.***>님이 작성:

thank you!

yeah i definitely remembered that, 1st setting: aws ec2 with cent os cent os was the problem. but i changed into ubuntu os, then voila! did it i will send site later

— Reply to this email directly, view it on GitHub https://github.com/QingdaoU/OnlineJudge/issues/409#issuecomment-1154750298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2KM7YMLES32Y73B5XRWBTVPANWZANCNFSM5TB6KPSQ . You are receiving this because you authored the thread.Message ID: @.***>