Before the flight, the crew found that one of the two main power generators was defective since 6 September, and the mechanic who inspected the aircraft was unable to repair it.
One of the two main power generators was defective since 6 September. The crew found this. This was before the flight. The mechanic was unable to repair it. This was before the flight. This mechanic inspected the aircraft.