question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[reporters][markdown] traceback when checking AmaticSC

See original GitHub issue

Attempted to gen a markdown report for AmaticSC-Regular and got the following traceback.

Traceback (most recent call last):
  File "/Users/marc/Documents/googlefonts/fontbakery/venv/bin/fontbakery", line 9, in <module>
    load_entry_point('fontbakery==0.3.5.dev231+g127ce2e4', 'console_scripts', 'fontbakery')()
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/cli.py", line 24, in main
    "fontbakery.commands." + subcommand_module, run_name='__main__')
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 192, in run_module
    fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/commands/check_googlefonts.py", line 31, in <module>
    sys.exit(main())
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/commands/check_specification.py", line 285, in main
    args.ghmarkdown.write(mdr.get_markdown())
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/reporters/ghmarkdown.py", line 79, in get_markdown
    if self.omit_loglevel(check["result"]):
TypeError: list indices must be integers, not unicode

CLI I used was:

fontbakery check-googlefonts -l FAIL ./AmaticSC/fonts/ttf/AmaticSC-Regular.ttf -g *check --ghmarkdown plus.md

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
m4rc1ecommented, May 17, 2018

Thank you for implementing this so quickly.

0reactions
m4rc1ecommented, May 17, 2018

These one are legit.

We can ignore overlapping contours and points not on extremes though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amatic SC - Google Fonts
Amatic SC (Small Caps) is a simple but effective hand drawn webfont. It can be used for titling and small runs of text....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found