hi im working on the C2W3 assignment on colab, i have an error in the last code of the notebook. the error looks like this :
TypeError Traceback (most recent call last)
in <cell line: 4>()
2
3 # Please see the output of this cell to see which file you need to submit to the grader
----> 4 colab_metadata_checker.run(‘C2W3_Assignment_fixed.ipynb’)
/content/colab_metadata_checker.py in run(name)
21
22 # Load the notebook JSON.
—> 23 ntbk = _message.blocking_request(‘get_ipynb’)[‘ipynb’]
24
25
TypeError: ‘NoneType’ object is not subscriptable
can someone help me? thank you
I have followed the procedure provided below but i cant seem to find the notebook with _fixed.ipynb ending
Please click my name and message your notebook as an attachment.
@balaji.ambresh im sorry for the delay, i have tried running it on other devices but still got the error, i will message u right away, thank you
i have the same issues can you tell me that?
@Fadhil_Umar: I’ve added a staff to the direct message thread for fixing the script.
@Umul_Syarifah: Please update your direct message with the notebook , only if you aren’t observing the same issue.
@balaji.ambresh I am experiencing the same issue just like Fadhil here, could you please help resolving it?
Please click my name and message your notebook as an attachment.
Hi all,
Please follow the instructions here to get your submissions graded while the staff are working on a fix.
Thanks.
Hi everyone! If you haven’t submitted your work yet, you can retry running the checker again to see if your notebook has the metadata. Please disconnect the current runtime (in case you’re working on it now) before retrying. Thank you!
@SoonJong_Yoo
Try running this code snippet from within the notebook:
from google.colab import files
files.download('C2W3_Assignment_fixed.ipynb')
Dear
Type in codes.
import colab_metadata_checker
Please see the output of this cell to see which file you need to submit to the grader
colab_metadata_checker.run(‘C2W3_Assignment_fixed.ipynb’)
from google.colab import files
files.download(‘C2W3_Assignment_fixed.ipynb’)
results are as follows.
Where are the results?
If running the cell containing colab_metadata_checker.run('C2W3_Assignment_fixed.ipynb')
doesn’t bring up the option to download the notebook (check browser settings as well), you can download the notebook manually as shown below.
From notebook markdown:
Please disregard the following note if the notebook metadata is detected
Note: Just in case the download fails for the second point above, you can also do these steps:
-
Click the Folder icon on the left side of this screen to open the File Manager.
-
Click the Folder Refresh icon in the File Manager to see the latest files in the workspace. You should see a file ending with a _fixed.ipynb
.
-
Right-click on that file to save locally and submit it to the grader.
Here’s the corresponding screenshot: