UnicodeDecodeError has occurred on windows-latest
See original GitHub issueHi.
I use this action for the output of e2e-test result. And, I has error about UnicodeDecodeError at windows-latest environment. The error occurred only at windows-latest, but not occurred at mac-latest.
My workflow definition is below .
- uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
And, error log is below.
Traceback (most recent call last):
File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\composite/../python/publish_unit_test_results.py", line 224, in <module>
settings = get_settings(options, gha)
File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\composite/../python/publish_unit_test_results.py", line 161, in get_settings
event = json.load(f)
File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 562: character maps to <undefined>
Error: Process completed with exit code 1.
I check GITHUB_EVENT_PATH, and I find that the text include emoji because of commit message. Is emoji is cause of error?
I can’t solve this problem by myself, so please give me some solution or something. Thank you.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff ...
I've come across this thread when suffering the same error, after doing some research I can confirm, this is an error that happens...
Read more >UnicodeDecodeError - Python Wiki
The UnicodeDecodeError normally happens when decoding an str string from a certain coding. Since codings map only a limited number of str ...
Read more >Python 3 Notes: Reading and Writing Methods
"UnicodeDecodeError" means you have a file encoding issue. Each computer has its own system-wide default encoding, and the file you are trying to...
Read more >GSCE-841: Error: "UnicodeDecodeError: 'utf-8' codec can't ...
Error: "UnicodeDecodeError: 'utf-8' codec can't decode byte" returns from Alteryx.installPackages() when installing fails in Windows Japanese OS.
Read more >UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 ...
Bug 1585565 - [lint.eslint] Work around mozprocess Windows + Python 3 bug, r? ... The error occurred in code that was called by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I could reproduce the issue with a
push
event. It is worrying that the issue is not persistent, lets hope the fix is. I am going to release this tomorrow morning (in about 12 hours).This has been released and is available under
@v1
. Thanks for raising this annoying issue.