The fuel gauges were inoperative. Apparently this condition does not ground the plane, however the crew has to maintain awareness of the fuel level via alternate means. on the ground you put a stick in the tank and in flight you know how much fuel was loaded and you know much was burned(airplanes tend to have good fuel per hour meters). Only this time the amount of fuel requested was in gallons and the amount loaded was in liters.....
https://en.wikipedia.org/wiki/Gimli_Glider
But absolute respect to the pilot for getting it down in one piece. I mean on one level he was just doing his job. but sometimes that is all it takes to be a hero, to do your job in the face of adversary.
https://www.youtube.com/watch?v=686xoeQAVA4