-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Observed behaviour
I just installed fontbakery 1.0.0 in a venv, without using the [googlefonts] extra, and now i get an error trying the check-googlefonts check. I guess i should be using the [googlefonts] extra, and i am about to, but the error message is unhelpful. (ironically, the older version that i was accidentally using gave a more helpful error message).
(venv) ; fontbakery check-googlefonts fonts/ttf/DorothyMatrixMLAB20250619-Regular.ttf
/Users/drj/prj/venv/lib/python3.10/site-packages/fontbakery/fonts_profile.py:103: UserWarning: Failed to load fontbakery.checks.vendorspecific.googlefonts.glyphsets.shape_languages: No module named 'shaperglot'
warnings.warn("Failed to load %s: %s" % (import_path, e))
Traceback (most recent call last):
File "/Users/drj/prj/venv/bin/fontbakery", line 8, in <module>
sys.exit(main())
File "/Users/drj/prj/venv/lib/python3.10/site-packages/fontbakery/cli.py", line 434, in main
profile = profile_factory(get_module(args.profile))
File "/Users/drj/prj/venv/lib/python3.10/site-packages/fontbakery/fonts_profile.py", line 151, in profile_factory
add_checks_to_nascent_profile(
File "/Users/drj/prj/venv/lib/python3.10/site-packages/fontbakery/fonts_profile.py", line 116, in add_checks_to_nascent_profile
raise ValueError(f"Check '{check}' not found")
ValueError: Check 'googlefonts/glyphsets/shape_languages' not found
(venv) ; which fontbakery
/Users/drj/prj/venv/bin/fontbakery
(venv) ; fontbakery --version
1.0.0
Expected behaviour
Should give error message about installing with python -m pip install -U 'fontbakery[googlefonts]' or similar.
Resources and steps needed to reproduce
On macOS Python 3.10 but i doubt it matters.
Metadata
Metadata
Assignees
Labels
No labels