Skip to content
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

Interrupts can cause corrupted writes to logfile #45

Open
sehoffmann opened this issue Jan 7, 2025 · 0 comments
Open

Interrupts can cause corrupted writes to logfile #45

sehoffmann opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sehoffmann
Copy link
Owner

^C------- Training interrupted by user -------            │            │            │
Exception in thread Thread-4 (_rendering_loop):
Traceback (most recent call last):
  File "/Net/Groups/BGI/work_2/shoffmann/conda/envs/torch/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/Net/Groups/BGI/work_2/shoffmann/conda/envs/torch/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/Net/Groups/BGI/work_2/shoffmann/conda/envs/torch/lib/python3.11/site-packages/progress_table/v1/progress_table.py", line 528, in _rendering_loop
    self._flush_buffer()
  File "/Net/Groups/BGI/work_2/shoffmann/conda/envs/torch/lib/python3.11/site-packages/progress_table/v1/progress_table.py", line 720, in _flush_buffer
    print(output, file=file or sys.stdout, end="")
  File "/Net/Groups/BGI/work_2/shoffmann/code/dmlcloud/dmlcloud/util/logging.py", line 27, in write
    self.parent.file.write(data)
ValueError: I/O operation on closed file.
@sehoffmann sehoffmann added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant