Skip to content

Progress bar + file observer = tee timeout error #907

@thisiscam

Description

@thisiscam

Hi,

I was able to consistently reproduce a tee timeout on sacred 0.8.4 and using tqdm progress bar:

# test_sacred_tqdm.py
import sacred
import tqdm

ex = sacred.Experiment()

@ex.automain
def main():
  for i in tqdm.tqdm(range(100)):
    pass

Running with command

python test_sacred_tqdm.py -F tmp1/

results in

/python3.9/site-packages/sacred/stdout_capturing.py:179: UserWarning: tee_stdout.wait timeout. Forcibly terminating.
  warnings.warn("tee_stdout.wait timeout. Forcibly terminating.")
/python3.9/site-packages/sacred/stdout_capturing.py:185: UserWarning: tee_stderr.wait timeout. Forcibly terminating.
  warnings.warn("tee_stderr.wait timeout. Forcibly terminating.")

Seems related to #289 and #440

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