In a text file, lines start at 1, and not at 0 (like in Python). When catalyst says something like: "Skipping invalid spec line 7" it's really referring to line 8 of the text file. That's a trivial change.
bug #59681 took care of this