Bug 241356
Summary: | REGRESSION(250081@main): Parsing error in generate-message-receiver.py | ||
---|---|---|---|
Product: | WebKit | Reporter: | Diego Pino <dpino> |
Component: | New Bugs | Assignee: | Diego Pino <dpino> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Diego Pino
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/1338
EWS
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
<rdar://problem/94500574>