Not storm specific but affects its usage. This happened to me after upgrading.
$ storm add --id_file test test.com
Traceback (most recent call last):
File "/usr/local/bin/storm", line 8, in <module>
load_entry_point('stormssh==0.6.1', 'console_scripts', 'storm')()
File "/Library/Python/2.7/site-packages/storm/kommandr.py", line 188, in __call__
self.execute(sys.argv[1:])
File "/Library/Python/2.7/site-packages/storm/kommandr.py", line 179, in execute
arg_map = self.parser.parse_args(arg_list).__dict__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1688, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1720, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1908, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1885, in consume_positionals
take_action(action, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1794, in take_action
action(self, namespace, argument_values, option_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1090, in __call__
namespace, arg_strings = parser.parse_known_args(arg_strings, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1720, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1926, in _parse_known_args
start_index = consume_optional(start_index)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1866, in consume_optional
take_action(action, args, option_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1794, in take_action
action(self, namespace, argument_values, option_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 928, in __call__
items.append(values)
AttributeError: 'str' object has no attribute 'append'
Whereas not using optional arguments does not throwout the same error:
$ storm add google google.com
success google added to your ssh config. you can connect it by typing "ssh google".
I can look into this too but I just thought it should be documented.
bug