Closed NuttKatyISD closed 4 years ago
Hi @THSCS this definitely looks like a bug in Classroom. We're digging into it now. Thanks for the report!
I think I am seeing related errors (see info below). Students were able to last successfully use classroom on Feb. 11, 12:15am PST. The first student reported an error on Feb 11, 10:11am PST.
For a group assignment I already created, students have the following experience:
As best I can tell, Classroom creates the team, but does not copy the assignment repo to the team.
Also, when I go to the page for the assignment, I see the following:
:wave:, is this error still happening? We believe it might have been caused by a GitHub.com API issue which is now fixed.
Yes, and it seems worse.
I created an empty repo that wasn't set as a template and tried to use it as starter code. Instead of giving me the error that the source had to be a template it went directly to a 500 error. I've never tried to use an empty source as a template, so maybe it's always happened. Not that it really makes sense to use an empty template anyway.
With a repo with just a readme.md file the same thing happened that was in the original post. Gives me a warning that the source isn't a template. After changing the source to a template and trying to create the assignment again it threw a 500.
Also went and tried to create a new assignment with the newly switched to template source repo and still got a 500 error.
@THSCS Which Classroom are you seeing this in? I'm digging now.
Which of my classrooms?
/classrooms/9141231-data-structures-2019-2020
Great, is there any other info you can give us that might help debug or reproduce? We haven't been able to replicate quite yet.
The two repos that I tested with are
https://github.com/THS-CompSci/dummy-repo It's empty and threw a 500 immediately trying to create an assignment.
https://github.com/THS-CompSci/dummy-with-readme Tried to create an assignment using this as a template, but didn't have it set as a template. It came back with an error message that the source repo wasn't a template. I opened a new tab and changed the repo to a template and hit submit again. 500 error.
Went back to Classroom and created a new assignment using this repo as a template source and got a 500 again. That was about an hour ago.
Just tried again with a new assignment on the dummy with readme repo and was able to create an assignment. The successful assignment it https://classroom.github.com/classrooms/9141231-data-structures-2019-2020/assignments/test
@THSCS We've figured out the issue and I've manually fixed up your account for now. We're working on a small fix that'll prevent this from happening in the future.
There were 2 admins on your Classroom that did not have owner access to the organization anymore. GitHub Classroom requires all admins have owner access, and does weird things when that's not the case. Normally we detect when a change is made on GitHub and auto-remove the user from the Classroom but that wasn't happening.
I've removed the two users from the Classroom to fix the issue. If you'd like them to be admins again, you'll have to first add them as owners to the GitHub organization.
Describe the bug 500 server error creating an assignment
To Reproduce Steps to reproduce the behavior:
Expected behavior I guess, not have an error