Unable to update jupyter cell for exercise 2 optimize_world_tour

Hello,

I am solving the graded exercises, I have been able to edit the cell for exercise number 1 and run the tests against it. When trying to edit the cell for exercise number 2, the cell does not go in edit mode. I tried to restart the kernel, restore original version and also to change browser.

I am not so confident with Jupyter, but it seems there is an underlying problem ? For the first cell I just click and edit it.

Hello, I also have this problem. I saw the message that the assignment was updated a couple days ago. is it possible this is a bug with the new assignment?

I checked the json, editable is set to false. I think this is the problem but it’s not letting me change it…

1 Like

It could be, I tried to download the file, edit it in VS code and upload it (overwrite).
I am also trying to submit, wanted to check the submission but getting this error.
First couple submit attempts were getting Error


NameError Traceback (most recent call last)
Cell In[13], line 1
----> 1 check_submission(find_shortest_path, optimize_world_tour)

NameError: name ā€˜check_submission’ is not defined

I figured out how to edit it in the browser, go the file in the file tree and right click → open with → editor. then I searched ā€œdef optimizeā€ to get to the right cell and change editable to true. I never got that error but to be sure, did you run the previous cells first? for example the cell that contains all the imports?

1 Like

Yes I did run all the cells from beginning, the tests pass for both Ex1 and Ex2.
Thanks for sharing your solution, it worked I was able to edit the cell - Submission fails with An unexpected error occurred. Please try again later

  • the check_submission is still failing with the previous error
1 Like

I didn’t get that error but I still get an error when I try to submit and when I come back later and refresh, all my changes are gone.

Seems there is something wrong with this lab, I guess we can just wait for the course moderators to come in and help

(Not a mentor for this course)

The course staff has been notified.

3 Likes

Hey all!

I’m sorry for this issue you are facing. I’ve fixed the non-editable cell issue and removed the part of the submission_checker (it was a leftover from previous versions).

You might need to click in restore original version to fetch the new version. Do not forget to download your notebook before doing it, otherwise your solution will be deleted. Then you can copy your previous solution in the respective cells.

Let me know if you still face issues.
Cheers,
Lucas

1 Like

It works for me I was able to submit the assignment, thanks !