[FontBakeryCondition:api_gfonts_ttFont]: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
See original GitHub issueoriginal title of this issue was: Checks 117–119, 154: Unable to get info from hosted fonts
Observed behaviour
When running fontbakery on Cabin and Expletus Sans, I end up with 4 errors all with an SSL certificate issue and the same traceback:
>> com.google.fonts/check/154 with (('font[0]', 'Cabin-Regular.ttf'),)
Check font has same encoded glyphs as version hosted on fonts.google.com
* ERROR: The condition <FontBakeryCondition:api_gfonts_ttFont> had an error: FailedConditionError: The condition <FontBakeryCondition:remote_styles> had an error: URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificateverify failed (_ssl.c:841)>
File "/Users/lags/Desktop/fontbakery-venv/lib/python3.6/site-packages/fontbakery/checkrunner.py", line 370, in _evaluate_condition
args = self._get_args(condition, iterargs, path)
File "/Users/lags/Desktop/fontbakery-venv/lib/python3.6/site-packages/fontbakery/checkrunner.py", line 509, in _get_args
args[name] = self._get(name, iterargs, path)
File "/Users/lags/Desktop/fontbakery-venv/lib/python3.6/site-packages/fontbakery/checkrunner.py", line 483, in _get
raise error
Result: ERROR
This happens when running fontbakery on a font file when there is also a METADATA.pb file in the same directory, but if I remove the METADATA.pb file, then I only get an error for check 117.
It is very possible I may be doing something wrong on my end, though I am not sure what that would be; my setup is very straightforward: I am running fontbakery v0.6.5 from a virtual environment.
Expected behaviour
I would expect METADATA.pb to not affect checks that don’t relate to it
Resources and exact process needed to replicate
The exact location I was running fontbakery on can be found here
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
python - urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error
@hBy2Py I'm thinking this may fix my issue askubuntu.com/questions/1401379/certificate-verify-failed-error Question: what is baz.html? The template URL of your ...
Read more >Unable to install latest due to SSL certificate verify failed #9036
I'm getting the following error when I try to install using ./emsdk install latest Error downloading URL ...
Read more >httplib2.URLError received None <urlopen error [SSL ...
The problem may be that the certifi package needs to be updated. For Mac OS try the solution suggested on Stack Overflow: ssl-certificate...
Read more >Error urllib and SSL CERTIFICATE VERIFY FAILED - Edureka
I am getting the following error: Exception in thread Thread-3: Traceback (most recent ... Error urllib and SSL CERTIFICATE VERIFY FAILED.
Read more >[Solved] urllib.error.URLError: [SSL - Clay-Technology World
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>. I never got this error in the past, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
He probably installed official Mac python from python.org but forgot to also install the certificates. There is a note in the installer Readme about that. Check the Python folder in the Applications directory, you should find a shell script to install the certificates.
For reference, this is a screenshot of the “python-3.7.2-macosx10.9.pkg” installer from Python.org, and the relevant paragraph from the installer’s info page:
Even when the installation is completed, the installer reminds the user to double-click on the bundled “Install Certificates.command” shell, found in “/Applications/Python 3.7” folder.