From: Russell E. O. <ro...@uw...> - 2013-05-30 22:06:48
|
I uploaded a binary installer for MacOS X, 64-bit python.org python 2.7. I built it using numpy 1.7.1. This version does not include pytz, dateutil or six, but the included ReadMe says they are prerequisites and suggests installing them with pip. The tests showed more problems than usual. I have appended the whole set. A few questions: - Why does setupext.py's dateutil finder have this: return ['python_dateutil'] when the package is called python-dateutil (hyphen instead of underscore)? If it is intentional, it might be worth noting with a comment. - Why include licenses for pytz and dateutil? -- Russell Here is the test log: localhost$ python -c "import matplotlib as m ; m.test(verbosity=1)" ......................................................................... ......................................................................... ......................................................................... ..........kpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' EK.....K................................................................. ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ......................................................................... ...................................../Library/Frameworks/Python.framework /Versions/2.7/lib/python2.7/site-packages/numpy/ma/core.py:777: RuntimeWarning: invalid value encountered in absolute return umath.absolute(a) * self.tolerance >= umath.absolute(b) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/numpy/ma/core.py:3791: UserWarning: Warning: converting a masked element to nan. warnings.warn("Warning: converting a masked element to nan.") .........................................../Library/Frameworks/Python.fra mework/Versions/2.7/lib/python2.7/site-packages/matplotlib/gridspec.py:29 8: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. warnings.warn("This figure includes Axes that are not " ............................................/Library/Frameworks/Python.fr amework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py:8 07: RuntimeWarning: invalid value encountered in absolute z = abs(x-y) ........E ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_pathclip ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher result = func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 145, in test_pathclip plt.savefig(os.path.join(result_dir, "pgf_pathclip.pdf")) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/pyplot.py", line 561, in savefig return fig.savefig(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/figure.py", line 1410, in savefig self.canvas.print_figure(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backend_bases.py", line 2220, in print_figure **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 864, in print_pdf self._print_pdf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 822, in _print_pdf_to_fh self.print_pgf(fname_pgf, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 804, in print_pgf self._print_pgf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 784, in _print_pgf_to_fh RendererPgf(self.figure, fh), File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ self.latexManager = LatexManagerFactory.get_latex_manager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager new_inst = LatexManager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ raise LatexError("LaTeX returned an error, probably missing font or error in preamble:\n%s" % stdout) LatexError: LaTeX returned an error, probably missing font or error in preamble: This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) restricted \write18 enabled. **entering extended mode LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls Document Class: minimal 2001/05/25 Standard LaTeX minimal class ) (Please type a command or say `\end') * *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st y) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s ty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Bitstream Vera Serif" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... <*> \setmainfont{Bitstream Vera Serif} No pages of output. Transcript written on texput.log. ====================================================================== ERROR: matplotlib.tests.test_backend_pgf.test_mixedmode ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher result = func(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 157, in test_mixedmode compare_figure('pgf_mixedmode.pdf') File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/tests/test_backend_pgf.py", line 56, in compare_figure plt.savefig(actual) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/pyplot.py", line 561, in savefig return fig.savefig(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/figure.py", line 1410, in savefig self.canvas.print_figure(*args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backend_bases.py", line 2220, in print_figure **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 864, in print_pdf self._print_pdf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 822, in _print_pdf_to_fh self.print_pgf(fname_pgf, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 804, in print_pgf self._print_pgf_to_fh(fh, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 784, in _print_pgf_to_fh RendererPgf(self.figure, fh), File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ self.latexManager = LatexManagerFactory.get_latex_manager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager new_inst = LatexManager() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ raise LatexError("LaTeX returned an error, probably missing font or error in preamble:\n%s" % stdout) LatexError: LaTeX returned an error, probably missing font or error in preamble: This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) restricted \write18 enabled. **entering extended mode LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls Document Class: minimal 2001/05/25 Standard LaTeX minimal class ) (Please type a command or say `\end') * *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st y) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s ty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Bitstream Vera Serif" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... <*> \setmainfont{Bitstream Vera Serif} No pages of output. Transcript written on texput.log. ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'test_coding_standards') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/loader.py", line 379, in loadTestsFromName module = resolve_name(addr.module) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac kages/nose/util.py", line 331, in resolve_name obj = getattr(obj, part) AttributeError: 'module' object has no attribute 'test_coding_standards' ---------------------------------------------------------------------- Ran 1458 tests in 833.661s FAILED (KNOWNFAIL=2, errors=3) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack ages/matplotlib/__init__.py:1141: 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. warnings.warn(_use_error_msg) localhost$ |
From: Michael D. <md...@st...> - 2013-05-31 01:02:37
|
On 05/30/2013 06:06 PM, Russell E. Owen wrote: > I uploaded a binary installer for MacOS X, 64-bit python.org python 2.7. > I built it using numpy 1.7.1. This version does not include pytz, > dateutil or six, but the included ReadMe says they are prerequisites and > suggests installing them with pip. > > The tests showed more problems than usual. I have appended the whole set. > > A few questions: > - Why does setupext.py's dateutil finder have this: > return ['python_dateutil'] > when the package is called python-dateutil (hyphen instead of > underscore)? If it is intentional, it might be worth noting with a > comment. Thanks for noticing that. You are correct, and that underscore should be replaced with a hyphen. However, I think in practice it's making no difference. distribute automatically replaces underscores with hyphens before it does the PyPI lookup. In any event, I've fixed this in e2e89eb. > - Why include licenses for pytz and dateutil? I just forgot to remove those during the refactor. They have been removed in 441fe10. As for the tests: The warnings are all normal (it would be great to hide them, but I haven't invested much time to investigate that). The first two failures are related to the PGF backend, and I suspect are failing because of a missing package in your LaTeX installation. I've created issue #2097 and Cc'd you and Peter Wurtz (the PGF backend author) who may have some insight. The last failure is a puzzler -- for some reason, the test_coding_standards test module isn't importing, though it was found. I'll let you know if there's more information I need from you about that, but at this point I'm not even sure how to investigate that one. Thanks for working on this, Mike > > -- Russell > > Here is the test log: > > localhost$ python -c "import matplotlib as m ; m.test(verbosity=1)" > ......................................................................... > ......................................................................... > ......................................................................... > ..........kpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' > Ekpathsea: Invalid fontname `Bitstream Vera Serif', contains ' ' > EK.....K................................................................. > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ......................................................................... > ...................................../Library/Frameworks/Python.framework > /Versions/2.7/lib/python2.7/site-packages/numpy/ma/core.py:777: > RuntimeWarning: invalid value encountered in absolute > return umath.absolute(a) * self.tolerance >= umath.absolute(b) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/numpy/ma/core.py:3791: UserWarning: Warning: converting a masked > element to nan. > warnings.warn("Warning: converting a masked element to nan.") > .........................................../Library/Frameworks/Python.fra > mework/Versions/2.7/lib/python2.7/site-packages/matplotlib/gridspec.py:29 > 8: UserWarning: This figure includes Axes that are not compatible with > tight_layout, so its results might be incorrect. > warnings.warn("This figure includes Axes that are not " > ............................................/Library/Frameworks/Python.fr > amework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py:8 > 07: RuntimeWarning: invalid value encountered in absolute > z = abs(x-y) > ........E > ====================================================================== > ERROR: matplotlib.tests.test_backend_pgf.test_pathclip > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher > result = func(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 145, in test_pathclip > plt.savefig(os.path.join(result_dir, "pgf_pathclip.pdf")) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/pyplot.py", line 561, in savefig > return fig.savefig(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/figure.py", line 1410, in savefig > self.canvas.print_figure(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backend_bases.py", line 2220, in print_figure > **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 864, in print_pdf > self._print_pdf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 822, in _print_pdf_to_fh > self.print_pgf(fname_pgf, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 804, in print_pgf > self._print_pgf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 784, in _print_pgf_to_fh > RendererPgf(self.figure, fh), > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ > self.latexManager = LatexManagerFactory.get_latex_manager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager > new_inst = LatexManager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ > raise LatexError("LaTeX returned an error, probably missing font or > error in preamble:\n%s" % stdout) > LatexError: LaTeX returned an error, probably missing font or error in > preamble: > This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) > restricted \write18 enabled. > **entering extended mode > LaTeX2e <2011/06/27> > Babel <v3.8m> and hyphenation patterns for english, dumylang, > nohyphenation, ge > rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, > ibycus, arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, > czech, danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, friulan, galician, german, ngerman, swissgerman, monogreek, > greek, h > ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, > malayalam, ma > rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, > italian, > kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, > nynorsk, > polish, portuguese, romanian, romansh, russian, sanskrit, serbian, > serbianc, s > lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, > uppersorbian, > welsh, loaded. > > *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls > Document Class: minimal 2001/05/25 Standard LaTeX minimal class > ) > (Please type a command or say `\end') > * > *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st > y) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s > ty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) > ************************************************* > * LaTeX warning: "xparse/redefine-command" > * > * Redefining document command \oldstylenums with arg. spec. 'm' on line > 107. > ************************************************* > ) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ! > ! fontspec error: "font-not-found" > ! > ! The font "Bitstream Vera Serif" cannot be found. > ! > ! See the fontspec documentation for further information. > ! > ! For immediate help type H <return>. > !............................................... > > <*> \setmainfont{Bitstream Vera Serif} > > No pages of output. > Transcript written on texput.log. > > > ====================================================================== > ERROR: matplotlib.tests.test_backend_pgf.test_mixedmode > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 45, in backend_switcher > result = func(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 157, in test_mixedmode > compare_figure('pgf_mixedmode.pdf') > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/tests/test_backend_pgf.py", line 56, in compare_figure > plt.savefig(actual) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/pyplot.py", line 561, in savefig > return fig.savefig(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/figure.py", line 1410, in savefig > self.canvas.print_figure(*args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backend_bases.py", line 2220, in print_figure > **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 864, in print_pdf > self._print_pdf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 822, in _print_pdf_to_fh > self.print_pgf(fname_pgf, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 804, in print_pgf > self._print_pgf_to_fh(fh, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 784, in _print_pgf_to_fh > RendererPgf(self.figure, fh), > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 409, in __init__ > self.latexManager = LatexManagerFactory.get_latex_manager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 223, in get_latex_manager > new_inst = LatexManager() > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/matplotlib/backends/backend_pgf.py", line 309, in __init__ > raise LatexError("LaTeX returned an error, probably missing font or > error in preamble:\n%s" % stdout) > LatexError: LaTeX returned an error, probably missing font or error in > preamble: > This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012) > restricted \write18 enabled. > **entering extended mode > LaTeX2e <2011/06/27> > Babel <v3.8m> and hyphenation patterns for english, dumylang, > nohyphenation, ge > rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, > ibycus, arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, > czech, danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, friulan, galician, german, ngerman, swissgerman, monogreek, > greek, h > ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, > malayalam, ma > rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, > italian, > kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, > nynorsk, > polish, portuguese, romanian, romansh, russian, sanskrit, serbian, > serbianc, s > lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, > uppersorbian, > welsh, loaded. > > *(/usr/local/texlive/2012/texmf-dist/tex/latex/base/minimal.cls > Document Class: minimal 2001/05/25 Standard LaTeX minimal class > ) > (Please type a command or say `\end') > * > *(/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.st > y) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.s > ty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty) > ************************************************* > * LaTeX warning: "xparse/redefine-command" > * > * Redefining document command \oldstylenums with arg. spec. 'm' on line > 107. > ************************************************* > ) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def) > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def > (/usr/local/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd)) > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty))) > (/usr/local/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ! > ! fontspec error: "font-not-found" > ! > ! The font "Bitstream Vera Serif" cannot be found. > ! > ! See the fontspec documentation for further information. > ! > ! For immediate help type H <return>. > !............................................... > > <*> \setmainfont{Bitstream Vera Serif} > > No pages of output. > Transcript written on texput.log. > > > ====================================================================== > ERROR: Failure: AttributeError ('module' object has no attribute > 'test_coding_standards') > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/loader.py", line 379, in loadTestsFromName > module = resolve_name(addr.module) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac > kages/nose/util.py", line 331, in resolve_name > obj = getattr(obj, part) > AttributeError: 'module' object has no attribute 'test_coding_standards' > > ---------------------------------------------------------------------- > Ran 1458 tests in 833.661s > > FAILED (KNOWNFAIL=2, errors=3) > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack > ages/matplotlib/__init__.py:1141: 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. > > warnings.warn(_use_error_msg) > localhost$ > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |