Skip to content

UnicodeDecodeError doesn't provide file details #32

@jwhco

Description

@jwhco

While using vault = otools.Vault(obsidian_vault).connect().gather() to connect to my vault, it runs then gives a UnicodeDecodeError. I like how it provides errors about YAML header problems, but this one is hard to debug.

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 90: invalid start byte

There isn't enough information in the error to know where the file loading failed. Is there a DEBUG flag or way to include the filename in error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions