AlphaPy
AlphaPy copied to clipboard
Index out of range when running sportflow
Describe the bug I have just installed sportflow and following the readme I get an error 'index out of range'.
To Reproduce Steps to reproduce the behavior:
- Execute sflow -pdate 2016-03-01
- See error
Traceback (most recent call last):
File "/home/cif/anaconda3/bin/sflow", line 8, in
sys.exit(main()) File "/home/cif/anaconda3/lib/python3.8/site-packages/alphapy/sport_flow.py", line 678, in main args = parser.parse_args() File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 1771, in parse_args self.error(msg % ' '.join(argv)) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 2519, in error self.print_usage(_sys.stderr) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 2489, in print_usage self._print_message(self.format_usage(), file) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 2455, in format_usage return formatter.format_help() File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 282, in format_help help = self._root_section.format_help() File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 213, in format_help item_help = join([func(*args) for func, args in self.items]) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 213, in item_help = join([func(*args) for func, args in self.items]) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 320, in _format_usage action_usage = format(optionals + positionals, groups) File "/home/cif/anaconda3/lib/python3.8/argparse.py", line 395, in _format_actions_usage start = actions.index(group._group_actions[0]) IndexError: list index out of range
Expected behavior See sportflow output.
Desktop (please complete the following information):
- OS: [e.g. iOS] Ubuntu 20.10
- Browser [e.g. chrome, safari] NA
- Version [e.g. 22] NA