[Webkit-unassigned] [Bug 87548] New: check-webkit-style cannot running in Chinese windows.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 25 16:35:32 PDT 2012


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

           Summary: check-webkit-style cannot running in Chinese windows.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: huangxueqing at baidu.com
                CC: tony at chromium.org


The traceback as:
$ ./check-webkit-style --help
Traceback (most recent call last):
  File "./check-webkit-style", line 48, in <module> sys.exit(CheckWebKitStyle().main())
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/style/main.py", line 126, in main host = Host()
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/host.py", line 49, in __init__    SystemHost.__init__(self)
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/systemhost.py", line 40, in __init__  self.user = user.User()
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/user.py", line 61, in __init__  self._platforminfo = platforminfo or PlatformInfo(sys, platform, Executive())
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/platforminfo.py", line 56, in __init__  self.os_version = self._determine_win_version(self._win_version_tuple(sys_module))
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/platforminfo.py", line 132, in _win_version_tuple  return self._win_version_tuple_from_cmd()
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/platforminfo.py", line 136, in _win_version_tuple_from_cmd   ver_output = self._executive.run_command(['cmd', '/c', 'ver'])
  File "/cygdrive/e/webkit/Tools/Scripts/webkitpy/common/system/executive.py", line 402, in run_command  output = output.decode(self._child_process_encoding())
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode  return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 21: unexpected code byte

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list