Bug 223367
Summary: | check-webkit-style fails with UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 3450534: invalid start byte on a big patch | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aakash_jain, ap, ddkilzer, jbedard, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Kimmo Kinnunen
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
<rdar://problem/75775460>