FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue with three inkscape tests on MacOS X · Issue #787 · matplotlib/matplotlib · GitHub

Repository navigation

Issue with three inkscape tests on MacOS X #787

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

  1. mdboom commented on Mar 22, 2012

    Member

    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?

  2. astrofrog commented on Mar 22, 2012

    ContributorAuthor

    Ok, I'll try and follow up on this. This should not hold up the release candidate.

  3. astrofrog commented on Mar 23, 2012

    ContributorAuthor

    I have filed a bug report with the inkscape developers: https://bugs.launchpad.net/inkscape/+bug/962941

  4. pelson commented on Jul 1, 2012

    Member

    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)).

  5. dmcdougall commented on Jul 7, 2013

    Member

    I can't recreate this on OS X 10.8 with inkscape installed via MacPorts:

    $ inkscape --version
    Inkscape 0.48.4 r9939 (Jul  3 2013)

    All of the test_axes module passes, so I'm going to close this now.

  6. mdboom commented on Jul 16, 2013

    Member

    Yes -- seems to be an inkscape installation/environmental bug that we can't really workaround here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL