Bug 222059 - [Python-3] UnicodeDecodeError when checking for an interpreter on Windows
Summary: [Python-3] UnicodeDecodeError when checking for an interpreter on Windows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
Depends on:
Blocks: 221815
  Show dependency treegraph
 
Reported: 2021-02-17 11:49 PST by Don Olmstead
Modified: 2021-02-17 12:34 PST (History)
4 users (show)

See Also:


Attachments
Patch (1.84 KB, patch)
2021-02-17 11:58 PST, Don Olmstead
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2021-02-17 11:49:17 PST
[3/6] webkitpy.port.server_process_unittest.TestServerProcess.serial_test_basic erred:
  Traceback (most recent call last):
    File "C:\webkit\Tools\Scripts\webkitpy\port\server_process_unittest.py", line 114, in serial_test_basic
      proc.write(b'')
    File "C:\webkit\Tools\Scripts\webkitpy\port\server_process.py", line 183, in write
      self._start()
    File "C:\webkit\Tools\Scripts\webkitpy\port\server_process.py", line 134, in _start
      self._proc = self._target_host.executive.popen(self._cmd, stdin=self._target_host.executive.PIPE,
    File "C:\webkit\Tools\Scripts\webkitpy\common\system\executive.py", line 487, in popen
      line = f.readline()
    File "C:\Users\eolmstead\Documents\webkit-trunk\tools\python3\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 0x90 in position 2: character maps to <undefined>
Comment 1 Don Olmstead 2021-02-17 11:58:55 PST
Created attachment 420690 [details]
Patch
Comment 2 EWS 2021-02-17 12:33:05 PST
Committed r273021: <https://commits.webkit.org/r273021>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 420690 [details].
Comment 3 Radar WebKit Bug Importer 2021-02-17 12:34:13 PST
<rdar://problem/74445592>