Skip to contentSkip to conversation

time.usleep(500) in xend

DISCUSSION Paul Larson 1 participant 1 message Feb 28, 2005

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
Thanks,
Paul Larson
[email protected]
http://www.linuxtestproject.org