Why a ValueError can happen? Some comment please.