On Thu, Jul 05, 2012 at 07:43:39PM +0000, Russell E. Owen wrote:
> In article <ef3f693b-b19f-4cf2-9416-f073203b3...@uw.edu>,
> Russell Owen <ro...@uw.edu> wrote:
>
> > I just uploaded the Mac binaries.
> >
> > Several minor concerns:
> > - Many unit tests failed on Mac OS X 10.4 (which is where I build the
> > 10.3.9
> > version) due to "too many files open", but the same binary looks fine on
> > 10.5.
> > - The 64-bit version (10.6 and later) had one unexpected failure on 10.7 (I
> > have not yet had time to test it on 10.6)...
>
> When I tested on Mac OS X 10.6 I found that most unit tests were somehow
> missing. Rather than try to diagnose the problem, I built a new binary
> on 10.6, confirmed that it installed properly (with all unit tests) on
> 10.6 and 10.7, then uploaded it to replace the earlier 10.6 binary.
>
> The same test I mentioned in my previous post still fails using the new
> binary, on both 10.6 and 10.7.
>
> -- Russell
>
I did a git checkout of the v1.1.1 tag and compiled a 64-bit version. I
have attached output from the following command:
python -c "import matplotlib as m ; m.test(verbosity=1)"
Note that some of the tests fail with satuses: KEFKK.
I have the following requirements installed:
nose: version 1.1.2
PIL: version 1.1.7
ghsotscript: version 9.05
inkscape: 0.48.3.1
All of these were installed using the latest version of macports.
Is there anything I can do to improve the output of the tests?
--
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom
$ python -c "import matplotlib as m ; m.test(verbosity=1)"
..K..........................................E....................................................................F..................................K.............................................................................................................................K........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: matplotlib.tests.test_axes.test_formatter_ticker.test
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File "/Users/damon/python/lib/matplotlib/testing/decorators.py", line 36, in
failer
result = f(*args, **kwargs)
File "/Users/damon/python/lib/matplotlib/testing/decorators.py", line 130, in
do_test
err = compare_images(expected_fname, actual_fname, self._tol,
in_decorator=True)
File "/Users/damon/python/lib/matplotlib/testing/compare.py", line 215, in
compare_images
actual = convert(actual)
File "/Users/damon/python/lib/matplotlib/testing/compare.py", line 139, in
convert
converter[extension](filename, newname)
File "/Users/damon/python/lib/matplotlib/testing/compare.py", line 99, in
convert
raise IOError, msg
IOError: Conversion command failed:
inkscape -z /Users/damon/result_images/test_axes/formatter_ticker_002.svg
--export-png /Users/damon/result_images/test_axes/formatter_ticker_002_svg.png
Standard output:
Background RRGGBBAA: ffffff00
Area 0:0:720:540 exported to 720 x 540 pixels (90 dpi)
Bitmap saved as:
/Users/damon/result_images/test_axes/formatter_ticker_002_svg.png
Standard error:
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.
======================================================================
FAIL: matplotlib.tests.test_axes.test_single_point.test
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File "/Users/damon/python/lib/matplotlib/testing/decorators.py", line 36, in
failer
result = f(*args, **kwargs)
File "/Users/damon/python/lib/matplotlib/testing/decorators.py", line 140, in
do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close:
/Users/damon/result_images/test_axes/single_point_svg.png vs.
/Users/damon/result_images/test_axes/expected-single_point_svg.png (RMS 83.929)
----------------------------------------------------------------------
Ran 1068 tests in 1172.727s
FAILED (KNOWNFAIL=3, errors=1, failures=1)
/Users/damon/python/lib/matplotlib/__init__.py:921: UserWarning: This call to
matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
if warn: warnings.warn(_use_error_msg)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel