Repository navigation
Closed
Description
When running the tests on MacOS X with various Python/Numpy versions, I am getting the following inkscape-related errors:
======================================================================
ERROR: matplotlib.tests.test_axes.test_arc_ellipse.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 35, in failer
result = f(*args, **kwargs)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 117, in do_test
err = compare_images(expected_fname, actual_fname, self._tol, in_decorator=True)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 215, in compare_images
actual = convert(actual)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 139, in convert
converter[extension](filename, newname)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 99, in convert
raise IOError, msg
IOError: Conversion command failed:
inkscape -z /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/arc_ellipse.svg --export-png /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/arc_ellipse_svg.png
Standard output:
Background RRGGBBAA: ffffff00
Area 0:0:720:540 exported to 720 x 540 pixels (90 dpi)
Bitmap saved as: /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/arc_ellipse_svg.png
Standard error:
(process:19741): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.
======================================================================
ERROR: matplotlib.tests.test_axes.test_fill_between_interpolate.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 35, in failer
result = f(*args, **kwargs)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 117, in do_test
err = compare_images(expected_fname, actual_fname, self._tol, in_decorator=True)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 215, in compare_images
actual = convert(actual)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 139, in convert
converter[extension](filename, newname)
File "/Users/Shared/Jenkins/Home/virtualenvs.nose.pil/python2.7-numpy1.6.1/lib/python2.7/site-packages/matplotlib/testing/compare.py", line 99, in convert
raise IOError, msg
IOError: Conversion command failed:
inkscape -z /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/fill_between_interpolate.svg --export-png /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/fill_between_interpolate_svg.png
Standard output:
Background RRGGBBAA: ffffff00
Area 0:0:720:540 exported to 720 x 540 pixels (90 dpi)
Bitmap saved as: /Users/Shared/Jenkins/Home/jobs/matplotlib-mdboom-tests-osx-10.7-multiconfig/workspace/NV/1.6.1/PV/2.7/result_images/test_axes/fill_between_interpolate_svg.png
Standard error:
(process:20043): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.
The other SVG tests pass. Does this look like an issue with my inkscape installation? I installed it using MacPorts:
$ inkscape --version
Inkscape 0.48.2 r9819 (Mar 20 2012)
Activity
mdboom commentedon Mar 22, 2012
Not sure what's going on here, and the error output from inkscape isn't very illuminating. (FWIW, I am running inkscape 0.48.1 on Linux with no problems). I think we need to consider these inkscape bugs unless otherwise proven wrong. Do you perhaps want to take the input files and report upstream?
astrofrog commentedon Mar 22, 2012
Ok, I'll try and follow up on this. This should not hold up the release candidate.
astrofrog commentedon Mar 23, 2012
I have filed a bug report with the inkscape developers: https://bugs.launchpad.net/inkscape/+bug/962941
pelson commentedon Jul 1, 2012
FYI I am not seeing this issue on OSX 10.7 with inkscape installed via homebrew (
Inkscape 0.48.3.1 r9886 (Jun 25 2012)).dmcdougall commentedon Jul 7, 2013
I can't recreate this on OS X 10.8 with inkscape installed via MacPorts:
All of the
test_axesmodule passes, so I'm going to close this now.mdboom commentedon Jul 16, 2013
Yes -- seems to be an inkscape installation/environmental bug that we can't really workaround here.