xzeng[^_^]mhoffman7:/scratch/install/segway/default/segway$ segway
Traceback (most recent call last):
File "/users/xzeng/.local/bin/segway", line 9, in <module>
load_entry_point('segway==1.3.2.dev0', 'console_scripts', 'segway')()
File "/users/xzeng/.local/lib/python2.7/site-packages/segway-1.3.2.dev0-py2.7.egg/segway/run.py", line 2834, in main
options, args = parse_options(args)
File "/users/xzeng/.local/lib/python2.7/site-packages/segway-1.3.2.dev0-py2.7.egg/segway/run.py", line 2823, in parse_options
if args[0] == "train":
IndexError: list index out of range
It should output segway usage message, however.
I would expect something like:
if len(args) < 1:
parser.error("Specify Training or Testing.")
Original report (BitBucket issue) by Sakura Tamaki (Bitbucket: Tamaki_Sakura).
It should output segway usage message, however.
I would expect something like: