<br>This is the test file:<br><a href="http://www.vtk.org/doc/nightly/html/c2_vtk_t_6.html#c2_vtk_t_vtkGL2PSExporter">http://www.vtk.org/doc/nightly/html/c2_vtk_t_6.html#c2_vtk_t_vtkGL2PSExporter</a><br><br>I have a MacPorts installation of vtk-devel with the +huge variant, which provides shared libs, cocoa, python26, etc.<br>
<br>This is the test failure, indicating a viewport problem (similar errors arise in other python scripts):<br><br>[ dweber@elegans ~ ]$ vtkpython TestGL2PSExporter.py -D /opt/local/share/vtk-5.4/data -B /opt/local/share/vtk-5.4/data/Baseline/Rendering/ -T ./tmp/<br>
Failed image test with error: 5343.390850<br>&lt;DartMeasurement name=&quot;ImageError&quot; type=&quot;numeric/double&quot;&gt; 5343.390850 &lt;/DartMeasurement&gt;<br>&lt;DartMeasurement name=&quot;BaselineImage&quot; type=&quot;text/string&quot;&gt;Standard&lt;/DartMeasurement&gt; &lt;DartMeasurementFile name=&quot;TestImage&quot; type=&quot;image/jpeg&quot;&gt; /Users/dweber/tmp/TestGL2PSExporter.test.small.jpg &lt;/DartMeasurementFile&gt;<br>
&lt;DartMeasurementFile name=&quot;DifferenceImage&quot; type=&quot;image/jpeg&quot;&gt; /Users/dweber/tmp/TestGL2PSExporter.diff.small.jpg &lt;/DartMeasurementFile&gt;<br>&lt;DartMeasurementFile name=&quot;ValidImage&quot; type=&quot;image/jpeg&quot;&gt; /Users/dweber/tmp/TestGL2PSExporter.small.jpg &lt;/DartMeasurementFile&gt;<br>
GL2PS error: Incorrect viewport (x=0, y=0, width=0, height=0)<br>======================================================================<br>ERROR: Test vector EPS output.<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>  File &quot;TestGL2PSExporter.py&quot;, line 103, in testVectorEPS<br>    im = Image.open(tmp_eps)<br>  File &quot;/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL/Image.py&quot;, line 1916, in open<br>
    raise IOError(&quot;cannot identify image file&quot;)<br>IOError: cannot identify image file<br><br>======================================================================<br>FAIL: Test EPS output when Write3DPropsAsRasterImage is on.<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>  File &quot;TestGL2PSExporter.py&quot;, line 160, in testRasterEPS<br>    Testing.getAbsImagePath(img_file))<br>
  File &quot;/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/test/Testing.py&quot;, line 235, in compareImageWithSavedImage<br>    raise AssertionError, msg<br>AssertionError: Failed image test: 5343.390850<br>
<br><br>----------------------------------------------------------------------<br>Ran 2 tests in 0.431s<br><br>FAILED (failures=1, errors=1)<br>&lt;DartMeasurement name=&quot;WallTime&quot; type=&quot;numeric/double&quot;&gt;  0.431685 &lt;/DartMeasurement&gt;<br>
&lt;DartMeasurement name=&quot;CPUTime&quot; type=&quot;numeric/double&quot;&gt;  0.404242 &lt;/DartMeasurement&gt;<br><br><br>