 'return': 'Exception occurred in runner state.event: Traceback (most recent call last):\n

 "/usr/lib/python2.7/dist-packages/salt/client/mixins.py", line 337, in low\n
data[\'return\'] = self.functions[fun](*args, **kwargs)\n

 "/usr/lib/python2.7/dist-packages/salt/runners/state.py", line 198, in event\n
indent=None if not pretty else 4)))\n

 "/usr/lib/python2.7/json/__init__.py", line 250, in dumps\n
sort_keys=sort_keys, **kw).encode(obj)\n

 "/usr/lib/python2.7/json/encoder.py", line 209, in encode\n
chunks = list(chunks)\n

 "/usr/lib/python2.7/json/encoder.py", line 434, in _iterencode\n
for chunk in _iterencode_dict(o, _current_indent_level):\n

 "/usr/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict\n
for chunk in chunks:\n

 "/usr/lib/python2.7/json/encoder.py", line 390, in _iterencode_dict\n
yield _encoder(value)\nUnicodeDecodeError: \'utf8\' codec can\'t decode byte 0xe1 in position 0: invalid continuation byte\n', 'success': False,
Traceback (most recent call last):


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\util.py", line 90, in wrapped

func(*args, **kwargs)


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\oplog_manager.py", line 310, in run

ns, timestamp)


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\util.py", line 32, in wrapped

return f(*args, **kwargs)


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\doc_managers\elastic2_doc_manager.py", line 162, in update

updated = self.apply_update(document['_source'], update_spec)


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\doc_managers\elastic2_doc_manager.py", line 112, in apply_update

return super(DocManager, self).apply_update(doc, update_spec)


 "c:\users\yaoshirong\appdata\local\programs\python\python35\lib\site-packages\mongo_connector\doc_managers\doc_manager_base.py", line 70, in apply_update

wl = len(where)
TypeError: object of type 'NoneType' has no len()
