[Webkit-unassigned] [Bug 241356] New: REGRESSION(250081 at main): Parsing error in generate-message-receiver.py

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 19:06:11 PDT 2022


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

            Bug ID: 241356
           Summary: REGRESSION(250081 at main): Parsing error in
                    generate-message-receiver.py
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

I got the following stacktrace while building WebKitGTK:

```
Traceback (most recent call last):
  File "/home/dpino/playwright/browser_patches/webkit/checkout/Source/WebKit/Scripts/generate-message-receiver.py", line 92, in <module>
        sys.exit(main(sys.argv))
  File "/home/dpino/playwright/browser_patches/webkit/checkout/Source/WebKit/Scripts/generate-message-receiver.py", line 52, in main
        receiver = webkit.parser.parse(source_file)
  File "/home/dpino/playwright/browser_patches/webkit/checkout/Source/WebKit/Scripts/webkit/parser.py", line 52, in parse
        for line in file:
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 1776: ordinal not in range(128)
```

Debugging the list of parsed files, it seems an extra non-ascii character in "Source/WebKit/Shared/IPCTester.messages.in" caused the parsing error.

-- 
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/20220607/6b8a608d/attachment.htm>


More information about the webkit-unassigned mailing list