I recently created a Python notebook and converted it into an .html file on Kaggle. I tried to upload the .html version of my notebook to Zindi for the challenge, but I’m encountering this message:
“An unexpected error has occurred during scoring, our team has been alerted to this issue.”
Here’s what I did:
I’m not sure if:
Has anyone else experienced this issue? If anyone from the Zindi team is reading this — could you please confirm if .html notebooks are supported for upload and viewing? @zindi
Hi there
The error you’re seeing occurs because Zindi does not accept standard .html notebooks exported from Jupyter or Kaggle for this particular challenge.
This competition uses Observable Notebooks, which are based on JavaScript (not Python) and have a completely different notebook format and runtime. That’s why when you upload a regular .html file converted with
jupyter nbconvert --to html the_sub_notebook.ipynbZindi’s scoring system cannot read it. It expects an Observable export.
To submit a valid notebook, you must work directly inside Observable and then export it properly using the Observable Notebook Kit tool.
To do it:
3. Export as .html file using the CLI:
notebook-kit download \ "https://observablehq.com/d/8a953dc1cde63a86" \ > notebook.html (Replace the URL with your own Observable notebook link.)4. Then, upload the generated notebook .html file to Zindi. It will be correctly recognized.
You can find the documentation for the process here : Export Notebooks to HTML with Notebook Kit
Hope it helps...