You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The remote_styles condition uses https://fonts.google.com/download/list?family={} to get a manifest of filenames and URLs to download the font family, but this URL no longer provides such a list, so anything which calls remote_styles crashes with an error:
File "/Users/simon/others-repos/fontbakery/Lib/fontbakery/checks/googlefonts/conditions.py", line 311,
in regular_remote_style
remote_styles = font.remote_styles
^^^^^^^^^^^^^^^^^^
File
"/usr/local/Cellar/python@3.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/functools.p
y", line 993, in __get__
val = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/Users/simon/others-repos/fontbakery/Lib/fontbakery/checks/googlefonts/conditions.py", line 287,
in remote_styles
for item in data["manifest"]["fileRefs"]:
~~~~^^^^^^^^^^^^
KeyError: 'manifest'
Suggest looking at how gftools.utils.download_family_from_Google_Fonts works. Although it seems to use the same URL. Um. Don't know.
The text was updated successfully, but these errors were encountered:
The remote_styles condition uses
https://fonts.google.com/download/list?family={}
to get a manifest of filenames and URLs to download the font family, but this URL no longer provides such a list, so anything which callsremote_styles
crashes with an error:Suggest looking at how
gftools.utils.download_family_from_Google_Fonts
works. Although it seems to use the same URL. Um. Don't know.The text was updated successfully, but these errors were encountered: