[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] time.usleep(500) in xend



 
 
> 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=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.