-
Notifications
You must be signed in to change notification settings - Fork 37
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
searchkit doesn't handle unicode errors #860
Comments
It looks like there are some characters from the ANSI charset in the kern.log file, which does not play nicely with the UTF-8 decoding. I think there are two possible solution paths here: a-) skip the offending line |
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
Yeah, searchkit's maintainer actually handled it by providing an option to ignore it :) |
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
When UTF-8 decoding fails, searchkit throws an exception. Passing decode_errors='backslashreplace' to cope with that. Fixes canonical#860. Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
/customers/sncf/00382281/sosreport-ht202opp01-SNCF-00382281-2024-04-16-rmraxob.tar.xz
has the problematickern.log
.The text was updated successfully, but these errors were encountered: