Traceback (most recent call last):


 "/usr/bin/salt-call", line 11, in <module>

salt_call()


 "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 379, in salt_call

client.run()


 "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 58, in run

caller.run()


 "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 134, in run

ret = self.call()


 "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 197, in call

ret['return'] = func(*args, **kwargs)


 "/usr/lib/python2.7/dist-packages/salt/modules/cp.py", line 261, in get_template

**kwargs)


 "/usr/lib/python2.7/dist-packages/salt/fileclient.py", line 676, in get_template

**kwargs


 "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 178, in render_tmpl

output = render_str(tmplstr, context, tmplpath)


 "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 386, in render_jinja_tmpl

buf=tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'prev_file' is undefined

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/andrew/.local/lib64/python3.6/site-packages/motor/__init__.py", line 54, in <module>

from .motor_tornado import *


 "/home/andrew/.local/lib64/python3.6/site-packages/motor/motor_tornado.py", line 19, in <module>

from . import core, motor_gridfs


 "/home/andrew/.local/lib64/python3.6/site-packages/motor/core.py", line 34, in <module>

from pymongo.change_stream import ChangeStream
ModuleNotFoundError: No module named 'pymongo.change_stream'
