Reopening old files

After opening an old file in 3.3.1 (3340) and saving it, I can no longer reopen it. A pop-up appears, saying: “Expected terminating ‘)’ for array at line 14.”

Any idea how to fix this?

Open the .glyphs file in a text editor such as Sublime Text or TextMate. Go to line 14 and amend the error. If you can’t see what’s wrong, paste the contents (around 10 lines of context) here.

Thanks Sebastian. Not sure what’s wrong. Line 14 is Panose value I guess:
“2 0 5 0 0 0 0 0 0 0”;

And from line 7 to 25:
}
);
copyright = “Copyright © 2005 - 2014 by Ermin Međedović. All rights reserved.”;
customParameters = (
{
name = panose;
value = (
“2 0 5 0 0 0 0 0 0 0”;

);
},
{
name = fsType;
value = (
3
);
},
{
name = unicodeRanges;

The panose value should be written as a list of numbers, like so:

{
name = panose;
value = (
2,
0,
5,
0,
0,
0,
0,
0,
0,
0
);
}

You should be able to edit that part of the file to match the code above. Remove the line "2 0 5 0 0 0 0 0 0 0"; and instead insert the lines with the numbers. Then save and reopen in Glyphs. Or send the file to us (e.g., via private message, click my profile picture → Message) and we’ll repair it. I am looking into what could have happened for you to get a file like this.

Thanks Florian., one solved, another to go. “Expected ‘,’ for array” in the endline.
Endline:

tH = 94;
};
};
};
versionMajor = 1;
versionMinor = 0;
}

Hm, you could you send me the file? This looks like an issue that started somewhere earlier in the file.