Mekkablue scripts not working in Glyphs 2

Hello there <3

I’m having trouble running any Mekkablue scripts on my new M3 MacBook pro in Glyphs 2.6.10.

At first I couldn’t even install the vanilla module properly but thankfully, after hours of troubleshooting, installing PyObjC as instructed by this Glyphs article solved the issue… and yet…

… most Mekkablue scripts still aren’t working.


Here is my current setup:

  1. The Macro panel tells me in running Python 2.7 as many blogposts recommended.
import sys
for p in sys.path:
	print p

Returns ↓

/Applications/Glyphs.app/Contents/Scripts
/Users/**********/Library/Application Support/Glyphs/Scripts
/Library/Application Support/Glyphs/Scripts
/Network/Library/Application Support/Glyphs/Scripts
/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
/Users/**********/Library/Application Support/Glyphs/Scripts/mekkablue/Interpolation
/Users/**********/Library/Application Support/Glyphs/Scripts/mekkablue/App
/Users/**********/Library/Application Support/Glyphs/Scripts/mekkablue/Components
  1. The Modules (Glyphs → Settings → Addons → Modules, in other words fontTools, robofab, and vanilla) are properly installed. And I have, as many suggested, restarted Glyphs and my MacBook pro several times and unlinked the brew installation of python.

Here are some output from the Macro Panel when running certain scripts (I unfortunately don’t have the time to list all of them):

mekkablue → Interpolation → OTVar Player
Returns ↓

Start
Traceback (most recent call last):
  File "OTVar Player.py", line 13, in <module>
    from mekkablue import mekkaObject
ImportError: cannot import name mekkaObject
End

mekkablue → Interpolation → Axis Mapper
Returns ↓

Start
Traceback (most recent call last):
  File "Axis Mapper.py", line 14, in <module>
    from mekkablue import mekkaObject
ImportError: cannot import name mekkaObject
End

mekkablue → Kerning → GapFinder
Returns ↓

Start
  File "/Users/**********/Library/Application Support/Glyphs/Scripts/mekkablue/Kerning/GapFinder.py", line 76
    self.w.text_speedExplanation = vanilla.TextBox((inset + 160, linePos + 2, -inset, 14), f"Measuring every {intervalList[intervalIndex]} units.", sizeStyle='small')
                                                                                                                                                 ^
SyntaxError: invalid syntax
End

mekkablue → Guides → Guides through All Selected Nodes
Returns ↓

Traceback (most recent call last):
  File "Guides through All Selected Nodes.py", line 8, in <module>
    from GlyphsApp import Glyphs, GSGuide, GSGuideLine, GSNode, GSAnchor, addPoints
ImportError: cannot import name GSGuide
End

I hope I’m providing enough (hopefully no too much) informations on this issue. I simply really appreciate the tools offered by mekkablue and would love to be able to use them on my new machine.

All the love to you all,
NG

The scripts are mostly depending on Glyphs 3 by now.

Hmmm I see, does anyone know where I could find an older version of the Mekkablue scripts to try it out?
I won’t be able to buy myself the Glyphs 3 licence before a few months.

Thank you in advance <3
NG

Best way is to check out an older version, from like a year or two ago, through git.