homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matham
Recipients eric.araujo, loewis, mark.dickinson, matham, michael.foord, rye, vstinner
Date 2015年01月30日.23:44:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422661446.65.0.362195864921.issue14613@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015年01月30日 23:44:06mathamsetrecipients: + matham, loewis, mark.dickinson, vstinner, eric.araujo, michael.foord, rye
2015年01月30日 23:44:06mathamsetmessageid: <1422661446.65.0.362195864921.issue14613@psf.upfronthosting.co.za>
2015年01月30日 23:44:06mathamlinkissue14613 messages
2015年01月30日 23:44:06mathamcreate

AltStyle によって変換されたページ (->オリジナル) /