AttributeError on saving new doc [Note]

Hi!

I am running a local frappe VM just to play around a little bit. I use VS Code with remote plugin.

I am on Frappe Framework: v13.12.1 (version-13)
No ERPNext installed.

I simply want to create a Note. Whenever I hit the save button I receive the below error.
However, the Note is still stored.

Is this a known problem? Or is my installation corrupt?

Thanks!

Ausnahme: AttributeError (note: full exception trace is shown but execution is paused at: getattr)
exception: no description
File “/home/dominik/bench1/apps/frappe/frappe/init.py”, line 50, in getattr (Current frame)
raise AttributeError()
File “/home/dominik/bench1/apps/frappe/frappe/model/create_new.py”, line 23, in get_new_doc
doc = copy.deepcopy(frappe.local.new_doc_templates[doctype])
File “/home/dominik/bench1/apps/frappe/frappe/init.py”, line 811, in new_doc
return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
File “/home/dominik/bench1/apps/frappe/frappe/model/document.py”, line 682, in _set_defaults
new_doc = frappe.new_doc(self.doctype, as_dict=True)
File “/home/dominik/bench1/apps/frappe/frappe/model/document.py”, line 227, in insert
self._set_defaults()
File “/home/dominik/bench1/apps/frappe/frappe/model/document.py”, line 307, in _save
self.insert()
File “/home/dominik/bench1/apps/frappe/frappe/model/document.py”, line 285, in save
return self._save(*args, **kwargs)
File “/home/dominik/bench1/apps/frappe/frappe/client.py”, line 212, in save
doc.save()
File “/home/dominik/bench1/apps/frappe/frappe/init.py”, line 1199, in call
return fn(*args, **newargs)
File “/home/dominik/bench1/apps/frappe/frappe/handler.py”, line 67, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/dominik/bench1/apps/frappe/frappe/handler.py”, line 31, in handle
data = execute_cmd(cmd)
File “/home/dominik/bench1/apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “/home/dominik/bench1/apps/frappe/frappe/app.py”, line 68, in application
response = frappe.api.handle()
File “/home/dominik/bench1/apps/frappe/frappe/middlewares.py”, line 16, in call
return super(StaticDataMiddleware, self).call(environ, start_response)
File “/home/dominik/bench1/apps/frappe/frappe/app.py”, line 326, in serve
run_simple(‘0.0.0.0’, int(port), application,
File “/home/dominik/bench1/apps/frappe/frappe/commands/utils.py”, line 676, in serve
frappe.app.serve(port=port, profile=profile, no_reload=no_reload, no_threading=no_threading, site=site, sites_path=’.’)
File “/home/dominik/bench1/apps/frappe/frappe/commands/init.py”, line 27, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/dominik/bench1/apps/frappe/frappe/utils/bench_helper.py”, line 19, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/dominik/bench1/apps/frappe/frappe/utils/bench_helper.py”, line 104, in
main()

I am also getting this error in a new bench that I created for testing. The doctypes are again stored regularly.

Without debugging I wouldn’t even notice…

Is this an intended behavior?