[Labs-l] [Tools] jsub rewrite being deployed today
Bruce Myers
bruce at brucemyers.com
Mon May 9 20:30:21 UTC 2016
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
On 16-05-09 01:14 PM, Yuvi Panda wrote:
> Hello!
>
> Thanks to wonderful efforts from Bryan Davis, we're deploying a
> cleaner and rewritten version of jsub (used to submit jobs to the grid
> on Tool Labs) today. This should produce no change in behavior for
> users - but do let us know if it does! You can find more information
> at https://phabricator.wikimedia.org/T132475
>
> Thanks.
>
More information about the Labs-l
mailing list