Skip to contentSkip to conversation

python 2.4 logging and xend

DISCUSSION Arun Sharma 2 participants 2 messages Jun 23, 2005 – Jun 24, 2005

lore
Share & tools
lore
#0 lore raw

http://article.gmane.org/gmane.comp.emulators.xen.devel/10605

Quoted 8 lines

Any one else seeing this output from xend?

ValueError: I/O operation on closed file
Traceback (most recent call last):
File "/usr/lib/python2.4/logging/handlers.py", line 62, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.4/logging/handlers.py", line 132, in shouldRollover
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature

Did this get resolved? If yes, what's the resolution?

-Arun

#1 lore raw
Quoted 1 line
Quoted 1 line

Any one else seeing this output from xend?

<snip - weirdo Python output>

Quoted 1 line

Did this get resolved? If yes, what's the resolution?

No. It's quite annoying but doesn't seem to stop anything working... I'm not sure what triggers it but I've had a few thoughts:

Only logging messages from the main portion of the code (XendDomain.py or XendDomainInfo.py, maybe a few others) seem to get output - the rest just disappear. I'm guessing the successful output we see is all from the "main" thread... Perhaps the logging for other threads is broken - causing both the missing logs and the errors?

Can someone confirm this is not happening on their (recent) -unstable install? Anyone with Python 2.4 not seeing this?

Cheers,
Mark