Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/oplog_manager.py", line 464, in dump_collection
dm.bulk_upsert(docs_to_dump())

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/doc_managers/**init**.py", line 24, in wrapped
return f(_args, *_kwargs)

 "solr_doc_manager.py", line 224, in bulk_upsert
batch = list(next(cleaned) for i in range(self.chunk_size))

 "solr_doc_manager.py", line 224, in <genexpr>
batch = list(next(cleaned) for i in range(self.chunk_size))

 "solr_doc_manager.py", line 222, in <genexpr>
cleaned = (self._clean_doc(d) for d in docs)

 "solr_doc_manager.py", line 131, in _clean_doc
flat_doc = self._formatter.format_document(doc)

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/doc_managers/formatters.py", line 148, in format_document
return dict(flatten(document, []))

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/doc_managers/formatters.py", line 143, in flatten
for new_k, new_v in transformed:

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/doc_managers/formatters.py", line 127, in transform_element
yield key, self.transform_value(value)

 "/usr/local/lib/python2.7/dist-packages/mongo_connector-1.2.1_-py2.7.egg/mongo_connector/doc_managers/formatters.py", line 56, in transform_value
if isinstance(value, (RE_TYPE, bson.Regex)):AttributeError: 'module' object has no attribute 'Regex'
Traceback (most recent call last):


 "loki.py", line 1088, in initialize_yara_rules

'md5': dummy,
SyntaxError: /home/osboxes/Downloads/Loki/signature-base/yara/apt_lotusblossom_elise.yar(28): invalid field name "imphash"
