Hi Everyone,
While creating bench new-site I came across this error log, Need help on this.
Installing frappe...
Updating frappe : [========================================]
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/asabbas/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
main()
File "/home/asabbas/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/asabbas/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/home/asabbas/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/asabbas/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))
File "/home/asabbas/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))
File "/home/asabbas/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/asabbas/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/commands.py", line 69, in new_site
_new_site(db_name, site, mariadb_root_username=mariadb_root_username, mariadb_root_password=mariadb_root_password, admin_password=admin_password, verbose=verbose, install_apps=install_app, source_sql=source_sql, force=force)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/commands.py", line 89, in _new_site
_install_app("frappe", verbose=verbose, set_as_patched=not source_sql)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/installer.py", line 124, in install_app
add_to_installed_apps(name)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/installer.py", line 143, in add_to_installed_apps
post_install(rebuild_website)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/installer.py", line 189, in post_install
init_singles()
File "/home/asabbas/frappe-bench/apps/frappe/frappe/installer.py", line 210, in init_singles
doc.save()
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/document.py", line 230, in save
self.insert()
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/document.py", line 183, in insert
self._set_defaults()
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/document.py", line 390, in _set_defaults
new_doc = frappe.new_doc(df.options, as_dict=True)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/__init__.py", line 501, in new_doc
return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/create_new.py", line 19, in get_new_doc
frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/create_new.py", line 37, in make_new_doc
"docstatus": 0
File "/home/asabbas/frappe-bench/apps/frappe/frappe/__init__.py", line 525, in get_doc
return frappe.model.document.get_doc(arg1, arg2)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/document.py", line 43, in get_doc
controller = get_controller(doctype)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/model/base_document.py", line 29, in get_controller
module = load_doctype_module(doctype, module_name)
File "/home/asabbas/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 64, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, prefix))
File "/home/asabbas/frappe-bench/apps/frappe/frappe/__init__.py", line 590, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named address.address