Traceback (most recent call last):


 "/opt/cdn-jms/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/opt/cdn-jms/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/opt/cdn-jms/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/usr/lib/python3.6/contextlib.py", line 52, in inner

return func(*args, **kwds)


 "/opt/cdn-jms/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/opt/cdn-jms/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view

return self.dispatch(request, *args, **kwargs)


 "/opt/cdn-jms/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch

response = self.handle_exception(exc)


 "/opt/cdn-jms/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception

self.raise_uncaught_exception(exc)


 "/opt/cdn-jms/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch

response = handler(request, *args, **kwargs)


 "/opt/cdn-jms/lib/python3.6/site-packages/rest_framework/generics.py", line 201, in get

return self.list(request, *args, **kwargs)


 "/opt/cdn-jms/lib/python3.6/site-packages/rest_framework/mixins.py", line 40, in list

queryset = self.filter_queryset(self.get_queryset())


 "/opt/jumpserver/apps/perms/api/user_permission/user_permission_assets.py", line 49, in get_queryset

queryset = self.util.get_assets().only(*self.only_fields).order_by(


 "/opt/jumpserver/apps/common/utils/common.py", line 208, in wrapper

result = func(*args, **kwargs)


 "/opt/jumpserver/apps/perms/utils/asset_permission.py", line 403, in get_assets

nodes_keys, extra_assets_ids=assets_ids


 "/opt/jumpserver/apps/assets/models/node.py", line 359, in get_nodes_all_assets

assets_ids = cls.get_nodes_all_assets_ids(nodes_keys)


 "/opt/jumpserver/apps/assets/models/node.py", line 351, in get_nodes_all_assets_ids

node_assets_ids = cls.tree().all_assets(key)


 "/opt/jumpserver/apps/assets/utils.py", line 135, in all_assets

if node.data is None:
AttributeError: 'NoneType' object has no attribute 'data'

2018-02-12 15:30:09,893 [salt.minion
:1616][ERROR
][14324] Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1604, in _thread_return

minion_instance.returners[returner_str](ret)


 "/usr/lib/python2.7/dist-packages/salt/returners/slack_returner.py", line 212, in returner

returns = dict((key, value) for key, value in returns.items() if value['result'] is not True or value['changes'])
AttributeError: 'str' object has no attribute 'items'
