[Webkit-unassigned] [Bug 159394] New: webkit-patch failure-reason always raises TypeError
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 3 23:21:06 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159394
Bug ID: 159394
Summary: webkit-patch failure-reason always raises TypeError
Classification: Unclassified
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
> $ ./Tools/Scripts/webkit-patch failure-reason
> Auto-installing package: mechanize
> 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 "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 305, in main
> result = command.check_arguments_and_execute(options, args, self)
> File "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/multicommandtool.py", line 123, in check_arguments_and_execute
> return self.execute(options, args, tool) or 0
> File "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/commands/queries.py", line 334, in execute
> (builder, latest_revision) = self._builder_to_explain()
> File "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/commands/queries.py", line 318, in _builder_to_explain
> print "%s failing" % (pluralize("builder", len(red_statuses)))
> File "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/grammar.py", line 43, in pluralize
> noun = plural(noun)
> File "/home/fujii/work/webkit/git/Tools/Scripts/webkitpy/tool/grammar.py", line 35, in plural
> if re.search("h$", noun):
> File "/usr/lib/python2.7/re.py", line 146, in search
> return _compile(pattern, flags).search(string)
> TypeError: expected string or buffer
> $
In r170637 (Bug 133067), the first and second arguments of pluralize were swapped.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160704/c8bc8810/attachment-0001.html>
More information about the webkit-unassigned
mailing list