<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - webkit-patch failure-reason always raises TypeError"
href="https://bugs.webkit.org/show_bug.cgi?id=159394">159394</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>webkit-patch failure-reason always raises TypeError
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Tools / Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Hironori.Fujii@sony.com
</td>
</tr>
<tr>
<th>CC</th>
<td>lforschler@apple.com
</td>
</tr></table>
<p>
<div>
<pre><span class="quote">> $ ./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
> $</span >
In r170637 (<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [webkitpy] Refactor pluralizer in grammar.py"
href="show_bug.cgi?id=133067">Bug 133067</a>), the first and second arguments of pluralize were swapped.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>