A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/JessicaTegner/pypandoc/issues/269 below:

KeyError in _classify_pandoc_logging when the message format does not fit the assumptions · Issue #269 · JessicaTegner/pypandoc · GitHub

Since #250, I have an issue with the _classify_pandoc_logging function : when the parsed message does not fit the expected format, the parsing can end in a KeyError. For example, pandoc-include has a warning formatted like this:

[Warn] included file not found: path_of_the_file

Warn isn't in the dictionnary of expected log levels, which raises a KeyError on line 422:

yield level_map[level], "\n".join(log_msgs)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4