r/cs50 • • 15d ago

CS50 Python Unable to submit my program

Post image

Is anyone else facing this issue?

4 Upvotes

3 comments sorted by

2

u/pensivepanda5 mentor 15d ago

Hi, all the systems are operational according to the cs50 status page at https://cs50.statuspage.io/ ,
but I have seen other students facing the same issue in the last few days, to solve that problem try copying/pasting these commands into your codespace's terminal: update50 -f and then press "Enter”, to force the rebuild of your codespace. After the rebuild is finished, try resubmitting your assignment by copying/pasting the commands: submit50 cs50/problems/2022/python/tip from the assignment page.

As a side note, the codespace works best on Google Chrome browser, and the cs50 team doesn't recommend Firefox because they have seen issues with the codespace on Firefox.
Apart from that, if you have extensions installed on your browser, you might need to use an incognito window to use the codespace: https://cs50.dev/ , because some extensions can affect the codespace.

If those steps don't work, another thing you can try is creating a new codespace, using your same old github account. You can visit this link where your codespace backup repo is: https://cs50.dev/repo and see if your codespace's files are there (if you had files in your codespace). And after verifying that your codespace's files are stored there, you can create a new codespace by following the instructions that appear in the CS50 Docs, in this link: https://cs50.readthedocs.io/cs50.dev/#creating-a-new-codespace .After creating a new codespace your backed up files should automatically appear in your new codespace.

But if none of those steps help to solve the issue, please send an email to sysadmins@cs50.harvard.edu with specific details and screenshots of the issue, and mention to them your Github username, so the CS50's system admins can help you further.

1

u/SilverPainting2580 15d ago

Thankyou for your response! I'm using codespace on my vscode desktop. The problem persists after rebuilding the codespace.