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

During testing, logging errors are generated: "ValueError: I/O operation on closed file" #186

Open
donaldcampbelljr opened this issue Jun 13, 2023 · 0 comments

Comments

@donaldcampbelljr
Copy link
Member

This appears to be happening in all branches for me. Currently running PyTests and the terminal outputs many of these logging errors making it difficult to read testing results.

--- Logging error ---
Traceback (most recent call last):
  File "/home/drc/anaconda3/envs/condalooper_p38/lib/python3.8/logging/__init__.py", line 1088, in emit
    stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
  File "/home/drc/GITHUB/pypiper/pypiper/pypiper/manager.py", line 1799, in _exit_handler
    self.fail_pipeline(Exception("Pipeline failure. See details above."))
  File "/home/drc/GITHUB/pypiper/pypiper/pypiper/manager.py", line 1651, in fail_pipeline
    self.timestamp("### Pipeline failed at: ")
  File "/home/drc/GITHUB/pypiper/pypiper/pypiper/manager.py", line 1215, in timestamp
    self.info(msg)
  File "/home/drc/GITHUB/pypiper/pypiper/pypiper/manager.py", line 1134, in info
    self._logger.info(msg, *args, **kwargs)
Message: '\n### Pipeline failed at:  (06-13 16:17:19) elapsed: 0.0 _TIME_\n'
Arguments: ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant