Red Hat Bugzilla – Bug 858912
Check if a stream is still open before flushing it
Last modified: 2015-07-26 18:14:51 EDT
Created attachment 614660 [details]
Description of problem:
The release method doesn't check if the stream is still open before flushing it. This is incompatible with Python 2.7, since the stream may have already been closed in the close() method.
Version-Release number of selected component (if applicable):
Faced while using it in Beaker on Fedora 17. See https://bugzilla.redhat.com/show_bug.cgi?id=856850
Steps to Reproduce:
1. See above bug
Crashes the application citing cannot write to a closed file.
Sane shutdown of the logging system
python-concurrentloghandler-0.8.4-7.fc18 has been submitted as an update for Fedora 18.
python-concurrentloghandler-0.8.4-7.fc17 has been submitted as an update for Fedora 17.
python-concurrentloghandler-0.8.4-7.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-concurrentloghandler-0.8.4-7.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-concurrentloghandler-0.8.4-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
python-concurrentloghandler-0.8.4-7.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
python-concurrentloghandler-0.8.4-7.fc17 is now stable.