Problem with Adjust Kerning in master script

Hello everybody,

I’m having a trouble with mekkablue’s Adjust Kerning in master script, when I run it, it tells me this:

I don’t know if anyone has had the same problem as me. Maybe it’s not a script error and it’s a error configuration of my font?
In my case I’m trying to increase the kerning of a master, of a font with 2 masters: Light and Black.
Does anyone know anything about this?

That looks like a problem with the script. We’ll have a look.

What version of Glyphs and python do you have?

  1. Can you post the result of Help > Copy Diagnostics?
  2. Can you run “locale” in the terminal and post the result?
  3. can you run this in the macro window and post the result?
import sys
print(sys.getdefaultencoding())

Thanks for your comments,
I tell you:
Glyphs version 3.2.3. and Python 3.11.9

  1. When I run Copy Diagnostics, doesn’t do anything.

  2. When I run “locale”, , it shows me:
    LANG=“es_ES.UTF-8”
    LC_COLLATE=“es_ES.UTF-8”
    LC_CTYPE=“es_ES.UTF-8”
    LC_MESSAGES=“es_ES.UTF-8”
    LC_MONETARY=“es_ES.UTF-8”
    LC_NUMERIC=“es_ES.UTF-8”
    LC_TIME=“es_ES.UTF-8”
    LC_ALL=

  3. When I run “import sys…”, , it shows me:
    zsh: parse error near `)’

Let’s see if this works for you

Can you uninstall and reinstall your modules in the plugin manager, then restart the app?

Make sure you are using the Glyphs Python in Settings > Addons.

It will put a lot of text into the clipboard. Just after you run the command, come here and paste.

Hello Georg,
I send you the screenshots, let’s see how it goes:


do not paste the Diagnostics into the macro window. Paste it directly in a post here.

Ok, I paste it:

Glyphs 3.2.3 (3260)

Mac OS 13.6.1 (x86_64)
Python 3.11.9 (Glyphs)

Plugin Version Ref
AddCaps.glyphsFilter 2.0.4 (8) 2cd86b2
Anchor Annotations.glyphsReporter 1.2.1 (4) f5462e1
Anchors.glyphsPalette 1.10 (11) f5eed20 (not clean)
BlindFold.glyphsReporter 2.0 (16) 1ba6234
BroadNibber.glyphsFilter 2.0.5 (118) 4793854
DashedOutline.glyphsFilter 1.3.3 (7) 1f6c5b7
Delete Duplicate Paths.glyphsFilter 2.0.4 (8) 1038b0b
DeleteShortSegments.glyphsFilter 4.0.1 (16) 75b6087
DeleteSmallPaths.glyphsFilter 2.0.5 (12) 5ee9cf6
DragToKern.glyphsTool 0.7 (7) 22f2d25 (not clean)
DuplicateNodes.glyphsFilter 1.0.2 (3) c44d0e6
Emboss.glyphsFilter 1.0 (1) 68af8cb
Erode.glyphsFilter 1.0 (5) 5befbba
FixZeroHandles.glyphsFilter 2.0.5 (27) 6b6568a
Inliner.glyphsFilter 2.1.4 (8) cc70f7e
InsertInflections.glyphsFilter 3.0.4 (22) d410dca
Inverter.glyphsFilter 2.0.4 (9) 8ed3ba6
KernIndicator.glyphsReporter 2.1.8 (16) 67134a2
KernOnGlyphs3.glyphsPlugin 1.33 (55)
Noodler.glyphsFilter 3.0.5 (43) 9244e3a
Pixelate.glyphsFilter 2.0.7 (13) 3f4895f
Retractor.glyphsFilter 2.0.4 (10) e966f57
Rimmer.glyphsFilter 2.0.6 (12) fb0efad
Shadow.glyphsFilter 2.1.1 (24) 3326c98
ShowBlackFill.glyphsReporter 3.1 (4) f4d1465
ShowExportStatus.glyphsReporter 2.1.1 (18) 080a613
ShowItalic.glyphsReporter 2.0.11 (28) fe6fc54
Speedlines.glyphsFilter 1.1.5 (10) 932445c
System7Shadow.glyphsFilter 2.0.5 (8) 579c8a7
word-o-mat.glyphsPlugin 2.6 (19) b85bf48
Repository Size Ref
ShowBlackFill 324 KB f4d1465
DeleteShortSegments 552 KB 75b6087
AddCaps 225 KB 2cd86b2
InsertInflections 292 KB d410dca
Export and Install 13 KB 35e5dbf
KerningValues 279 KB 67134a2
DashedOutline 493 KB 1f6c5b7
word-o-mat 15 MB b85bf48
DuplicateNodes 212 KB c44d0e6
Curve-Equalizer 1,6 MB 284951a (not clean)
Rimmer 427 KB fb0efad
freemix-glyphsapp 2,5 MB f5eed20 (not clean)
Glyphs-MoveableSidebearings 6,9 MB 22f2d25 (not clean)
Shadow 425 KB 3326c98
Show-Kerning-Group-Reference 223 KB b1802e9 (not clean)
fonttools 50,4 MB 3fe083e
Speedlines 408 KB 932445c
ItalicExtremes 459 KB d2db787 (not clean)
Emboss 617 KB 68af8cb
DeleteSmallPaths 339 KB 5ee9cf6
Erode 248 KB 5befbba
Simon Cozens 200 KB 1083b7a
HT Letterspacer 5,1 MB e743b26
Blindfold 228 KB 1ba6234
AchorArranger 5,3 MB 6a85579 (not clean)
Kernkraft 1,5 MB cc6b987 (not clean)
Inliner 379 KB cc70f7e
ShowItalic 371 KB fe6fc54
BroadNibber 410 KB 4793854
HTLSManager 428 KB 9b3fe2b (not clean)
System7Shadow 483 KB 579c8a7
mekkablue 6,9 MB a6b5c88
DeleteDuplicatePaths 222 KB 1038b0b
vanilla 5,2 MB 7ec2205
GlyphsPythonPlugin 252 MB 0761617
Pixelate 360 KB 3f4895f
FixZeroHandles 934 KB 6b6568a
vanilla-master 2 MB (not a git repository)
Ricard Garcia 127 KB 50cd576
Huerta Tipográfica 322 KB db77052
robofab 8,1 MB 5099fe0
ShowExportStatus 296 KB 080a613
Inverter 347 KB 8ed3ba6
Noodler 691 KB 9244e3a
Retractor 273 KB e966f57
Anchor-Annotations 2,1 MB f5462e1

Thanks. That helps.

Can you send me your font file?

Run this in the macro window, not in the Terminal.

The macro window says:
utf-8

I’m not sure if you received my font, because I see it’s not here. If so, let me know and I’ll send it to you.

I got your file but could not reproduce the problem. So I don’t know a solution.

Ok, nothing happens,
thank you also for the work you do in the forum,
I consult it often!