-
-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'MultiProgressWidget' object has no attribute 'elapsed_time' #3007
Comments
solved, I switched to using the dashboard |
Also present in Dask 2.9.2. Just ran into this when trying to run on a machine where I would prefer not opening a webpage. |
x = dask.compute(*results) # start computation in the background
progress(x) # watch progress This bug arises because But, we shouldn't err in this case. I think that the challenge here is that we're only calling if self.keys and not self.widget.children:
self.make_widget(all) |
If someone wants to make things more robust to empty key sets that would be welcome. This shouldn't require deep Dask experience to solve. |
@mrocklin -- I just tried this code which - if I understand your comment above correctly - shouldn't work, but it does. import random
from time import sleep
import dask
# simulate work
@dask.delayed
def work(x):
sleep(x)
return True
# generate tasks
random.seed(42)
tasks = [work(random.randint(1,5)) for x in range(50)]
client = Client()
futures = client.compute(tasks)
progress(futures) |
@rrpelgrim confusingly, |
I was getting an error that ipywidgets was not installed when I ran the following code
so then I installed ipywidgets version 7.5.1 in my conda environment that contains Dask and got this error when running the same code again
I'm not sure what the issue is here, seems to be some sort of version conflict between packages or other internal issue since I'm not invoking the "elapsed_time" attribute directly.
I'm using jupyterlab version 1.0.9, python 3.7, and dask version 2.3
The text was updated successfully, but these errors were encountered: