cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Unable to view exported notebooks in HTML format

WayneDeleersnyd
New Contributor III

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,

1 ACCEPTED SOLUTION

Accepted Solutions

DavidLin
New Contributor III

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.

View solution in original post

11 REPLIES 11

cconnell
Contributor II

Just export the "source", then it is readable code.

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.

Hubert-Dudek
Esteemed Contributor III

Have you tried also via API?

I havenโ€™t tried via API but I need it to work from the notebook.

Hubert-Dudek
Esteemed Contributor III

what is distribution? (Azure or Free Community etc.) so I will test with dashboard

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.

what is the error you are getting? have you seen the docs https://docs.databricks.com/notebooks/notebooks-manage.html#export-a-notebook

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 ๐Ÿ˜ž

DavidLin
New Contributor III

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.

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?

cconnell
Contributor II

I can confirm that the Community Edition now does correct readable HTML export.

Connect with Databricks Users in Your Area

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