Task stream does not render in get_task_stream or performance_report HTML reports
See original GitHub issueWhat happened: HTML reports from get_task_stream
and performance_report
contain grid and controls for the task stream output, but not task content (colored blocks), while the live dashboard (8787/status) does show task stream contents
What you expected to happen: contents in HTML report similar to live dashboard output
Minimal Complete Verifiable Example:
setup:
conda create -n dask-test python==3.8 -c conda-forge
conda install dask distributed ipython -c conda-forge
code:
from dask.distributed import LocalCluster
c = LocalCluster()
from dask.distributed import Client
client = Client(c)
def square(x):
return x*x
import distributed
with distributed.get_task_stream(plot='save', filename="task-stream.html") as ts:
f = client.map(square, [x for x in range(100)])
distributed.wait(f) # ensure completion per @jrbourbeau's point below
with distributed.performance_report(filename="perf.html") as ts:
f2 = client.map(square, [x for x in range(200,300)])
distributed.wait(f2)
Compare html outputs to dashboard task stream
Environment:
- Dask version: 2.30.0, distributed 2.30.0
- Python version: 3.8
- Operating System: MacOS (for repro example) but issue appears on Ubuntu and Coiled Cloud as well
- Install method (conda, pip, source): conda, as above
- Issue tested in Chrome 85.0.4183.121 and Firefox 81.0.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (22 by maintainers)
Top Results From Across the Web
Diagnosing Performance
Disk I/O to collect local data (orange). Execution times (colored by task). The main way to observe these times is with the task...
Read more >Not able to render Code Coverage HTML results in the " ...
This is a known issue on Azure devops. Now, we could only download the report, and open it with Visual Studio. Azure devops...
Read more >html output not rendered properly · Issue #2780 · quarto- ...
I am using a test.qmd document to test rendering to HTML using the ... The HTML file does generate but it doesn't have...
Read more >HTML Publisher | Jenkins plugin
The HTML Publisher plugin is useful to publish HTML reports that your build generates to the job and build pages. It is designed...
Read more >Mochawesome Html Report in Cypress - Part - 16 - YouTube
In this video, I have explained how to generate HTML report using Mochawesome package in Cypress.You need to add, following three ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI we have decided to push a 2.2.3 release. It should be out (pip and bokeh channel) by Monday.
@jsignell I will try to cut a conda or pip-installable 2.3 dev build tonight.