Re: Test script errors in matplotlib-pyXY

Derek Homeier <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <A2BA69C4-14E2-4EA4-A83E-F3D8810BDC09@astro.physik.uni-goettingen.de>
On 11 Feb 2016, at 1:25 am, Alexander Hansen <[email protected]> wrote:
> 
> urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>  File "/sw/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
>    self.test(*self.arg)
>  File "/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/tests/test_style.py", line 63, in test_use_url
>    with style.context('https://gist.github.com/adrn/6590261/raw'):
>  File "/sw/lib/python3.5/contextlib.py", line 59, in __enter__
>    return next(self.gen)
>  File "/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/style/core.py", line 121, in context
>    use(style)
>  File "/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/style/core.py", line 90, in use
>    raise IOError(msg % style)
> OSError: '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.
> 
> ----------------------------------------------------------------------
> Ran 5165 tests in 658.655s
> 
> FAILED (KNOWNFAIL=22, SKIP=6, errors=1)
> /sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/__init__.py:1350: UserWarning:  This call to matplotlib.use() has no effect
> because 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)
> 
> 
> I’m not a bit surprised by the SSL error on 10.11.
> 
Isn’t that a fairly general problem with openssl and various sites like github, pypi etc.?
I am getting the same error (on 10.10 as well) when trying to manually download the
file with fink’s wget, while the system curl and ‘wget —no-check-certificate’ find it.
I actually thought that was a real issue with the certificates on those sites, but since
nothing has happened on that side in months, it may be a bug, but definitely somewhere
further up with urllib/openssl, not really mpl’s problem.

Cheers,
					Derek



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.