after bench restart i am getting Error with button
and when i am click on it will show another error
Route
Form/Print Format/Dispatch Labels Mulptiple
Traceback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, 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 1761, 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/model/document.py", line 1742, in unlock_document
doctype = str(args["doctype"])
TypeError: string indices must be integers
request.js:268
POST https://<domain.com>/api/method/frappe.model.rename_doc.update_document_title 417 (EXPECTATION FAILED)
Traceback (most recent call last):
File "apps/frappe/frappe/model/document.py", line 1460, in queue_action
self.lock()
File "apps/frappe/frappe/model/document.py", line 1490, in lock
raise frappe.DocumentLockedError
frappe.exceptions.DocumentLockedError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 94, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 47, 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 1619, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/model/rename_doc.py", line 88, in update_document_title
doc.queue_action("rename", name=transformed_name, merge=merge)
File "apps/frappe/frappe/model/document.py", line 1462, in queue_action
frappe.throw(
File "apps/frappe/frappe/__init__.py", line 533, in throw
msgprint(
File "apps/frappe/frappe/__init__.py", line 501, in msgprint
_raise_exception()
File "apps/frappe/frappe/__init__.py", line 450, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: This document is currently queued for execution. Please try again
Although this works, the same issue is persistent and this mean i have to ssh to there server and manually delete the files. Is there a permanent solution to this or what could have caused this?