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.

adobefonts profile causing traceback

See original GitHub issue

Observed behaviour

fontbakery check-adobefonts causes traceback during reporting, resulting in empty report file.

Expected behaviour

No traceback occurs and report file is not empty.

Resources and exact process needed to replicate

fontbakery check-adobefonts --html out.html NotoMono-Regular.ttf
  • Tests seem to run to completion but results in traceback:
DONE!

Traceback (most recent call last):
  File "/usr/local/bin/fontbakery", line 11, in <module>
    load_entry_point('fontbakery', 'console_scripts', 'fontbakery')()
  File "/smith/fontbakery/Lib/fontbakery/cli.py", line 22, in main
    "fontbakery.commands." + subcommand_module, run_name='__main__')
  File "/usr/lib/python3.6/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/smith/fontbakery/Lib/fontbakery/commands/check_adobefonts.py", line 30, in <module>
    sys.exit(main())
  File "/smith/fontbakery/Lib/fontbakery/commands/check_profile.py", line 311, in main
    args.html.write(hr.get_html())
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 65, in get_html
    self.html_for_check(result),
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 106, in html_for_check
    check["logs"].sort(key=lambda c: LOGLEVELS.index(c["status"]))
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 106, in <lambda>
    check["logs"].sort(key=lambda c: LOGLEVELS.index(c["status"]))
ValueError: 'DEBUG' is not in list

and the out.html file is zero length.

Same things happens with --ghmarkdown reporting.

However, if neither reporter is used, e.g., fontbakery check-adobefonts NotoMono-Regular.ttf then no traceback occurs.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
felipesanchescommented, Sep 12, 2019

ok… I’ve just looked at it more carefully 😄

0reactions
felipesanchescommented, Sep 12, 2019

😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot font activation problems in Creative Cloud
1. Install Creative Cloud desktop · 2. Launch the Creative Cloud desktop app · 3. Confirm account information · 4. Check the font...
Read more >
Resolving font activation errors and conflicts - Adobe Support
Font activation and deactivation may fail due to an interruption in your network connection or a conflict with your locally installed fonts.
Read more >
Resolve missing fonts in desktop applications - Adobe Support
If you see a Missing Fonts message upon opening a file in one of your desktop applications, this means that the file uses...
Read more >
Profile | Adobe Fonts
Explore Profile designed by Martin Wenzel at Adobe Fonts. ... Popular Adobe Express templates that use Profile. Recommendations. Fonts like Profile.
Read more >
Adobe Text - Adobe Fonts
Fonts like Adobe Text. Similar to {{variation['original_font']['name']}}. Adobe Text font pairings. About. Type Designer. Designer's profile image.
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