the city had gotten word of the invaders almost a week before their arrival , and that had allowed them to gather and arm over ten thousand men , but only a fraction of those had any training beyond a week of siege preparation .