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

waitress UserWarning: unclosed file #152

Open
mauritsvanrees opened this issue Sep 2, 2020 · 0 comments
Open

waitress UserWarning: unclosed file #152

mauritsvanrees opened this issue Sep 2, 2020 · 0 comments

Comments

@mauritsvanrees
Copy link
Member

(Split off from plone/Products.CMFPlone#3130.)

Start a Plone (coredev 5.2 Python 2.7 or 3.7) instance on the foreground. When it is ready to serve, press ctrl+c to quit. You get this warning:

waitress/wasyncore.py:649: UserWarning: unclosed file <waitress.wasyncore.file_wrapper instance at 0x7fe9597ceaa0>
warnings.warn("unclosed file %r" % self, compat.ResourceWarning)

I (Maurits) briefly looked, but could not see which file this was. Might need to be raised upstream at waitress.

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

No branches or pull requests

1 participant