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.

TRACEBACK Failure to generate ghmarkdown for Unna

See original GitHub issue

Tried to Generate a markdown report for the following PR, https://github.com/Omnibus-Type/Unna/pull/6

CLI input:

fontbakery check-googlefonts ~/Documents/googlefonts/manual_font_cleaning/Unna/fonts/ttf/*.ttf --ghmarkdown ~/Desktop/Unna.md

Traceback:

Traceback (most recent call last):
  File "/Users/marc/Documents/googlefonts/fontbakery/venv_dev/bin/fontbakery", line 9, in <module>
    load_entry_point('fontbakery==0.5.1.dev28+g39c4540c', 'console_scripts', 'fontbakery')()
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/cli.py", line 22, in main
    "fontbakery.commands." + subcommand_module, run_name='__main__')
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/commands/check_googlefonts.py", line 28, in <module>
    sys.exit(main())
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/commands/check_specification.py", line 287, in main
    args.ghmarkdown.write(mdr.get_markdown())
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/reporters/ghmarkdown.py", line 87, in get_markdown
    "".join(map(self.check_md, family_checks)) + "<br>")
  File "/Users/marc/Documents/googlefonts/fontbakery/Lib/fontbakery/reporters/ghmarkdown.py", line 44, in check_md
    checkid = check["key"][1].split(":")[1].split(">")[0]
IndexError: list index out of range

Fontbakery version 0.5.1.dev28+g39c4540c

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
graphicorecommented, Nov 14, 2018

It’s related to PIP, as I showed above.

0reactions
felipesanchescommented, Nov 23, 2018

OK. For now I will just revert PR #2167 and then if this is strictly needed for @madig then we can give it a second chance later taking care of not breaking other things.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ: How do I mark a solution? - RStudio Community
Is there a way to do a filtered rank that preserves a full data frame? Unable to open new project, loading forever. Audio...
Read more >
python exceptions traceback Code Example - Code Grepper
import traceback try: raise TypeError("Oups!") except Exception, err: try: raise TypeError("Again !?!") except: pass traceback.print_exc()
Read more >
get traceback from knitr on error - Stack Overflow
You can set opts_chunk$set(error = FALSE) , then you will be able to run traceback() when an error occurs. This requires you to...
Read more >
Extended Syntax - Markdown Guide
The basic Markdown syntax allows you to create code blocks by indenting lines by four spaces or one tab. If you find that...
Read more >
view the source code - Rmgss.net
It is designed so that publishing a page requires no more than dropping a markdown page in the appropriate directory (though you need...
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