Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 126, in _get_response

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


 "/usr/local/lib/python3.6/dist-packages/django/views/generic/base.py", line 69, in view

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


 "/usr/local/lib/python3.6/dist-packages/django/views/generic/base.py", line 89, in dispatch

return handler(request, *args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/django/views/generic/edit.py", line 172, in post

return super().post(request, *args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/django/views/generic/edit.py", line 142, in post

return self.form_valid(form)


 "/usr/local/lib/python3.6/dist-packages/django/views/generic/edit.py", line 125, in form_valid

self.object = form.save()


 "/usr/local/lib/python3.6/dist-packages/dal/forms.py", line 152, in save

self._save_m2m()


 "/usr/local/lib/python3.6/dist-packages/dal/forms.py", line 126, in _save_m2m

for f in chain(opts.many_to_many, opts.virtual_fields):
AttributeError: 'Options' object has no attribute 'virtual_fields'

2018-03-27 16:39:09,068 [salt.minion
:1616][ERROR
][27307] Traceback (most recent call last):


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

minion_instance.returners[returner_str](ret)


 "/usr/lib/python2.7/site-packages/salt/returners/highstate_return.py", line 478, in returner

report, failed = _generate_report(ret, setup)


 "/usr/lib/python2.7/site-packages/salt/returners/highstate_return.py", line 335, in _generate_report

key=lambda s: s[1].get('__run_num__', 0)


 "/usr/lib/python2.7/site-packages/salt/returners/highstate_return.py", line 335, in <lambda>

key=lambda s: s[1].get('__run_num__', 0)
AttributeError: 'str' object has no attribute 'get'
