Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUSTOMIZE FORM is throwing Errors after updating to v15.49.3 #45449

Open
trackomatic opened this issue Jan 25, 2025 · 0 comments
Open

CUSTOMIZE FORM is throwing Errors after updating to v15.49.3 #45449

trackomatic opened this issue Jan 25, 2025 · 0 comments
Labels

Comments

@trackomatic
Copy link

Information about bug

After updating ERPNext to 15.49.3, I am not able to customise any form anymore. the error details appearing on the screen is:
FileNotFoundError: [Errno 2] No such file or directory: 'apps/erpnext/erpnext/support/doctype/customize_form'
Possible source of error: erpnext (app)

Image

Module

support

Version

ERPNext: v15.49.3 (version-15)
Frappe Framework: v15.53.0 (version-15)
Frappe HR: v15.38.2 (version-15)
India Compliance: v15.15.0 (version-15)
Payments: v0.0.1 (version-15)
Print Designer: v1.4.3 (main)
Webshop: v0.0.1 (version-15)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

### App Versions

{
	"erpnext": "15.49.3",
	"frappe": "15.53.0",
	"hrms": "15.38.2",
	"india_compliance": "15.15.0",
	"payments": "0.0.1",
	"print_designer": "1.4.3",
	"webshop": "0.0.1"
}

### Route

Workspaces/Home

### Traceback

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 50, in handle
    data = execute_cmd(cmd)
           ^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/__init__.py", line 1726, 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/desk/form/load.py", line 73, in getdoctype
    docs = get_meta_bundle(doctype)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/desk/form/load.py", line 84, in get_meta_bundle
    bundle = [frappe.desk.form.meta.get_meta(doctype)]
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/desk/form/meta.py", line 42, in get_meta
    meta = FormMeta(doctype, cached=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/desk/form/meta.py", line 53, in __init__
    self.load_assets()
  File "apps/frappe/frappe/desk/form/meta.py", line 63, in load_assets
    self.add_code()
  File "apps/frappe/frappe/desk/form/meta.py", line 118, in add_code
    self.add_html_templates(path)
  File "apps/frappe/frappe/desk/form/meta.py", line 133, in add_html_templates
    for fname in os.listdir(path):
                 ^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'apps/erpnext/erpnext/support/doctype/customize_form'


### Request Data

{
	"type": "GET",
	"args": {
		"doctype": "Customize Form",
		"with_parent": 1,
		"cached_timestamp": null
	},
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.form.load.getdoctype",
	"request_id": null
}

### Response Data

{
	"exception": "FileNotFoundError: [Errno 2] No such file or directory: 'apps/erpnext/erpnext/support/doctype/customize_form'",
	"exc_type": "FileNotFoundError",
	"_exc_source": "erpnext (app)"
}
@trackomatic trackomatic changed the title Customisation is held up after update CUSTOMIZE FORM is throwing Errors after updating to v15.49.3 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant