Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fontbakery.com error: freetype_rasterizer not found #4893

Open
eweracs opened this issue Nov 11, 2024 · 3 comments
Open

fontbakery.com error: freetype_rasterizer not found #4893

eweracs opened this issue Nov 11, 2024 · 3 comments
Assignees

Comments

@eweracs
Copy link

eweracs commented Nov 11, 2024

Observed behaviour

When dropping a font file onto the fontbakery.com site and running FB, the following error is immediately reported:

Traceback (most recent call last):
  File "/lib/python311.zip/_pyodide/_base.py", line 540, in eval_code_async
    await CodeRunner(
  File "/lib/python311.zip/_pyodide/_base.py", line 363, in run_async
    coroutine = eval(self.code, globals, locals)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "", line 5, in 
  File "/home/pyodide/fbwebapi.py", line 79, in run_fontbakery
    profile = profile_factory(import_module("fontbakery.profiles." + profilename))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.11/site-packages/fontbakery/fonts_profile.py", line 151, in profile_factory
    add_checks_to_nascent_profile(
  File "/lib/python3.11/site-packages/fontbakery/fonts_profile.py", line 116, in add_checks_to_nascent_profile
    raise ValueError(f"Check '{check}' not found")
ValueError: Check 'freetype_rasterizer' not found

Expected behaviour

This shouldn't happen.

Resources and steps needed to reproduce

Drop any font file onto the fontbakery.com site and run any profile.

@simoncozens simoncozens self-assigned this Nov 11, 2024
@andreubalius
Copy link

andreubalius commented Nov 17, 2024

Also the same problem with Type Network:

Traceback (most recent call last):
File "/lib/python311.zip/_pyodide/_base.py", line 540, in eval_code_async
await CodeRunner(
File "/lib/python311.zip/_pyodide/_base.py", line 363, in run_async
coroutine = eval(self.code, globals, locals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 5, in
File "/home/pyodide/fbwebapi.py", line 79, in run_fontbakery
profile = profile_factory(import_module("fontbakery.profiles." + profilename))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/fontbakery/fonts_profile.py", line 140, in profile_factory
included_profile = profile_factory(module)
^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/fontbakery/fonts_profile.py", line 151, in profile_factory
add_checks_to_nascent_profile(
File "/lib/python3.11/site-packages/fontbakery/fonts_profile.py", line 116, in add_checks_to_nascent_profile
raise ValueError(f"Check '{check}' not found")
ValueError: Check 'freetype_rasterizer' not found

@eweracs
Copy link
Author

eweracs commented Nov 17, 2024

Yes, as I pointed out, this occurs with any profile.

@simoncozens
Copy link
Collaborator

I think I've fixed this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants