Traceback (most recent call last):


 "/home/wli/.envs/project/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/home/wli/.envs/project/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/wli/.envs/project/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, 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)


 "/home/wli/.envs/project/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/home/wli/.envs/project/lib/python3.6/site-packages/rest_framework/viewsets.py", line 103, in view

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


 "/home/wli/.envs/project/lib/python3.6/site-packages/rest_framework/views.py", line 483, in dispatch

response = self.handle_exception(exc)


 "/home/wli/.envs/project/lib/python3.6/site-packages/rest_framework/views.py", line 443, in handle_exception

self.raise_uncaught_exception(exc)


 "/home/wli/.envs/project/lib/python3.6/site-packages/rest_framework/views.py", line 480, in dispatch

response = handler(request, *args, **kwargs)
TypeError: 'bool' object is not callable

Traceback (most recent call last):


 "c:\salt\bin\lib\site-packages\salt\modules\reg.py", line 565, in set_value

local_vdata = _mbcs_to_unicode_wrap(vdata, local_vtype)


 "c:\salt\bin\lib\site-packages\salt\modules\reg.py", line 120, in _mbcs_to_unicode_wrap

return _mbcs_to_unicode(obj)


 "c:\salt\bin\lib\site-packages\salt\modules\reg.py", line 103, in _mbcs_to_unicode

return six.text_type(instr, 'mbcs')
TypeError: coercing to Unicode: need string or buffer, long found 
