[Webkit-unassigned] [Bug 237339] New: [WinCairo][pywebsocket3] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 640: character maps to <undefined>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 1 12:55:38 PST 2022


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

            Bug ID: 237339
           Summary: [WinCairo][pywebsocket3] UnicodeDecodeError: 'charmap'
                    codec can't decode byte 0x9d in position 640:
                    character maps to <undefined>
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com
        Depends on: 230319

[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>


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=230319
[Bug 230319] rwt: Switch pywebsocket from the old tools/pywebsocket to the new tools/third_party/pywebsocket3
-- 
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/20220301/70e63344/attachment-0001.htm>


More information about the webkit-unassigned mailing list