How to understand this error and debug

If i meet the following error in rhino python.
How should I understand it , how to debug and check it?

Runtime error (KeyNotFoundException): KeyError

Hi Liu,

Seems like you are trying to access some value within your dictionary, with the key that does not exist in that dictionary. Thus the KeyError.

Check official python website for more information: