[issue13986] ValueError: cannot convert float NaN to integer

Shivam report at bugs.python.org
Fri Feb 10 12:43:58 CET 2012


New submission from Shivam <shivam.agarwal at aricent.com>:

Hi Team,
   Kindly help me in resolving below issue which arises when we do "make install" as it is show stopper for us.

Listing /usr/local/lib/python2.7 ...
Compiling /usr/local/lib/python2.7/BaseHTTPServer.py ...
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/compileall.py", line 213, in <module>
    exit_status = int(not main())
  File "/usr/local/lib/python2.7/compileall.py", line 200, in main
    force, rx, quiet):
  File "/usr/local/lib/python2.7/compileall.py", line 50, in compile_dir
    if not compile_file(fullname, ddir, force, rx, quiet):
  File "/usr/local/lib/python2.7/compileall.py", line 99, in compile_file
    ok = py_compile.compile(fullname, None, dfile, True)
  File "/usr/local/lib/python2.7/py_compile.py", line 108, in compile
    timestamp = long(os.fstat(f.fileno()).st_mtime)
ValueError: cannot convert float NaN to integer
make: *** [libinstall] Error 1


Addtionaly:
-----------
At the time of make below message is flashed as well:

Failed to build these modules:
datetime           dbm

----------
components: Build
messages: 153039
nosy: shivam_python_issues
priority: normal
severity: normal
status: open
title: ValueError: cannot convert float NaN to integer
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13986>
_______________________________________


More information about the Python-bugs-list mailing list