I’ve had an issue that’s popped up a couple of times (rare but annoying) where a student accepts an assignment but something happens while their copy of the repo is being created and it just never actually happens.
Anyone else have this problem?
Anyone know a solution?
I can say that going back and re-accepting the assignment doesn’t help.
This has been happening to me more often lately. I also accept my own assignment to make sure everything is good, and it happened to me during my testing once. I’ve been telling my students to let me know when it happens. The repository gets created, but it’s empty. I manually seed their repository with an initial push. It’s pretty annoying, but so far it only happens to 1 or 2 out of 25 students per assignment.
I also had this problem today, too. About 20% of students couldn’t import the task I set them. I used import code from another repository to get the work from my original repository to the students that way.
The good thing about doing it this way is that I can do it from my machine for all failed imports. Failed imports are easy to spot as they show with “0 commits” in the list.
I believe I am encountering a similar problem. Apologies if I am reviving a topic that was meant to stay dead and buried…
I released an assignment today via a GitHub Classroom invitation link. Out of 50+ students, one somehow ended up with an empty repository after accepting the assignment.
After reading a couple of issue threads related to this problem, I decided to delete his empty repository and have him once again accept the assignment. Unfortunately, the invitation link redirects him to a non-existent repository. My next attempt at solving this was to create an empty repo with the proper assignment name (assignment-prefix-studentghusername), add it as a remote to the source repo for the assignment, push to it, and provide the student with write access to the new repo. This works in that the student is able to access the assignment, but it does not appear in the list of student repos associated with the assignment.
My guess is that once the due date has passed and I clone all student repos for this assignment via the app, his will not be among those gathered via the GitHub Classroom Assistant app. Luckily, only one student ran into this error.
I would just like to know if there is a better way to handle (or avoid) this error in the future. For example, can I resolve it via some API call? From what I’ve read, template repos may be one solution to this problem (can any repo serve as a template repo, or are there structural restrictions?).
Are template repos the answer or has this kind of issue been encountered even with assignments utilizing template repositories?