Error: No module named 'frappe.core.doctype.workspace_settings'

hello everyone

I have been switching from develop to version 15 and I got this error

Error: No module named ‘frappe.core.doctype.workspace_settings’

I have been trying to fetch tags and a specific tag that I used before has no such error it’s v15.43.0
when I switched from develop to version 15 I got 15.44.1 and the second time I got 15.88.0
now after I migrated to 15.43.0, I still have the same error

any help??

Can you share traceback ?

i changed to 15.42.0 and still have the error
this the traceback

App Versions

{
	"frappe": "15.42.0"
}

Route

Workspaces/Users

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 1483, 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 1775, 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 86, in get
    doc = frappe.get_doc(doctype, name)
  File "apps/frappe/frappe/__init__.py", line 1340, 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.
Error: No module named 'frappe.core.doctype.workspace_settings'

Request Data

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

Response Data

{
	"exception": "Error: No module named 'frappe.core.doctype.workspace_settings'",
	"exc_type": "ImportError"
}

workspace_settings is not in v15 but in develop.

See : Workspace Settings

Take a pull and migrate develop and 15 again.

Try take a latest pull and do

bench migrate