Hi, I have this simple code that works just fine when executed from Macro panel, when run from Script folder it takes forever, rainbow umbrella starts spinning and I have to force quit the program. It happens even with one glyph files. I also cannot automacily install addons from preferences window, could it have something to do with?
Thanks Jan
font = Glyphs.font
for glyph in font.glyphs:
print glyph
Please have a little more patience. The first script that runs in an app session triggers the loading of the extra modules. That takes a few seconds. ALl subsequent script runs can make use of the already loaded modules.
It was like 20 seconds, once it finished execution but the next one took same amount of time. When I copy paste the same code into macro panel and execute it there, it finished as quickly as you blink… where is the difference between running it from a file to running it in glyphs?
There seems to be a problem with your python environment. Can you make sure that you don’t have a custom python version and that the system python works correctly?
It is freshly bought used mac with Mojave 10.13, I installed latest Glyphs and the only thing I have done was installing few programs and Python 3.7.3. As I have mentioned, I can’t install modules from preferences as well, it says " The modules could not be installed Could not load the modules. "… What could I check, please? Is glyphs using pip for anything? It seems like I have pip for Py -3 but not for -2. Both pip and pip3 commands link to Python 3
which makes me thinking, I changed name of my computer… I don’t know how this apple thing works but is that possible that something from Glyphs is linked to full path when I had different name? I tried to uninstall Glyphs but it seems I need better tutorial on how to uninstall programs on Mac user settings are still there. Running it as guest had the same result
I got the same output as well from a script that is loaded outside of Glyphs. I think it is slower than running it directly in Glyphs, but still acceptable. When I run scripts that handle Glyphs, it gets much worse. Now I am waiting for 5 minutes, and it is still processing it. Please, how could I solve it? Thanks