Please catch an explicit exception, e.g. AttributeError. This hides all sorts of run time errors like KeyboardInterrupt and NameError).