An Air New Zealand aircraft that was stranded in Bali with mechanical problems yesterday will finally leave for Auckland tonight (local time).
The company says a replacement part flown in for a faulty cooling pump is now being fitted and a departure time will be confirmed shortly.
"Provided the engineering work proceeds as expected, we are anticipating the aircraft will depart later this evening (local time)," a spokeswoman said.
Earlier, the company said 180 passengers on Flight NZ246 were still waiting for the delayed flight, while about 60 others had chosen to travel on alternative services or via Australia.
One passenger tweeted saying there was "chaos" at the airport when the passengers were left in limbo.
Billing said they were told the plane had engineering issues.
Hamilton couple Brett and Jo Maber are among the group of passengers stuck in Denpasar.
Although they said there were worse places to be stranded, they were keen to get home to their children.
"It's not ideal as we were all set to get back to our family [three young children] back in New Zealand, but I guess these things happen and would much rather be on the ground than risk a potential failure in the air."
Brett Maber said the airline had been "great" despite the challenging situation.
"They have been keeping us updated and fingers crossed we can get underway soon. Although Bali is not the worst place to be stranded we are pretty keen to get home now."
Another passenger, Keith Brockway, of Nelson, denied there was chaos at the airport.
"While waiting on the plane, captain kept us fully informed as to why the delay, when to expect next update, what the local tech staff were looking at, why it was a safety issue for flying, and why they needed to turn the air conditioning on and off as part of testing. Passengers were given the option of waiting back in the departure lounge."
He said the airline "acted with passengers safety in mind" about getting in the replacement parts and the flying out of Air NZ engineers.
"Fitting the pumps we are told may take five hours by three Air NZ engineers. Good. If it takes all day for a safe job, that's fine by me."
Fellow passenger Jay Clark is stuck in Bali with a friend.
Although the airline had been keeping them in the loop about what's happened, some people had missed work and she suggested they should be compensated for that.
"Some of us have missed work etc they should be compensating us. The hotel is clean and has great staff but not where I would stay in given the choice."