ENH: more explicit traceback + message in case of common failure on sparse input