[ python-Bugs-1002537 ] test_logging fails if run twice
SourceForge.net
noreply at sourceforge.net
Wed Aug 4 10:31:50 CEST 2004
Bugs item #1002537, was opened at 2004-08-03 11:17
Message generated for change (Comment added) made by vsajip
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1002537&group_id=5470
Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Vinay Sajip (vsajip)
Summary: test_logging fails if run twice
Initial Comment:
Traceback (most recent call last):
File "/Users/mwh/Source/python/dist/src/Lib/logging/
__init__.py", line 696, in emit
self.stream.write("%s\n" % msg)
ValueError: I/O operation on closed file
over and over again.
----------------------------------------------------------------------
>Comment By: Vinay Sajip (vsajip)
Date: 2004-08-04 08:31
Message:
Logged In: YES
user_id=308438
Fixed by closing used handlers and tidying up loggers to
remove closed handlers. Checked into CVS. Tested on
Windows only.
----------------------------------------------------------------------
Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-08-03 11:28
Message:
Logged In: YES
user_id=29957
Commenting out line 467 stops these errors, but there's
still a keyerror lying around.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1002537&group_id=5470
More information about the Python-bugs-list
mailing list