Bug 222059

Summary: [Python-3] UnicodeDecodeError when checking for an interpreter on Windows
Product: WebKit Reporter: Don Olmstead <don.olmstead>
Component: Tools / TestsAssignee: Don Olmstead <don.olmstead>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 221815    
Attachments:
Description Flags
Patch none

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>