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

warnings: subprocpool - unclosed file #5990

Open
oliver-sanders opened this issue Feb 22, 2024 · 0 comments
Open

warnings: subprocpool - unclosed file #5990

oliver-sanders opened this issue Feb 22, 2024 · 0 comments
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

Address a Python warning:

/net/home/h06/osanders/cylc-flow/cylc/flow/subprocpool.py:333: ResourceWarning: unclosed file <_io.BufferedRandom name=18>
  proc = cls._run_command_init(ctx)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

To see this warning, run the tests or try adding:

import warnings
warnings.filterwarnings('once')

Warning spotted part way through a workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant