question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task stream does not render in get_task_stream or performance_report HTML reports

See original GitHub issue

What 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:closed
  • Created 3 years ago
  • Comments:25 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
bryevdvcommented, Oct 16, 2020

FYI we have decided to push a 2.2.3 release. It should be out (pip and bokeh channel) by Monday.

2reactions
bryevdvcommented, Oct 15, 2020

@jsignell I will try to cut a conda or pip-installable 2.3 dev build tonight.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found