Installing erpnext…
Updating DocTypes for erpnext : [ ]Traceback (most recent call last):
File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/utils/bench_helper.py”, line 99, in
main()
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/commands/init.py”, line 26, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/commands/site.py”, line 203, in install_app
_install_app(app, verbose=context.verbose)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/installer.py”, line 83, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/sync.py”, line 55, in sync_for
import_file_by_path(doc_path, force=force, ignore_version=True,
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/modules/import_file.py”, line 65, in import_file_by_path
import_doc(doc, force=force, data_import=data_import, pre_process=pre_process,
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/modules/import_file.py”, line 141, in import_doc
doc.insert()
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 260, in insert
self.run_post_save_methods()
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 927, in run_post_save_methods
self.run_method(“on_update”)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 797, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 1071, in composer
return composed(self, method, *args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 1054, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/model/document.py”, line 791, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 300, in on_update
self.run_module_method(“on_doctype_update”)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/core/doctype/doctype/doctype.py”, line 369, in run_module_method
module = load_doctype_module(self.name, self.module)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/modules/utils.py”, line 204, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/frappe/frappe/init.py”, line 826, in get_module
return importlib.import_module(modulename)
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/env/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/erpnext/erpnext/accounts/doctype/tax_withholding_category/tax_withholding_category.py”, line 10, in
from erpnext.accounts.utils import get_fiscal_year
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/erpnext/erpnext/accounts/utils.py”, line 14, in
from erpnext.accounts.doctype.account.account import get_account_currency
File “/Users/giri/Documents/AgnikulERP/ERP_V1.2/apps/erpnext/erpnext/accounts/doctype/account/account.py”, line 248, in
@frappe.validate_and_sanitize_search_inputs
AttributeError: module ‘frappe’ has no attribute ‘validate_and_sanitize_search_inputs’
I am also experiencing same issue.
Was this resolved?