Message235064
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. |
|
Date |
User |
Action |
Args |
2015-01-30 23:44:06 | matham | set | recipients:
+ matham, loewis, mark.dickinson, vstinner, eric.araujo, michael.foord, rye |
2015-01-30 23:44:06 | matham | set | messageid: <1422661446.65.0.362195864921.issue14613@psf.upfronthosting.co.za> |
2015-01-30 23:44:06 | matham | link | issue14613 messages |
2015-01-30 23:44:06 | matham | create | |
|