Glyphs, Vanilla, Metrics scripts

Hey —

All and any help much appreciated!

I’m trying to run Mekka’s ‘Change Metrics by Percentage’.

First hurdle… I got Tal Leming’s Vanilla wrapper and put the vanilla folder directly into 2.6/site-packages

Good thing is it’s found it - but - I’m not sure where to go with this…

Start
Traceback (most recent call last):
  File "Change Metrics by Percentage.py", line 7, in 
  File "/Library/Python/2.6/site-packages/vanilla/__init__.py", line 21, in 
    from vanillaSplitView2 import SplitView2
  File "/Library/Python/2.6/site-packages/vanilla/vanillaSplitView2.py", line 10, in 
    "splitter": NSSplitViewDividerStylePaneSplitter,
NameError: name 'NSSplitViewDividerStylePaneSplitter' is not defined
End

Luke

I wonder how you installed vanilla. There are installation instructions on https://github.com/mekkablue/Glyphs-Scripts (scroll down a little).

I’ll guess I’ll wait till it’s back online…!

curl: (7) Failed to connect to 50.97.173.20: Host is down
localhost:Library $lnp unzip -o robofab.zip -d Python_Installs
Archive: robofab.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of robofab.zip or
robofab.zip.zip, and cannot find robofab.zip.ZIP, period.
localhost:Library $lnp rm robofab.zip
localhost:Library $lnp cd Python_Installs/Vanilla/
-bash: cd: Python_Installs/Vanilla/: No such file or directory
localhost:Library $lnp sudo python2.6 setup.py install

aaaaaand I have it working.

I doff my cap to you mekkablue

“Change Metrics by Percentage” Script is giving opposite results
Glyphs 2.1.1 (780)