plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

waitress UserWarning: unclosed file #152

Open mauritsvanrees opened 4 years ago

mauritsvanrees commented 4 years ago

(Split off from https://github.com/plone/Products.CMFPlone/issues/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.