[Webkit-unassigned] [Bug 223367] New: check-webkit-style fails with UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 3450534: invalid start byte on a big patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 17 01:30:51 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=223367

            Bug ID: 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
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com

kinnunen at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210317/2ff356fd/attachment.htm>


More information about the webkit-unassigned mailing list