Manually installing vanilla module


#1

When the automatic method to install vanilla do not work, install it manually.

  • Download the vanilla GitHub repository by clicking the green Clone or Download button on the right and then Download Zip
  • unpack the .zip.
  • inside is a folder Lib. Copy its content to Glyphs’ Scripts folder. You can open it from within Glyphs, in the bottom of the Scripts menu click Open Scripts Folder.
  • Restart Glyphs, open Window > Macro Panel and type:
import vanilla
print vanilla

It should produce a line like this:

<module 'vanilla' from '/Users/.../Library/Application Support/Glyphs/Scripts/vanilla/__init__.pyc'>

Manually installing vanilla module - 2
Can't install Vanilla, Show Stem Pro does not work
Modules Installation
Update vanilla library
ImportError: No module named robofab.world
Modules Installation
#2

It does not work for me.

I have implemented it as described:
I download Vanilla at GitHub. I open Glyphs > Skript > Skript Ordner öffnen
I copy the vanilla folder from the ZIP to …/Library/Application Support/Glyphs/Scripts/vanilla

I restart Glyphs and open > Fenster > Makro-Fenster:

import vanilla
print vanilla

> Ausführen

Nothing happens, no message, nothing.


#3

Can you check the setting in Preferences > User Settings > Use system console for script output? It should not be set.


#4

It is not set.


#5

Then there is something else wrong with your python. What happens if you run this in the macro window:

print "Hallo"

#6

It’s the same, nothing happens. A dead window.

Maybe a new installation of Glyphs? If Python is missing, maybe it will be installed?


#7

Can you send me a screenshot of the macro window.

I don’t think that python itself is broken. But you can try that in the terminal. Type python + enter in the command line. What do you get?


#8

Hey Georg, mine is using the Vanilla in my /Library/Python/2.7/site-packages/ is that an issue?


#9

No. I just found that installing it (correctly) into side packages doesn’t always work. So I decided to just put it into the Scripts folder as that seems to always work.


#10

FYI, an alias of the Lib folder in the Scripts folder works just as well (so that way you can git clone vanilla into a folder and then just pull updates as necessary without another step to copy the Lib folder into Glyphs).

Micah


#11

Thanks for the suggestion. But that adds one step to the list.


#13

Worked perfectly. Thanks


#14

I have a new Mac, so I installed Glyphs once again. Unfortunately, I have exactly the same problems as on the previous Mac, with the little difference that has been on the old El Capitan, on the new High Sierra.

I installed > Preferences > Install Modules (I find it a pity that there is no info message what’s happening)

Under
/Users/user/Library/Application Support/Glyphs/Scripts

I have these folders:

/fontTools
/robofab
/vanilla

I open the Macro Panel:

_import vanilla_
_print vanilla_

and get these message:

_Traceback (most recent call last):_
_  File "<string>", line 1, in <module>_
_NameError: name 'vanilla' is not defined_

Because there’ s no message at all, I don’t know what happened. Is Vanilla installed or not? The folder is at the right place. I restart Glyphs after each step, so also now. So I try to install plugins. That doesn’t work either, no plugin, no nothing …


#15

The error message is strange. You should get something like this:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named vanilla

What happens if you do:

import sys
print sys

#16

Nothing happens after the input, the panel stays blank.


#17

There must at least be an error message:


#18

Ah okay, same appears:
<module ‘sys’ (built-in)>