frappe.exceptions.SessionBootFailed error for a single user

Getting Following Error for a Single User

  • frappe.exceptions.DoesNotExistError: Notification Settings user_email not found
  • frappe.exceptions.SessionBootFailed

Tried Clearing Cookies, still no use

Getting this Error for a Single Employee among all Employees

Here is the Complete Traceback

Traceback (most recent call last):
File “apps/frappe/frappe/www/app.py”, line 30, in get_context
boot = frappe.sessions.get()
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/sessions.py”, line 142, in get
bootinfo = get_bootinfo()
^^^^^^^^^^^^^^
File “apps/frappe/frappe/boot.py”, line 75, in get_bootinfo
bootinfo.notification_settings = get_notification_settings()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/boot.py”, line 395, in get_notification_settings
return frappe.get_cached_doc(“Notification Settings”, frappe.session.user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1165, in get_cached_doc
doc = get_doc(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1291, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 85, in get_doc
return controller(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 126, in init
self.load_from_db()
File “apps/frappe/frappe/model/document.py”, line 172, in load_from_db
frappe.throw(
File “apps/frappe/frappe/init.py”, line 603, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 568, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 519, in _raise_exception
raise exc
frappe.exceptions.DoesNotExistError: Notification Settings user_email not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “apps/frappe/frappe/website/serve.py”, line 20, in get_response
response = renderer_instance.render()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 84, in render
html = self.get_html()
^^^^^^^^^^^^^^^
File “apps/frappe/frappe/website/utils.py”, line 531, in cache_html_decorator
html = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 95, in get_html
self.update_context()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 163, in update_context
data = self.run_pymodule_method(“get_context”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 223, in run_pymodule_method
return method(self.context)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/www/app.py”, line 32, in get_context
raise frappe.SessionBootFailed from e
frappe.exceptions.SessionBootFailed

Could you check if the notification settings for that user exists?
(You can’t search for the notification settings through the awesome bar, it must be searched through the doctype list)

hey @Void_Moon,
Notification Settings not exists for the User, How can i create Notification Settings for the User