matham added the comment:
Hi guys,
I'm running into this issue on windows 7 using python 2.7.8 (x86) from the
python website.
The following exception occurs while cython code calls a python function which
emits a log. When replaying the same code it happens consistently:
Traceback (most recent call last):
File "g:\python\dev2\kivy\kivy\core\image\img_ffpyplayer.py", line 28, in
_log_callback
logger_func[level]('ImageLoaderFFPy: {}'.format(message))
File "E:\Python27\lib\logging\__init__.py", line 1186, in error
self._log(ERROR, msg, args, **kwargs)
File "E:\Python27\lib\logging\__init__.py", line 1278, in _log
record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info,
func, extra)
File "E:\Python27\lib\logging\__init__.py", line 1252, in makeRecord
rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
File "E:\Python27\lib\logging\__init__.py", line 287, in __init__
self.msecs = (ct - long(ct)) * 1000
ValueError: cannot convert float NaN to integer
Even weirder, if I add a line like `print time.time()` right before `ct =
time.time()` in logging\__init__.py no error occurs. But if I duplicate the
print line twice, it crashes right there instead of raising an exception.
----------
nosy: +matham
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com