Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make non-ascii character error in YAML parse more specific #265

Open
pablo-de-andres opened this issue Jun 22, 2020 · 1 comment
Open

Make non-ascii character error in YAML parse more specific #265

pablo-de-andres opened this issue Jun 22, 2020 · 1 comment
Labels
🔨 simple fix Likely to be solvable in at most a few hours (full-time). pico Issue affecting the PICO ontology installer.

Comments

@pablo-de-andres
Copy link
Member

In GitLab by @pablo-de-andres on Mar 5, 2020, 13:40

Relates to #255.
When PyYaml finds a non-ascii character, it raises a UnicodeDecodeError: 'charmap' codec can't decode byte 0xBB in position xxx

We should try to make the error more informative, maybe provide a position for the character if possible?

@pablo-de-andres pablo-de-andres added owl conversion pico Issue affecting the PICO ontology installer. 🔨 simple fix Likely to be solvable in at most a few hours (full-time). labels Jun 22, 2020
@pablo-de-andres
Copy link
Member Author

In GitLab by @urbanmatthias on Mar 5, 2020, 13:41

We could also state in the error message, that this problem only occurs on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 simple fix Likely to be solvable in at most a few hours (full-time). pico Issue affecting the PICO ontology installer.
Projects
None yet
Development

No branches or pull requests

1 participant