โ11-30-2021 08:00 AM
My team and I noticed an issue lately where notebooks, when exported to HTML format, are not viewable in a stand-alone state anymore. Older notebooks which were exported have no issues, but newer exports are not viewable. The only way we can view the notebook is by importing the notebook and viewing it from the web, which is impractical for the purposes of sharing.
Is there a way to resolve this issue, or has anyone else encountered this issue?
Thanks,
โ12-02-2021 11:39 AM
There was a bug with rendering exported HTML in notebooks with notebook workflows (dbutils.notebook.run). The fix was rolled out, but may not have reached some single tenant deployments yet.
โ11-30-2021 08:03 AM
Just export the "source", then it is readable code.
โ11-30-2021 08:15 AM
My goal isnโt to read the code. When exporting in HTML weโre able to view output and graphs, but we canโt view anything right now. We see a flash of cells, then the page goes blank.
โ11-30-2021 08:12 AM
Have you tried also via API?
โ11-30-2021 08:16 AM
I havenโt tried via API but I need it to work from the notebook.
โ11-30-2021 08:17 AM
what is distribution? (Azure or Free Community etc.) so I will test with dashboard
โ11-30-2021 08:34 AM
Itโs Azure, but Iโm now wondering if it was an issue that has been resolved. Exported HTML files now appear to be rendering.
It would be good to know for sure though.
โ11-30-2021 04:01 PM
what is the error you are getting? have you seen the docs https://docs.databricks.com/notebooks/notebooks-manage.html#export-a-notebook
โ11-30-2021 08:40 PM
There's no error message. Just a flash and then a blank screen. I should note that I'm only seeing this if there are results in the notebook. If it's a notebook with no results then I see the contents of the notebook with no results.
Previously I would see the results. Per the documentation "When you export a notebook as HTML, IPython notebook, or archive (DBC), and you have not cleared the results, the results of running the notebook are included." But now I see nothing ๐
โ12-02-2021 11:39 AM
There was a bug with rendering exported HTML in notebooks with notebook workflows (dbutils.notebook.run). The fix was rolled out, but may not have reached some single tenant deployments yet.
โ12-02-2021 11:54 AM
ok, great. I just noticed last night that I could now again export and view the contents of an HTML export that had results in the notebook.
Any idea where we'd see an announcement saying they rolled out a fix?
โ12-02-2021 11:50 AM
I can confirm that the Community Edition now does correct readable HTML export.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group