Python Error: ‘NoneType’ object is not subscriptable
Im logging my chars with manager and they use stable version.
This plugin only works in test?
I need this plugin cause when I get dced in manager I loose all my chat history and there are some important pms and guild mssgs I miss to read sadly
The error is self-explanatory. You are trying to subscript an object which you think is a list or dict, but actually is None. This means that you tried to do:
None[something]
This error means that you attempted to index an object that doesn’t have that functionality. You might have noticed that the method sort() that only modify the list have no return value printed – they return the default 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 . This is a design principle for all mutable data structures in Python.