-
Notifications
You must be signed in to change notification settings - Fork 226
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
500 error on viewFeedback #1875
Comments
Possibly related to #1315, #1718. @XinyuZeng, I suspect that you have more than one trailing newline after the JSON string -- there should only be one for parsing to work correctly. Could you confirm? |
Thanks @damianhxy ! The problem is that the scores in my script is loaded from a rubrics.csv file, so I need to convert the string value into float. Probably add another type conversion on Autolab side and provide better error message (e.g., catch exception and print suggestions) can make it more clearer to users. But anyway this issue is fixed :) |
@XinyuZeng Glad to hear that resolved your issue! I've opened a new issue to track progress on your suggestion, and will close this one. |
@XinyuZeng We have added type conversion, so strings will be fine in the future |
Great! Thanks! |
Your environment
Let us know details such as
Linux iZ6we4o97z593weohlyjopZ 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Steps To Reproduce
Steps to reproduce the behavior:
Current behavior
The complete error log is shown below:
Expected behavior
I actually don't know why the score of a problem is clickable. The autograder outputs the json in the end. This button works fine when the grading is in process, and students can see the autograder outputs. Once grading is complete, 500 error occurs.
In other words, the url
...assessments/lab2/viewFeedback?feedback=23&submission_id=165
shows the error, but...assessments/lab2/submissions/165/view?header_position=-1
works fine.Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: