Glyphs 3 update 3.2 (3236)

Just updated and the app now crashes. How can I go back to the previous version?

Find an archive of versions here:

https://florianpircher.com/glyphs/versions/

1 Like

cheers!

Gone back to previous version but the crashing still remains (it was OK yesterday)
The crash appears to be linked with the length of a text line and using the script ‘Lines by Master’ (which no longer works)

Does Glyphs crash if you have the following string

/AE/a/n/AE/f/n/AE/l/n/AE/lslash/n/AE/t/n/AE/tbar/n/AE/o/n/AE/eth/n/AE/u/n/AE/v/n/AE/w/n/AE/y/n

then run

#MenuTitle: Lines by Master G3
# -*- coding: utf-8 -*-
__doc__="""
Reduplicates your edit text across masters, will add one line per master. Careful, ignores everything after the first newline.
"""


cutoff = []
names = []
for i,l in enumerate(Font.currentTab.layers):
	if type(l) == GSControlLayer:
		cutoff.append(i)
	else:
		if not cutoff:
			names.append( l.parent.name )

Font.currentTab.layers = []
for m in Font.masters:
	for gname in names:
		layer = Font.glyphs[gname].layers[m.id]
		print (layer)
		Font.currentTab.layers.append( layer )
	Font.currentTab.layers.append( GSControlLayer.newline() )

Is there a preference file anywhere that can be cleared?

May be a new thing that’s crept in over night to do with MacOS 12.7.3 (iMac 27inch).
All OK on MacOS 14.2.1 MacBook (small screen)

Hopefully the issue will resolve in due course

Can you run that a few times and send all crash reports?

Done Georg, sent 3 reports
Had to Force Quit Glyphs third time as it wouldn’t launch

this popped up

can you run other scripts in the macro window?

Appears OK

I found you crash reports. It crashes inside of Python. What python version do you have on the iMac?

3.11.6 (Glyphs)

This is the only one available in the dropdown in Settings

I can’t reproduce the crash. Could you send me your file?

Oh no! I just updated to the 3.2 version to 3236 and it also messed up the 3.1 version. Now I delete all version from the applications folder and reinstall Glyphs3.1.2-3151 and it just refuses to open with no error messages. At one point before it stops working there was a prompt about installing python and restarting Glyphs.

I’ve tried restarting my comp but it still wont open.

Any help or suggestions??

Edit: deleted all plugins/scripts/repos and finally Glyphs opened.

It might be that the GlyphsPython was updated and 3.2 will install a version that is not compatible with 3.1. And w recently improved the plugin updating code that it would actually be able to do that. We need to have a look at that again. @FlorianPircher

I improved the script a bit. It will be MUCH quicker:

#MenuTitle: Lines by Master G3
# -*- coding: utf-8 -*-
__doc__="""
Reduplicates your edit text across masters, will add one line per master. Careful, ignores everything after the first newline.
"""


names = []
for l in Font.currentTab.layers:
	if isinstance(l, GSControlLayer):
		break
	else:
		names.append(l.parent.name)

layers = []
for m in Font.masters:
	for gname in names:
		layer = Font.glyphs[gname].layers[m.id]
		print(layer)
		layers.append(layer)
	layers.append(GSControlLayer.newline())
Font.currentTab.layers = layers
1 Like

And I say in your video that you use an external file to store your kerning strings. Did you have a look at the Sample Strings Dialog/Preference? Entering Text — Glyphs Handbook