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

Work around non-UTF-8 output from commands #752

Merged
merged 3 commits into from
Apr 4, 2022

Conversation

TimoWilken
Copy link
Contributor

If commands call output something other than UTF-8, then try decoding as ISO-8859-1, which should cover everything. This way, we shouldn't get any encoding errors any more.

Fixes #738.

If commands call output something other than UTF-8, then try decoding as
ISO-8859-1, which should cover everything. This way, we shouldn't get any
encoding errors any more.
@TimoWilken TimoWilken requested a review from ktf April 1, 2022 11:55
@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2022

Codecov Report

Merging #752 (8c9ca84) into master (8622569) will decrease coverage by 0.01%.
The diff coverage is 88.00%.

❗ Current head 8c9ca84 differs from pull request most recent head 8900b23. Consider uploading reports for the commit 8900b23 to get more accurate results

@@            Coverage Diff             @@
##           master     #752      +/-   ##
==========================================
- Coverage   87.18%   87.17%   -0.02%     
==========================================
  Files          29       29              
  Lines        2973     2970       -3     
==========================================
- Hits         2592     2589       -3     
  Misses        381      381              
Impacted Files Coverage Δ
alibuild_helpers/cmd.py 95.18% <86.95%> (-2.08%) ⬇️
alibuild_helpers/utilities.py 89.58% <100.00%> (+0.19%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@ktf ktf merged commit 35bf9aa into alisw:master Apr 4, 2022
@TimoWilken TimoWilken deleted the encoding-errors branch April 29, 2022 12:33
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

Successfully merging this pull request may close these issues.

Compilation of GEANT4 fails with python error
3 participants