Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>

main()


 "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main

click.Group(commands=commands)(prog_name='bench')


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__

return self.main(*args, **kwargs)


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 696, in main

rv = self.invoke(ctx)


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke

return callback(*args, **kwargs)


 "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 24, in _func

ret = f(frappe._dict(ctx.obj), *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 209, in migrate

migrate(context.verbose, rebuild_website=rebuild_website)


 "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 30, in migrate

frappe.modules.patch_handler.run_all()


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 29, in run_all

if not run_single(patchmodule = patch):


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 63, in run_single

return execute_patch(patchmodule, method, methodargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 83, in execute_patch

frappe.get_attr(patchmodule.split()[0] + ".execute")()


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 880, in get_attr

return getattr(get_module(modulename), methodname)


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 665, in get_module

return importlib.import_module(modulename)


 "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/home/frappe/frappe-bench/apps/frappe/frappe/patches/v7_1/fix_email_sender.py", line 4, in <module>

from inbox.email_inbox.contact import match_email_to_contact
ImportError: No module named inbox.email_inbox.contact

Traceback (most recent call last):


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


 "/home/ar/shaoxiong/envs/vrts/paddle_v014_dev/lib/python2.7/site-packages/paddle/fluid/__init__.py", line 17, in <module>

from . import framework


 "/home/ar/shaoxiong/envs/vrts/paddle_v014_dev/lib/python2.7/site-packages/paddle/fluid/framework.py", line 33, in <module>

directory. The original error is: \n""" + cpt.get_exception_message(e))
ImportError: NOTE: You may need to run "export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH"
