Repairing the knitting machine