WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237339
[WinCairo][pywebsocket3] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 640: character maps to <undefined>
https://bugs.webkit.org/show_bug.cgi?id=237339
Summary
[WinCairo][pywebsocket3] UnicodeDecodeError: 'charmap' codec can't decode byt...
Fujii Hironori
Reported
2022-03-01 12:55:38 PST
[WinCairo][pywebsocket3] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 640: character maps to <undefined> After
r290580
started to use pywebsocket3 and Python 3, WinCairo testing buildbot is failing. Buildbot: builder WinCairo-64-bit-WKL-Release-Tests build 5738
https://build.webkit.org/#/builders/60/builds/5738
> webkitpy.layout_tests.servers.http_server_base.ServerError: Server exited
On my PC, pywebsocket.ws.log-err.txt has the following error message: [2022-03-01 20:45:15,489] [CRITICAL] root: mod_pywebsocket: 'charmap' codec can't decode byte 0x9d in position 640: character maps to <undefined> [2022-03-01 20:45:15,489] [CRITICAL] root: mod_pywebsocket: Traceback (most recent call last): File "C:\home\webkit\gb\LayoutTests\imported\w3c\web-platform-tests\tools\third_party\pywebsocket3\mod_pywebsocket\standalone.py", line 470, in _main server = WebSocketServer(options) File "C:\home\webkit\gb\LayoutTests\imported\w3c\web-platform-tests\tools\third_party\pywebsocket3\mod_pywebsocket\websocket_server.py", line 90, in __init__ options.dispatcher = dispatch.Dispatcher( File "C:\home\webkit\gb\LayoutTests\imported\w3c\web-platform-tests\tools\third_party\pywebsocket3\mod_pywebsocket\dispatch.py", line 208, in __init__ self._source_handler_files_in_dir(root_dir, scan_dir, File "C:\home\webkit\gb\LayoutTests\imported\w3c\web-platform-tests\tools\third_party\pywebsocket3\mod_pywebsocket\dispatch.py", line 373, in _source_handler_files_in_dir handler_suite = _source_handler_file(handler_file.read()) File "C:\Python39\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 640: character maps to <undefined>
Attachments
WIP patch (-X utf8)
(946 bytes, patch)
2022-03-01 12:56 PST
,
Fujii Hironori
no flags
Details
Formatted Diff
Diff
WIP patch (PYTHONUTF8)
(583 bytes, patch)
2022-03-01 13:01 PST
,
Fujii Hironori
no flags
Details
Formatted Diff
Diff
Patch
(1.48 KB, patch)
2022-03-01 13:16 PST
,
Fujii Hironori
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2022-03-01 12:56:04 PST
Created
attachment 453527
[details]
WIP patch (-X utf8)
Fujii Hironori
Comment 2
2022-03-01 13:01:00 PST
Created
attachment 453530
[details]
WIP patch (PYTHONUTF8)
Fujii Hironori
Comment 3
2022-03-01 13:16:52 PST
Created
attachment 453532
[details]
Patch
Fujii Hironori
Comment 4
2022-03-01 15:47:29 PST
Comment on
attachment 453532
[details]
Patch Clearing flags on attachment: 453532 Committed
r290682
(
247953@trunk
): <
https://commits.webkit.org/247953@trunk
>
Fujii Hironori
Comment 5
2022-03-01 15:47:33 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2022-03-01 15:48:15 PST
<
rdar://problem/89646388
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug