Skip to content

Progress bar disappears during long iterations #334

@abw333

Description

@abw333

I am using Python 3.6 and tqdm 4.10.0.

My code looks like:

with multiprocessing.Pool() as pool:
    for input, output in zip(tqdm.tqdm(args_list, smoothing=0),
                             pool.imap(function, args_list)):
        ...                                                                                                                                                 

Iterations are fairly short (~15 iterations/s), with a few exceptions that may last much longer (~60s/iteration). Whenever I hit these longer iterations, the progress bar will disappear until the iteration completes. Is this expected?

EDIT: I don't expect that multiprocessing is causing this issue, but I haven't verified this, so I left it in the code sample above, just in case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions