error while processing glyph ".null"
Traceback (most recent call last):
File "00-repair-off-by-one-curve-handles.py", line 135
main()
File "00-repair-off-by-one-curve-handles.py", line 45, in main
raise e
File "00-repair-off-by-one-curve-handles.py", line 36, in main
nrepaired_handles = process_layer(g, g.layers[master.id])
File "00-repair-off-by-one-curve-handles.py", line 111, in process_layer
return nrepairs
UnboundLocalError: local variable 'nrepairs' referenced before assignment
I haven’t been able to confirm yet — for some reason it is now taking an incredible amount of time to run the script (exact same script that’s in the gist above on the exact same glyphs document; I even downloaded it again to make sure my local copy wasn’t messed up.)
It finished and it didn’t crash, which I guess is good?
I did restart Glyphs since the first crashes, so maybe that process was in some funky state.
Thanks for the help and sorry I couldn’t help track the issue down!