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