Skip to content

Instantly share code, notes, and snippets.

@jtopjian
Created June 1, 2015 18:06
Show Gist options
  • Select an option

  • Save jtopjian/d36346b8b69b642203df to your computer and use it in GitHub Desktop.

Select an option

Save jtopjian/d36346b8b69b642203df to your computer and use it in GitHub Desktop.
st2 rule list
2015-06-01 18:04:19,702 140437933276688 DEBUG log [-] API call failed: argument of type 'NoneType' is not iterable
2015-06-01 18:04:19,703 140437933276688 DEBUG log [-] Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 625, in __call__
self.invoke_controller(controller, args, kwargs, state)
File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 531, in invoke_controller
result = controller(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/st2common/models/api/base.py", line 160, in callfunction
result = f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/st2api/controllers/resource.py", line 200, in get_all
return self._get_all(**kwargs)
File "/usr/lib/python2.7/dist-packages/st2api/controllers/resource.py", line 230, in _get_all
item.ref = ResourceReference(pack=pack, name=name).ref
File "/usr/lib/python2.7/dist-packages/st2common/models/system/common.py", line 46, in __init__
self.pack = self.validate_pack_name(pack=pack)
File "/usr/lib/python2.7/dist-packages/st2common/models/system/common.py", line 80, in validate_pack_name
if PACK_SEPARATOR in pack:
TypeError: argument of type 'NoneType' is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment