I have issues with ERPNEXT after update

App Versions

{
	"erpnext": "15.33.4",
	"frappe": "15.39.0",
	"frappe_tinymce": "0.0.2",
	"print_designer": "1.4.1"
}

Route

Workspaces/Home

Traceback

Traceback (most recent call last):
  File "apps/frappe/frappe/modules/utils.py", line 254, in load_doctype_module
    doctype_python_modules[key] = frappe.get_module(module_name)
  File "apps/frappe/frappe/__init__.py", line 1476, in get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'frappe.core.doctype.workspace_settings'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 114, in application
    response = frappe.api.handle(request)
  File "apps/frappe/frappe/api/__init__.py", line 49, in handle
    data = endpoint(**arguments)
  File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 49, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1768, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
    return func(*args, **kwargs)
  File "apps/frappe/frappe/client.py", line 90, in get
    doc = frappe.get_doc(doctype)  # single
  File "apps/frappe/frappe/__init__.py", line 1333, in get_doc
    doc = frappe.model.document.get_doc(*args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 83, in get_doc
    controller = get_controller(doctype)
  File "apps/frappe/frappe/model/base_document.py", line 70, in get_controller
    site_controllers[doctype] = import_controller(doctype)
  File "apps/frappe/frappe/model/base_document.py", line 95, in import_controller
    module = load_doctype_module(doctype, module_name)
  File "apps/frappe/frappe/modules/utils.py", line 258, in load_doctype_module
    raise ImportError(msg) from e
ImportError: Module import failed for Workspace Settings, the DocType you're trying to open might be deleted.<br> Error: No module named 'frappe.core.doctype.workspace_settings'

Request Data

{
	"type": "GET",
	"args": {
		"doctype": "Workspace Settings"
	},
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.client.get",
	"request_id": null
}

Response Data

{
	"exception": "ImportError: Module import failed for Workspace Settings, the DocType you're trying to open might be deleted.<br> Error: No module named 'frappe.core.doctype.workspace_settings'",
	"exc_type": "ImportError"
}

Hi @boostupvn,

Did you migrate the site? if not, migrate it.

And also remove Workspace Settings from the Navbar Setting.

Some workspace/UI issues so remove the functionality from the v15.

I migrated it but the problem persists

oh no. I dont remove or delete it.

Bench build resolved the issues for me

oh hi bro Can you explain in more detail?

See bench commands here and run bench build:

https://frappeframework.com/docs/user/en/bench/resources/bench-commands-cheatsheet

I HAVE TRY ALL. But it still error

Hi @boostupvn,

Don’t worry, we raised the PR and it has been merged. The upcoming update will resolve your issue!