kuk / log-progress

https://habr.com/ru/post/276725/
MIT License
564 stars 60 forks source link

Getting message: VBox(children=(HTML(value=''), IntProgress(value=0))) #19

Open loupendley opened 5 years ago

loupendley commented 5 years ago

I ran this code:

import time
from time import sleep

def check_url(url):
    sleep(0.1)

urls = range(100)

for url in log_progress(urls, every=1):
    check_url(url)

for index in log_progress(range(100), every=1):
#     print("testing")
    sleep(0.1)

and it resulted in:
VBox(children=(HTML(value=''), IntProgress(value=0)))

Am I missing something? Running on Windows 10: anaconda custom py36h363777c_0 anaconda-client 1.7.2 py36_0 anaconda-navigator 1.9.7 py36_0 anaconda-project 0.8.2 py36_0

ianFraser858 commented 5 years ago

Are you running in JupyterLab or JupyterNotebook?

I seem to have the same problem in Lab but no problem in Notebook. Unsure of solution however.

loupendley commented 4 years ago

I am running Jupyter Lab.

On Mon, Oct 14, 2019 at 16:03 Ian Fraser notifications@github.com wrote:

Are you running in JupyterLab or JupyterNotebook?

I seem to have the same problem in Lab but no problem in Notebook. Unsure of solution however.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kuk/log-progress/issues/19?email_source=notifications&email_token=AEEPRHREL7AJLU5UJ3GJEQLQOT3FJA5CNFSM4HPJ7AM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBG4HBI#issuecomment-541967237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEPRHTBMJS2RGPCPRMGPQTQOT3FJANCNFSM4HPJ7AMQ .

joncamp commented 4 years ago

dupe of #14 i think.