RESOLVED FIXED 241356
REGRESSION(250081@main): Parsing error in generate-message-receiver.py
https://bugs.webkit.org/show_bug.cgi?id=241356
Summary REGRESSION(250081@main): Parsing error in generate-message-receiver.py
Diego Pino
Reported 2022-06-06 19:06:11 PDT
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.
Attachments
Diego Pino
Comment 1 2022-06-06 19:10:13 PDT
EWS
Comment 2 2022-06-07 00:17:02 PDT
Committed r295334 (251353@main): <https://commits.webkit.org/251353@main> Reviewed commits have been landed. Closing PR #1338 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-06-07 00:18:13 PDT
Note You need to log in before you can comment on or make changes to this bug.