Traceback (most recent call last):


 "/opt/py3/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner

response = get_response(request)


 "/opt/py3/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/opt/py3/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response

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


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

return func(*args, **kwds)


 "/opt/py3/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view

return view_func(*args, **kwargs)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/viewsets.py", line 90, in view

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


 "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py", line 489, in dispatch

response = self.handle_exception(exc)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py", line 449, in handle_exception

self.raise_uncaught_exception(exc)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/views.py", line 486, in dispatch

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


 "/opt/py3/lib/python3.6/site-packages/rest_framework/mixins.py", line 48, in list

return Response(serializer.data)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 738, in data

ret = super(ListSerializer, self).data


 "/opt/py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 262, in data

self._data = self.to_representation(self.instance)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 656, in to_representation

self.child.to_representation(item) for item in iterable


 "/opt/py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 656, in <listcomp>

self.child.to_representation(item) for item in iterable


 "/opt/py3/lib/python3.6/site-packages/rest_framework/serializers.py", line 500, in to_representation

ret[field.field_name] = field.to_representation(attribute)


 "/opt/py3/lib/python3.6/site-packages/rest_framework/fields.py", line 1816, in to_representation

return method(value)


 "/opt/jumpserver/apps/assets/serializers.py", line 181, in get_cluster_name

return obj.cluster.name
AttributeError: 'NoneType' object has no attribute 'name'

```Traceback (most recent call last):


 "/home/inkremental-3/gitKraken/luminoth/venv/bin/lumi", line 9, in <module>

load_entry_point('luminoth', 'console_scripts', 'lumi')()


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/inkremental-3/gitKraken/luminoth/luminoth/train.py", line 306, in train

config, environment=environment


 "/home/inkremental-3/gitKraken/luminoth/luminoth/train.py", line 103, in run

name='optimizer_slots_initializer'


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/tensorflow/python/ops/variables.py", line 2566, in variables_initializer

return control_flow_ops.group(*[v.initializer for v in var_list], name=name)


 "/home/inkremental-3/gitKraken/luminoth/venv/lib/python3.5/site-packages/tensorflow/python/ops/variables.py", line 2566, in <listcomp>

return control_flow_ops.group(*[v.initializer for v in var_list], name=name)
AttributeError: 'NoneType' object has no attribute 'initializer'
