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

Logging files are not closed correctly #2

Open
8cH9azbsFifZ opened this issue Dec 13, 2018 · 0 comments
Open

Logging files are not closed correctly #2

8cH9azbsFifZ opened this issue Dec 13, 2018 · 0 comments

Comments

@8cH9azbsFifZ
Copy link

If one instances N>>1 of the objects the logging files are not closed correctly on destruction. This leads to runtime exceptions:

Traceback (most recent call last):
File "./test.py", line 18, in
File "/Users/gerolf/src/cwskimmer_parse/spot_processing.py", line 54, in init
File "/Users/gerolf/src/cwskimmer_parse/spot_processing.py", line 29, in get_configured_logger
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 910, in init
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 364, in abspath
OSError: [Errno 24] Too many open files

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