github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 570 forks source link

Cannot enable assignment. Checking the box causes infinitely spinning wheel #2539

Closed lbang-hmc closed 4 years ago

lbang-hmc commented 4 years ago

Describe the bug I go to the assignment page, check the box next to Enable assignment invitation URL, and a little spinning status wheel comes up, never goes away, and the assignment is not made available to students using the link.

To Reproduce Steps to reproduce the behavior:

  1. Go to assignment page
  2. Click on the checkbox next to Enable assignment invitation URL
  3. Spinning wheel hangs and assignment is not accessible to students

Expected behavior The assignment should be available to students.

Screenshots 2020_01_30_16_52_35_scrot 2020_01_30_16_47_08_scrot

d12 commented 4 years ago

:wave: @lbang-hmc Which browser are you using here? This is sometimes caused by very out of date browsers which aren't running our JavaScript correctly.

lbang-hmc commented 4 years ago

Chromium myself, but my colleague also tried on several different browsers and all had the same issue.

Eventually, I deleted the assignment and then created it from scratch. The "enable" button was then already checked when it was created, so I just left it alone. But still I would like to be able to uncheck it and then check it again without having this happen.

d12 commented 4 years ago

Very strange, I tried it myself and didn't experience any issues. I've forwarded this to the eng team, they'll take a look soon! Thanks for the report :)

lbang-hmc commented 4 years ago

It is happening again. With my new assignment for Homework-03 on my github classroom, when I click the box, I just get a spinning wheel forever.

lbang-hmc commented 4 years ago

Here is a video of the error happening

https://www.cs.hmc.edu/~bang/ghcr-error.mp4

d12 commented 4 years ago

@lbang-hmc This is fixed! Sorry for the delay and the issues, and thanks for the report!

lbang-hmc commented 4 years ago

Great! Thanks so much! :)