Why are you catching any and all `AttributeError`s here? As a rule of thumb, most `try..excepts` should wrap just one call.