1

Working on pset1 I have previously authorized my github for cs50.me. When I try to run check50 cs50/2017/x/hello, I get the error message

"Looks like check50 isn't enabled for your account yet. Log into https://cs50.me/ in a browser, click "Authorize application", and re-run check50 here! Submission cancelled."

When I click the link, it brings me right into my cs50.me account no problem, no prompts for authorization.

I even went into my GitHub and revoked its authorization, then clicked that link. This time the authorization prompt showed, and I reauthorized. Then ran check50 again. Same problem.

0

The "authorization" comes now in an email invitation. "bot50 invited you to check50/USERNAME.

Following this solves the problem.

1
  • how do you trigger email invitation? I have tried clicking link to cs50.me but this only allows me to authorize submit50 (after I unauthorized in github).. I also logged into github and can search for check50 but I can't figure out how to add it to my profile like submit50. please help!!!
    – Erin B
    Aug 31 '17 at 15:56
0

Just found a solution that worked for me.

Run check50 with verbose output:

~/workspace/pset1/ $ check50 -v cs50/2017/x/hello
Connecting...
Authenticating...
git config --global credential.https://github.com/submit50.username
git config --global credential.https://github.com/submit50.username
GitHub username: frzburn
GitHub password: ********
git -c credential.helper='cache --socket /home/ubuntu/.git-credential-cache/submit50 --timeout 604800' -c credentialcache.ignoresighup=true credential approve
Preparing...
git clone --bare https://frzburn@github.com/check50/frzburn /tmp/tmpupfp24pb
Cloning into bare repository '/tmp/tmpupfp24pb'...
Password for 'https://frzburn@github.com': 
remote: Repository not found.
fatal: repository 'https://frzburn@github.com/check50/frzburn/' not found
Looks like check50 isn't enabled for your account yet. Log into https://cs50.me/ in a browser, click "Authorize application", and re-run check50 here!
git credential-cache --socket /home/ubuntu/.git-credential-cache/submit50 exit
Submission cancelled.

Note these two lines:

remote: Repository not found.
fatal: repository 'https://frzburn@github.com/check50/frzburn/' not found

I simply clicked on the link, and was asked to allow bot50 to collaborate with me or something along those lines. Then check50 worked as expected.

~/workspace/pset1/ $ check50 cs50/2017/x/hello
Connecting....
Authenticating.....
GitHub username: frzburn
GitHub password: ********
Preparing........
Uploading.........
Running checks.......
:) hello.c exists.
:) hello.c compiles.
:) prints "Hello, world!\n"
See https://cs50.me/checks/1a07dacb840a87376ecb31d7d6f598b52f29bc50 for more detail.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .