0

In pset3 (music), while checking my version of helpers.c and bday.txt for correctness, I get the error message

:( bday.txt is correct - Expected 25 lines in bday.txt, but yours has 0

:( bday.txt is correct - Expected 25 lines in bday.txt, but yours has 0

As far as I can see (hear), bday.wav seems to be correct.

  • Does this mean that there's something wrong with my bday.txt?
  • Or could this be some glitch in check50?
0

I think I found the origin of the problem.

In my CS50 IDE, I had managed to create the bday.txt with incorrect user permissions: 620 in stead of 664. (So I was the only one who could read the file ...)

Erroneous user permissions

After correcting the erroneous permissions, and after repeating the check50 (and submit50) command, the versions on github were still empty.


So in fact, the actual answer to the questions in the opening post were:

  • Yes, there was something wrong with my bday.txt file (incorrect user permissions)
  • Yes, a glitch in check50 is blocking the uploads of the corrected version of the file.

WARNING

When creating new files which will have to be submitted for a pset, please DO use the steps that are shown in the lessons.

And if you really want to do it in another way, please DO check the user permissions before doing the check50 and/or submit50 ...

You must log in to answer this question.

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