SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] v1.4.3rc1

From: Derek H. <de...@as...> - 2015年02月05日 12:07:25
Thanks for the great work!
On 02 Feb 2015, at 11:58 am, Jens Nielsen <jen...@gm...> wrote:
> I ran the test suite on OSX 10.10 with both python 2.7.8 and 3.4.2 including the tex and QT4 tests that are skipped on Travis. 
> Everything passes as expected.
> 
I’ve tested on OS X 10.9 with Fink Python 3.4.2, 3.3.6, 2.7.9
Ran 4778 tests in 540.937s
OK (KNOWNFAIL=9, SKIP=1)
OK (KNOWNFAIL=8, SKIP=1)
One error with python2.7:
FAILED (KNOWNFAIL=9, SKIP=1, errors=1)
ERROR: matplotlib.tests.test_style.test_use_url
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
 self.test(*self.arg)
 File "/scratch.noindex/fink.build/matplotlib-py27-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.9-x86_64-2.7/matplotlib/tests/test_style.py", line 58, in test_use_url
 with style.context('https://gist.github.com/adrn/6590261/raw'):
 File "/sw/lib/python2.7/contextlib.py", line 17, in __enter__
 return self.gen.next()
 File "/scratch.noindex/fink.build/matplotlib-py27-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.9-x86_64-2.7/matplotlib/style/core.py", line 86, in context
 use(name)
 File "/scratch.noindex/fink.build/matplotlib-py27-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.9-x86_64-2.7/matplotlib/style/core.py", line 66, in use
 raise ValueError(msg % style)
ValueError: 'https://gist.github.com/adrn/6590261/raw' not found in the style library and input is not a valid URL or path. See `style.available` for list of available styles.
On 10.10 there are a number of additional errors (I’ve checked the save_animation
errors are not due to permission problems):
ERROR: matplotlib.tests.test_animation.test_save_animation_smoketest('ffmpeg', 'mp4')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
 self.test(*self.arg)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/testing/decorators.py", line 110, in wrapped_function
 func(*args, **kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/tests/test_animation.py", line 57, in check_save_animation
 anim.save(F.name, fps=30, writer=writer, bitrate=500)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/animation.py", line 767, in save
 writer.grab_frame(**savefig_kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/animation.py", line 222, in grab_frame
 dpi=self.dpi, **savefig_kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/figure.py", line 1476, in savefig
 self.canvas.print_figure(*args, **kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/backend_bases.py", line 2211, in print_figure
 **kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/backends/backend_agg.py", line 513, in print_raw
 renderer._renderer.write_rgba(filename_or_obj)
RuntimeError: Error writing to file
======================================================================
ERROR: matplotlib.tests.test_animation.test_save_animation_smoketest('ffmpeg_file', 'mp4')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
 self.test(*self.arg)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/testing/decorators.py", line 110, in wrapped_function
 func(*args, **kwargs)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/tests/test_animation.py", line 57, in check_save_animation
 anim.save(F.name, fps=30, writer=writer, bitrate=500)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/animation.py", line 767, in save
 writer.grab_frame(**savefig_kwargs)
 File "/sw/lib/python3.4/contextlib.py", line 66, in __exit__
 next(self.gen)
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/animation.py", line 188, in saving
 self.finish()
 File "/scratch.noindex/fink.build/matplotlib-py34-1.4.3rc1-1/matplotlib-1.4.3rc1/build/lib.macosx-10.10-x86_64-3.4/matplotlib/animation.py", line 378, in finish
 + ' Try running with --verbose-debug')
RuntimeError: Error creating movie, return code: -5 Try running with --verbose-debug
----------------------------------------------------------------------
Ran 4778 tests in 357.541s
FAILED (KNOWNFAIL=385, SKIP=1, errors=2)
Same with python2.7, plus the same test_use_url error as on 10.9 and these 4 additional ones
(none of them necessarily only appeared with 1.4.3, the package had not been updated since 1.3.1):
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'test_backend_qt4')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python2.7/site-packages/nose/loader.py", line 403, in loadTestsFromName
 module = resolve_name(addr.module)
 File "/sw/lib/python2.7/site-packages/nose/util.py", line 321, in resolve_name
 obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_backend_qt4'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'test_dates')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python2.7/site-packages/nose/loader.py", line 403, in loadTestsFromName
 module = resolve_name(addr.module)
 File "/sw/lib/python2.7/site-packages/nose/util.py", line 321, in resolve_name
 obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_dates'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'test_legend')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python2.7/site-packages/nose/loader.py", line 403, in loadTestsFromName
 module = resolve_name(addr.module)
 File "/sw/lib/python2.7/site-packages/nose/util.py", line 321, in resolve_name
 obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_legend'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'test_patheffects')
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/sw/lib/python2.7/site-packages/nose/loader.py", line 403, in loadTestsFromName
 module = resolve_name(addr.module)
 File "/sw/lib/python2.7/site-packages/nose/util.py", line 321, in resolve_name
 obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_patheffects'
----------------------------------------------------------------------
Ran 4705 tests in 310.629s
FAILED (KNOWNFAIL=372, SKIP=1, errors=7)
Cheers,
					Derek

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /