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

Include better explanation in error message #1683

Closed
mehmetaergun opened this issue Oct 12, 2014 · 0 comments
Closed

Include better explanation in error message #1683

mehmetaergun opened this issue Oct 12, 2014 · 0 comments

Comments

@mehmetaergun
Copy link

This is related to the closed issue #536 .

It would be very useful if the user tries to run "pandoc input.odt [-o output.txt]" to specify that

"Pandoc can convert to ODT, but not from ODT; to convert from ODT, we recommend using LibreOffice to convert the file to HTML; then use pandoc on the result."

The previous error message "hGetContents: invalid argument (invalid byte sequence)" and the current error message (as per changelog) "invalid UTF-8 stream" is not practical for end users to diagnose the issue when they encounter it.

Thanks

Edit: mention of changelog item for c80ffe9#diff-ba7984d3c29de05a63bd95889f1bac2f and its new error message

@jgm jgm closed this as completed in 6eda328 Oct 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant