Troubleshooting

These are steps for troubleshooting Vocareum issues

Issues that aren't resolved with a simple kernel restart or kernel>reconnect may result in your work being lost. Therefore before attempting the troubleshooting steps below, copy your code into a local file to ensure you don't lose anything. You can attempt File>Save as and confirm it downloads something, but if not you will need to copy and paste into a local filetype of your choice (recommend notepad++). If you do lose any of your work it'll most likely be only the most recent code, but it's good practice to save all of it locally just in case.

Dealing with excessive printed output

  1. From the "Actions" dropdown select "Clear notebook output".
  2. Click the Jupyter icon. This will bring up a file browser where you can see all the files in your workspace. You should see a file with the original notebook name (something like main.ipynb or part1.ipynb). You should also see a file with the same name having a "clean" prefix (clean.main.ipynb or clean.part1.ipynb). You can interact with these files by checking the box next to them and choosing one of the options that populates.
  3. Rename or delete the original notebook. Renaming is preferred (i.e. main.ipynb -> dirty.main.ipynb).
  4. Rename the "clean" prefixed notebook file to whatever the original filename was (i.e. clean.main.ipynb -> main.ipynb)
  5. Continue to work in the renamed clean notebook. Make sure to remove whatever was causing the excessive prints.

Resetting To Startercode

If you want to reset the assignment back to the starter code choose "Reset assignment" from the "Actions" dropdown. Make sure to save any work which you want to keep in your local machine. You will have to copy/paste any solutions which you previously got credit for back into the notebook in order to get credit for them on subsequent submissions. Otherwise your score may not update (See "About The Autograder").

Kernel disconnected and will not re-connect

Refresh the page using the refresh button in your browser (should be at the very top/left next to the back and forward buttons).

Unresponsive notebook

  1. Verify that no cells are in a running state. (There will be a [*] to the left of the cell). If an individual cell is hanging there is more than likely some kind of non-terminating control flow (like an infinite loop) or an inefficient process.

    • If an individual cell is hanging interrupt the kernel (stop button) and try running other cells. If the other cells run, the problem is the code in the hanging cell.
  2. If there is no hanging cell refresh the page (refresh button on browser).

Submit button/other Vocareum buttons disappeared

Sometimes the Vocareum buttons disappear even though the notebooks still runs. In that case, please refresh the page to see if the buttons appear. If not, please close then page, then re-open it from Canvas (this won't be a problem as long as Honorlock is still running). If you're still having issues then please make a private piazza post.

Updated: 2022-12-16