When I view the spell details it says: "you can not cast this spell because your skill levels are too low (total of 7, but need at least 27)". Shouldn't that say I can't cast it because I don't have enough Energy?
It only shows you the first error.
Also, the view_spells page is intended to be time-independent, so it won't show you concentration and energy, because those change.