[Labs-l] [Tools] jsub rewrite being deployed today
Bryan Davis
bd808 at wikimedia.org
Tue May 10 03:24:18 UTC 2016
On Mon, May 9, 2016 at 7:54 PM, Bryan Davis <bd808 at wikimedia.org> wrote:
> On Mon, May 9, 2016 at 2:30 PM, Bruce Myers <bruce at brucemyers.com> wrote:
>> The following command, which worked in the past, now fails.
>> jsub -N TemplateParamBot -cwd -mem 768m php TemplateParamBot.php
>> dumptemplateids enwiki
>>
>> Traceback (most recent call last):
>> File "/usr/bin/jsub", line 622, in <module>
>> main()
>> File "/usr/bin/jsub", line 519, in main
>> args = build_parser().parse_args(namespace=args)
>> File "/usr/lib/python2.7/argparse.py", line 1690, in parse_args
>> args, argv = self.parse_known_args(args, namespace)
>> File "/usr/lib/python2.7/argparse.py", line 1722, in parse_known_args
>> namespace, args = self._parse_known_args(args, namespace)
>> File "/usr/lib/python2.7/argparse.py", line 1928, in _parse_known_args
>> start_index = consume_optional(start_index)
>> File "/usr/lib/python2.7/argparse.py", line 1868, in consume_optional
>> take_action(action, args, option_string)
>> File "/usr/lib/python2.7/argparse.py", line 1796, in take_action
>> action(self, namespace, argument_values, option_string)
>> File "/usr/bin/jsub", line 172, in __call__
>> values = values[0]
>> IndexError: list index out of range
>
> Filed as https://phabricator.wikimedia.org/T134836 and fix ready at
> https://gerrit.wikimedia.org/r/#/c/287883/. This bug would effect the
> -cwd, -hard, and -soft arguments to jsub.
The fix for this has been deployed.
Bryan
--
Bryan Davis Wikimedia Foundation <bd808 at wikimedia.org>
[[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA
irc: bd808 v:415.839.6885 x6855
More information about the Labs-l
mailing list