frappe.desk.form.utils has no attribute validate_link
See original GitHub issueHi @sagarvora
Just did a bench update and while creating a new quotation getting the below error, probably form this PR #14445.
Unable to get any link to Currency, items, customer, prices etc… in short all linked documents
traceback
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
method = get_attr(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 201, in get_attr
method = frappe.get_attr(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1193, in get_attr
return getattr(get_module(modulename), methodname)
AttributeError: module 'frappe.desk.form.utils' has no attribute 'validate_link'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 66, in application
response = frappe.api.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 31, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 58, in execute_cmd
frappe.throw(_('Failed to get method for command {0} with {1}').format(cmd, e))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 437, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 416, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 370, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Failed to get method for command frappe.desk.form.utils.validate_link with module 'frappe.desk.form.utils' has no attribute 'validate_link'
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Frappe.desk.form.utils has no attribute 'validate_link' - ERPNext
So I deployed this server for production a few days back and found out the wkhtmltopdf was not working coz of some qt_patch, ......
Read more >Frappe Framework - Git - OpenForge
Project privacy set to public. By default, its content is available to everyone (authenticated or not). Please note that more restrictive permissions might ......
Read more >'module' object has no attribute 'generate_barcode' - Stack ...
The whitespace before @frappe.whitelist() could be the problem.
Read more >Form Scripts - Frappe Framework
For example, todo.js which is located at frappe/desk/doctype/todo/todo.js may look like this ... Check if form values has been changed and is not...
Read more >github copilot tutorial Code Example
AttributeError: module 'cv2.cv2' has no attribute 'face' ... Module not found: Error: Can't resolve 'react-bootstrap/Form' in 'C:\Users\MLAB\my-hotel\src' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, please rebuild. As evident from your search, this code isn’t present anywhere in apps.
There are not custom code… its vanilla develop branch
I did search for “frappe.desk.form.utils.validate_link” after the update… the only place they are referenced are in 2 files controls.bundle.xxxxx.js and forms.bundle.xxxxxx.js… Should i do a bench build and see if that resolves the issue ??