[vtk-developers] Failing Matplotlib tests

Bill Lorensen bill.lorensen at gmail.com
Mon Feb 11 12:05:12 EST 2013


Dave,

On my Gedora 13 system, as a baseline, I ran the vtk matplotlib tests.
I did not see proper fonts for math symbols.

Then I installed lyx-fonts. Reran tests and did not see proper fonts
for math symbols.

Removed ~/.fontcache abd ~/.matplotlib. I reran tests and DID see
proper fonts for math symbols.

The regression tests still failed, but I think it is because the lyx
fonts are different than the ones used to generate the regression
images.

Note: I do have the stix-fonts installed for all cases.

Bill

On Mon, Feb 11, 2013 at 10:47 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Dave,
>
> I'll give the fedora suggestions a try. Mine is a fedora 13 system,
> but it is not critical for me to have matplotlib work there. It's
> mainly the dashboard machines that are an issue.
>
> Thanks,
>
> Bill
>
> On Mon, Feb 11, 2013 at 9:29 AM, David Lonie <david.lonie at kitware.com> wrote:
>> Hey Bill,
>>
>> On Sun, Feb 10, 2013 at 2:47 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> wrote:
>>>
>>> David,
>>>
>>> The following test:
>>> vtkRenderingMatplotlibCxx-TestMathTextActor3D and the related test
>>>
>>> has been failing since mid-October:
>>>
>>> http://open.cdash.org/testSummary.php?project=11&name=vtkRenderingMatplotlibCxx-TestMathTextActor3D&date=2013-02-10
>>>
>>> There are two types oi failures:
>>> 1) A regression failure that is probably due to a zbuffer issue requiring
>>> a
>>> ren->ResetCameraClippingRange();
>>> http://open.cdash.org/testDetails.php?test=176797125&build=2806419
>>
>>
>> Sure, I'll add the call and see if that fixes it.
>>
>>>
>>> and
>>> 2) Systems that don't seem to interpret the equations properly.
>>> http://open.cdash.org/testDetails.php?test=176815607&build=2806934
>>> On these systems, many of the matplotlib tests also fail.
>>>
>>> I also see 2) on my Fedora 13 system
>>
>>
>> This looks like a bad matplotlib install -- it's definitely loading
>> incorrect fonts in these images. I did some digging, and it looks like this
>> is a known issue with fedora 13. There's a workaround in comment 31 of this
>> bug report:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=562421#c31
>>
>> Does doing this (install lyx-fonts and clearing the fontconfig cache) fix
>> the problem for you?
>>
>> We should contact the maintainers and have them fix the installation, or
>> exclude these tests from fedora boxes.
>>
>> Dave
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list