471,336 Members | 1,239 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

My 'time' module is broken, unsure of cause

Hi all,

I have a strange error here and I am unsure how to further investigate it:

Python 2.4.4 (#1, Aug 23 2007, 10:51:29)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>import time
40:42:0
>>now = time.time()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'time'

Notice the '40:42:0' that always gets output. I searched Gentoo's bugzilla but
can not see anything relevant. I rebuilt python but the behavior recurs. I am
unsure if the issue is with Python, Gentoo, or perhaps with the underlying
lib (presumably glibc) that Python uses for the time module. This is working
fine on another machine (also 2.4.4, GCC 3.4.6, Gentoo Hardened).

Anyone seen this? Any hints for me to track this issue down? Any further
information I could provide?

Thanks for consideration,
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Aug 23 '07 #1
0 757

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.