adobefonts profile causing traceback
See original GitHub issueObserved 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
- Download NotoMono-Regular.ttf or use any handy ttf file.
- From command line run:
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:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok… I’ve just looked at it more carefully 😄
😄