Hello everyone,
When we looked through the interface, we noticed that when we click on Show Analysis under Setup → Events → Notification configuration, we get an error message:
Currently there are no unsent notification bulks pending.
Internal error: source code string cannot contain null bytes
An internal error occured while processing your request. You can report this issue to the Checkmk team to help fixing this issue. Please open the [crash report page](https://%IP from the Server%/%CheckMKSite%/check_mk/crash.py?crash_id=%Crash ID%&mode=notifications&site=%CheckMKSite%) and use the form for reporting the problem.
The crash report then generated contains the following data
Crash Report:
Exception
ValueError (source code string cannot contain null bytes)
Traceback
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wsgi/applications/checkmk.py", line 241, in _process_request
resp = page_handler()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wsgi/applications/utils.py", line 56, in _call_auth
func()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/pages.py", line 195, in <lambda>
return (lambda hc: lambda: hc().handle_page())(handle_class)
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/pages.py", line 48, in handle_page
self.page()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/pages.py", line 165, in <lambda>
"page": lambda self: self._wrapped_callable[0](),
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wato/page_handler.py", line 95, in page_handler
_wato_page_handler(current_mode, mode_permissions, mode_class)
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wato/page_handler.py", line 172, in _wato_page_handler
mode.handle_page()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/plugins/wato/utils/base_modes.py", line 152, in handle_page
return self.page()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wato/pages/notifications.py", line 647, in page
self._show_notification_backlog()
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/gui/wato/pages/notifications.py", line 737, in _show_notification_backlog
backlog = store.load_object_from_file(
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/utils/store/__init__.py", line 171, in load_object_from_file
return ObjectStore(Path(path), serializer=DimSerializer()).read_obj(default=default)
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/utils/store/_file.py", line 97, in read_obj
return self._serializer.deserialize(raw) if raw else default
File "/omd/sites/%CheckMKSite%/lib/python3/cmk/utils/store/_file.py", line 63, in deserialize
return literal_eval(raw.decode("utf-8"))
File "/omd/sites/%CheckMKSite%/lib/python3.9/ast.py", line 62, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/omd/sites/%CheckMKSite%/lib/python3.9/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
Local Variables
{'feature_version': -1,
'filename': '<unknown>',
'flags': 1024,
'mode': 'eval',
'source': A LOT OF SERVER NAMES AND IPs
and then
}\n"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
{(
A LOT OF SERVER NAMES AND IPs
'type_comments': False}
Crash Type gui
Time 2023-11-29 17:23:10
Operating System CentOS Linux release 7.9.2009 (Core)
Checkmk Version 2.1.0p33
Edition cre
Core nagios
Python Version 3.9.16 (main, Jul 25 2023, 22:46:22) [GCC 12.2.0]
Python Module Paths /omd/sites/%CheckMKSite%/local/lib/python3
/omd/sites/%CheckMKSite%/lib/python3/plus
/omd/sites/%CheckMKSite%/lib/python39.zip
/omd/sites/%CheckMKSite%/lib/python3.9
/omd/sites/%CheckMKSite%/lib/python3.9/lib-dynload
/omd/sites/%CheckMKSite%/lib/python3.9/site-packages
/omd/sites/%CheckMKSite%/lib/python3
Details
Page wato.py
Request Method GET
HTTP Parameters
POST / GET Variables
mode notifications
Referer https://%SERVERNAME%/%CheckMKSite%/check_mk/index.py?start_url=%2F%CheckMKSite%%2Fcheck_mk%2Fdashboard.py
Username
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Mobile GUI
SSL
Language
Is this information perhaps helpful and points to the error, or do we have another problem here?
Best regards