Further debugging, I’ve uninstalled the “vanilla” package… and made sure to install cocoa-vanilla from Georg’s fork specifically: pip install git+https://github.com/schriftgestalt/vanilla.git
Not saying the issue is with Vanilla, but when I do run e.g. this script I do get errors related to vanilla:
Running as script…
Traceback (most recent call last):
File "<macro panel>", line 800
File "<macro panel>", line 46, in main
File "<macro panel>", line 74, in __init__
File "<macro panel>", line 151, in startGUI
File "vanillaWindows.py", line 263, in __setattr__
_setAttr(Window, self, attr, value)
File "vanillaBase.py", line 404, in _setAttr
obj._autoLayoutViews[attr] = view
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Window' object has no attribute '_autoLayoutViews'
This being the isolated code triggering the vanilla error when run from the Macro window:
import vanilla
print(vanilla)
from vanilla import Window
w = Window()
w.showSupported = CheckBox(
"auto",
"Show supported",
sizeStyle="regular",
value=False,
)
Interestingly the print of the module yields with that source location, not the pip installed one: <module 'vanilla' from '/Users/johannes/Library/Application Support/Glyphs 3/Scripts/site-packages/vanilla/__init__.py'>