On 6/7/2012 1:34 PM, Christoph Gohlke wrote:
>
>
> On 6/7/2012 1:01 PM, John Hunter wrote:
>> On Thu, Jun 7, 2012 at 2:57 PM, Christoph Gohlke <cgoh...@uci.edu> wrote:
>>
>>> Is there time for another release candidate?
>>>
>>> With the latest github branch on win-amd64-py2.7 I get both, a segfault
>>> and a test failure in "matplotlib.tests.test_text.test_font_styles.test".
>>
>> If you are getting a segfault, is there on the latest branch, would it
>> make sense to do an RC?  It seems like we would want to fix the
>> segfault first.  Can you give us more details on the segfault, eg
>> backend, conditions to reproduce, etc?
>>
>>
>
> There have been many changes since the last rc. The crash is probably
> related to very recent changes. Ideally the segfault should be fixed
> before rc2.
>
>
> The crash on win-amd64-py2.7 is with the PDF backend:
>
> Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit
> (AMD64)] on win32
>>>> import matplotlib as mpl
>>>> mpl.use("agg")
>>>> mpl.test(verbosity=2)
> <snip>
> matplotlib.tests.test_mathtext.mathtext_stixsans_65_test.test ... ok
> matplotlib.tests.test_mathtext.mathtext_stixsans_65_test.test ... ok
> matplotlib.tests.test_mathtext.mathtext_stixsans_65_test.test ...
> KNOWNFAIL: Cannot compare svg files on this system
> matplotlib.tests.test_mathtext.test_fontinfo ... ok
> matplotlib.tests.test_text.test_antialiasing.test ... ok
> matplotlib.tests.test_text.test_font_styles.test ... ok
> matplotlib.tests.test_text.test_font_styles.test ...
> crash
>
>
> On win32-py2.7 the test fails but doesn't crash. The failure is that
> bold font styles are not rendered bold:
>
> Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit
> (Intel)] on win32
> <snip>
> ======================================================================
> FAIL: matplotlib.tests.test_text.test_font_styles.test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>     File "X:\Python27\lib\site-packages\nose\case.py", line 197, in runTest
>       self.test(*self.arg)
>     File
> "X:\Python27\lib\site-packages\matplotlib\testing\decorators.py", line
> 36, in failer
>       result = f(*args, **kwargs)
>     File
> "X:\Python27\lib\site-packages\matplotlib\testing\decorators.py", line
> 140, in do_test
>       '(RMS %(rms).3f)'%err)
> ImageComparisonFailure: images not close:
> test\result_images\test_text\font_styles.png vs.
>    test\result_images\test_text\expected-font_styles.png (RMS 47.138)
>
> ======================================================================
> FAIL: matplotlib.tests.test_text.test_font_styles.test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>     File "X:\Python27\lib\site-packages\nose\case.py", line 197, in runTest
>       self.test(*self.arg)
>     File
> "X:\Python27\lib\site-packages\matplotlib\testing\decorators.py", line
> 36, in failer
>       result = f(*args, **kwargs)
>     File
> "X:\Python27\lib\site-packages\matplotlib\testing\decorators.py", line
> 140, in do_test
>       '(RMS %(rms).3f)'%err)
> ImageComparisonFailure: images not close:
> test\result_images\test_text\font_styles_pdf.png vs.
>    test\result_images\test_text\expected-font_styles_pdf.png (RMS 23.409)
>
> ----------------------------------------------------------------------
> Ran 1068 tests in 231.978s
>
> FAILED (KNOWNFAIL=268, failures=2)
>
>
> I'll file a ticket if I can't fix it using a debug build.
>

https://github.com/matplotlib/matplotlib/issues/933

Christoph

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to