WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
223367
check-webkit-style fails with UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 3450534: invalid start byte on a big patch
https://bugs.webkit.org/show_bug.cgi?id=223367
Summary
check-webkit-style fails with UnicodeDecodeError: 'utf-8' codec can't decode ...
Kimmo Kinnunen
Reported
2021-03-17 01:30:51 PDT
kinnunen@Kimmos-iMac-Pro OpenSource % tools/Scripts/check-webkit-style -g HEAD Traceback (most recent call last): File "tools/Scripts/check-webkit-style", line 46, in <module> sys.exit(CheckWebKitStyle().main()) File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/style/main.py", line 159, in main patch_checker.check(patch) File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/webkitpy/style/patchreader.py", line 60, in check patch_string = string_utils.decode(patch_string, target_type=str) File "/Users/kkinnunen/WebKit/OpenSource/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/string_utils.py", line 44, in decode return data.decode(encoding, errors=errors) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 3450534: invalid start byte The patch is relatively big patch in
bug 222964
. One can try to simulate the patch also by moving LayoutTests/webgl/{1.0.3,2.0.0} directories around -- unsure if it repros because of lot of files moved, or if there was a particular piece of content that triggers the problem.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-03-24 01:31:12 PDT
<
rdar://problem/75775460
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug