Skip to content

[KNOWN BUG] Template renderer crashes with unhandled traceback on non-UTF-8 files #3

@simonsigre

Description

@simonsigre

When a template file or XQL snippet contains non-UTF-8 bytes (e.g. content copied from a PDF or Word document), the summon template command crashes with a raw Python traceback. The error message gives no indication of which file or line caused the problem.
Fixed by catching encoding errors and reporting the file name, line number, column, and the offending character position.

Will be fixed in next release

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions