[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-devel
Subject:    RE: [Xen-devel] time.usleep(500) in xend
From:       "Ian Pratt" <m+Ian.Pratt () cl ! cam ! ac ! uk>
Date:       2005-02-28 21:00:04
Message-ID: A95E2296287EAD4EB592B5DEEFCE0E9D1E3311 () liverpoolst ! ad ! cl ! cam ! ac ! uk
[Download RAW message or body]

 
 
> Whenever I first run xend in a boot, I'm getting the following error:
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 164, in ?
>     sys.exit(main())
>   File "/usr/sbin/xend", line 121, in main
>     time.usleep(500) # let xcs start
> AttributeError: 'module' object has no attribute 'usleep'
> 
> The workaround is easy enough for me since that section gets bypassed
> when I rerun xend.  I'm using python 2.3.5 and usleep doesn't 
> appear to
> be part of the time module, though I can't speak for other versions.
> 
> Doesn't this need to go back to a sleep(1) or did the minimum 
> version of
> python just change?

Thanks. I've changed it to "time.sleep(0.5)".

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&opĚk
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic