Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

[dashboard-worker] Fix missing dependencies. #45

Closed
5 tasks done
graphicore opened this issue Sep 8, 2017 · 0 comments · Fixed by #55
Closed
5 tasks done

[dashboard-worker] Fix missing dependencies. #45

graphicore opened this issue Sep 8, 2017 · 0 comments · Fixed by #55
Assignees

Comments

@graphicore
Copy link
Contributor

graphicore commented Sep 8, 2017

This must be done in the draganddrop branch at worker-fontbakery/Dockerfile.

To speed this up, I suggest to append a dockerfile CMD pytest path/to/Lib/fontbakery --verbose (including installing pytest) at the end of the file. Then you can test this outside of minikube and make it fast. You can also just add some files and run fontbakery check-googlefonts (probably you can run this directly from your host!).

These are the errors that need to be handled:

  • com.google.fonts/test/035 Checking with ftxvalidator. message"ftxvalidator is not available!"
  • com.google.fonts/test/036 Checking with ots-sanitize. "ots-sanitize is not available! You really MUST check the fonts with this tool. To install it, see https://github.com/googlefonts/gf-docs/blob/master/ProjectChecklist.md#ots Actual error message was: '[Errno 2] No such file or directory'"
  • com.google.fonts/test/037 Checking with Microsoft Font Validator. "Mono runtime and/or Microsoft Font Validator are not available!"
  • com.google.fonts/test/153 Check if each glyph has the recommended amount of contours. This test is useful to check if glyphs are incorrectly constructed. message"Failed with IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/fontbakery/desired_glyph_data.json'" status"ERROR" traceback"Traceback (most recent call last):\n File \"/usr/local/lib/python2.7/dist-packages/fontbakery/testrunner.py\", line 305, in _exec_test_generator\n for sub_result in gen:\n File \"/usr/local/lib/python2.7/dist-packages/fontbakery/specifications/googlefonts.py\", line 4164, in check_glyphs_have_recommended_contour_count\n from fontbakery.glyphdata import desired_glyph_data\n File \"/usr/local/lib/python2.7/dist-packages/fontbakery/glyphdata.py\", line 58, in <module>\n desired_glyph_data = _glyph_data(desired_glyph_data_path)\n File \"/usr/local/lib/python2.7/dist-packages/fontbakery/glyphdata.py\", line 34, in _glyph_data\n with open(json_file, 'r') as glyph_data:\nIOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/fontbakery/desired_glyph_data.json'\n"
  • com.google.fonts/test/054 Show hinting filesize impact. WARN ttfautohint is not available! You really MUST check the fonts with this tool. To install it, see https://github.com/googlefonts/gf-docs/blob/master/ProjectChecklist.md#ttfautohint

updated added com.google.fonts/test/054 wich is just a WARN

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

Successfully merging a pull request may close this issue.

2 participants