Im trying to create a new header but it pops this error!
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 109, in uploadfile
ret = frappe.utils.file_manager.upload()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/file_manager.py”, line 39, in upload
comment = frappe.get_doc(dt, dn).add_comment(“Attachment”,
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 638, in get_doc
return frappe.model.document.get_doc(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 68, in get_doc
return controller(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 103, in init
self.load_from_db()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 140, in load_from_db
frappe.throw((“{0} {1} not found”).format((self.doctype), self.name), frappe.DoesNotExistError)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 323, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 309, in msgprint
_raise_exception()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 282, in _raise_exception
raise raise_exception(encode(msg))
DoesNotExistError: Letter Head New Letter Head 1 not found