All of lore.kernel.org
 help / color / mirror / Atom feed
* python 2.4 logging and xend
@ 2005-06-23 23:09 Arun Sharma
  2005-06-24  1:28 ` Mark Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Sharma @ 2005-06-23 23:09 UTC (permalink / raw)
  To: xen-devel


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

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: python 2.4 logging and xend
  2005-06-23 23:09 python 2.4 logging and xend Arun Sharma
@ 2005-06-24  1:28 ` Mark Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Williamson @ 2005-06-24  1:28 UTC (permalink / raw)
  To: xen-devel; +Cc: Arun Sharma

> > Any one else seeing this output from xend?
<snip - weirdo Python output>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-24  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 23:09 python 2.4 logging and xend Arun Sharma
2005-06-24  1:28 ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.