[Webkit-unassigned] [Bug 179520] New: [Win] version.py: ValueError: Version expected to be string, integer, tuple or list of integers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 20:19:11 PST 2017


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

            Bug ID: 179520
           Summary: [Win] version.py: ValueError: Version expected to be
                    string, integer, tuple or list of integers
           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
                CC: lforschler at apple.com

[Win] version.py: ValueError: Version expected to be string, integer, tuple or list of integers

Bug 179426 has added version.py.
It reports the following error by using ActivePython 2.7.

> C:\webkit\ga>python ./Tools/Scripts/webkit-patch apply-from-bug --port wincairo --no-update 123
> Traceback (most recent call last):
>   File "./Tools/Scripts/webkit-patch", line 84, in <module>
>     main()
>   File "./Tools/Scripts/webkit-patch", line 79, in main
>     WebKitPatch(os.path.abspath(__file__)).main()
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\tool\main.py", line 57, in __init__
>     Host.__init__(self)
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\host.py", line 48, in __init__
>     SystemHost.__init__(self)
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\system\systemhost.py", line 40, in __init__
>     self.user = user.User()
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\system\user.py", line 61, in __init__
>     self._platforminfo = platforminfo or PlatformInfo(sys, platform, Executive())
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\system\platforminfo.py", line 61, in __init__
>     self.os_version = self._determine_win_version(self._win_version(sys_module))
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\system\platforminfo.py", line 196, in _win_version
>     return Version(sys_module.getwindowsversion())
>   File "C:\webkit\ga\Tools\Scripts\webkitpy\common\version.py", line 46, in __init__
>     raise ValueError('Version expected to be string, integer, tuple or list of integers')
> ValueError: Version expected to be string, integer, tuple or list of integers

I tested with trunk at 224660.

-- 
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/20171110/650fa5eb/attachment-0001.html>


More information about the webkit-unassigned mailing list