Something has broken in GSInstance.generate()

Sometime after 3408, I get:

File "GlyphsApp/GlyphsApp/__init__.py", line 7063, in __GSInstance_Export__
IndexError: NSRangeException - *** -[__NSArrayM objectAtIndexedSubscript:]: index 4 beyond bounds [0 .. 3]

In 3408, calling GSInstance.generate() works fine. For reference, this is the code that doesn’t work in newer Glyphs versions:

I think I fixed it.
And the generate function prefers lowercase arguments, now.

You mean the argument keywords are lowercase now? format, fontPath, removeOverlap, autohint, containers? So like it’s on the Python API docu. Thanks!

Yes.