Re: [matplotlib-devel] v1.1.1rc2 tarballs are up

2012-07-06 Thread Damon McDougall
On Thu, Jul 05, 2012 at 07:43:39PM +, Russell E. Owen wrote:
> In article ,
>  Russell Owen  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..EF..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: ff00
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/deco

Re: [matplotlib-devel] v1.1.1rc2 tarballs are up

2012-07-06 Thread Russell E. Owen
In article ,
 Jouni K. Seppänen  wrote:

> Russell Owen  writes:
> 
> > By the way: I installed ghostscript from source and Inkscape
> > application from binary. More tests pass, but many still show K. My
> > guess is that matplotlib can see ghostscript but not the Inkscape
> > application (no surprise). Inkscape has too many dependencies for me
> > to want to try to build it from source.
> 
> The following should help matplotlib find Inkscape:
> 
> PATH=$PATH:/Applications/Inkscape.app/Contents/Resources/bin \
> python -c 'import matplotlib; matplotlib.test(1)'

Yes, thanks. I figured that out this morning and reran the tests for the 
64-bit matplotlib on 10.7. Almost everything passes now. Just a few K 
and one actual failure that appears to be nothing to worry about (though 
a failing unit test is always worrisome.

I'm still wondering how I managed to build a binary installer that 
installed the test packages on 10.7 and failed to install them on 10.6, 
but I don't have time to investigate.

-- Russell


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