Multiple Crash Reports TypeError: 'NoneType' object is not subscriptable

Checkmk raw version 2.0.0p1.

Hi all,

Recently, several crash reports have been generated with the same error exception: TypeError (‘NoneType’ object is not subscriptable).

And the attached table shows the errors reported from checkmk host:

Does anyone know the origin of the problem?
Is there a way to analyze the crash reports to find the issue?

Thanks in advance

Also, Timed Out messages are received from Check_MK services from several hosts:

Does anyone know how to analyze the crash report?
I need to confirm if the bug is related to a high number of hosts and services in raw version.
Thanks to all

A subscriptable object is any object that implements the getitem special method (think lists, dictionaries). It is an object that records the operations done to it and it can store them as a “script” which can be replayed. You are trying to subscript an object which you think is a list or dict, but actually is None. NoneType is the type of the None object which represents a lack of value, for example, a function that does not explicitly return a value will return None.‘NoneType’ object is not subscriptable is the one thrown by python when you use the square bracket notation object[key] where an object doesn’t define the getitem method . You might have noticed that the method sort() that only modify the list have no return value printed – they return the default None. This is a design principle for all mutable data structures in Python.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.