8000 Something fishy in png reading · Issue #5495 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Something fishy in png reading #5495
Closed
Closed
@mdboom

Description

@mdboom

We're seeing spurious test failures like:

======================================================================
ERROR: matplotlib.tests.test_cycles.test_marker_cycle.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-1.5.0+34.g43afdd8-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 53, in failer
    result = f(*args, **kwargs)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-1.5.0+34.g43afdd8-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 210, in do_test
    self._tol, in_decorator=True)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-1.5.0+34.g43afdd8-py2.7-linux-x86_64.egg/matplotlib/testing/compare.py", line 314, in compare_images
    actualImage = _png.read_png_int(actual)
RuntimeError: Error setting jump

and

======================================================================
ERROR: matplotlib.tests.test_cycles.test_marker_cycle.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python3.4/site-packages/matplotlib-1.5.0+34.g43afdd8-py3.4-linux-x86_64.egg/matplotlib/testing/decorators.py", line 53, in failer
    result = f(*args, **kwargs)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python3.4/site-packages/matplotlib-1.5.0+34.g43afdd8-py3.4-linux-x86_64.egg/matplotlib/testing/decorators.py", line 210, in do_test
    self._tol, in_decorator=True)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python3.4/site-packages/matplotlib-1.5.0+34.g43afdd8-py3.4-linux-x86_64.egg/matplotlib/testing/compare.py", line 314, in compare_images
    actualImage = _png.read_png_int(actual)
SystemError: error return without exception set

While there were recent changes to PNG writing, there haven't been recent changes to PNG reading, so I'm not sure what's up. But probably shouldn't let this slide...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0