Mekkablue Add PUA Unicode Values to Selected Glyphs not working on my Glyphs 3.2

Hello! I have used this script before without any issues. However, since I updated my Glyphs to version 3.2, the code is no longer functioning. I have tried uninstalling and reinstalling the script, but it still does not work. Is there any chance we could find a solution for this? Thank you in advance!

Do you get an error in the macro window?

1 Like

Thank you for your prompt answer. I did not receive any error messages. I simply ran the script, but nothing happened.

Nothing happened, okay, but did you check the Macro Window? (View > Show Macro Window)

1 Like

Thank you! I checked and it did have an error message. The error looks like this:

Traceback (most recent call last):
File “Add PUA Unicode Values to Selected Glyphs.py”, line 8
import vanilla
File “init.py”, line 6
from vanilla.vanillaColorWell import ColorWell
File “vanillaColorWell.py”, line 5
from AppKit import NSColorWellStyleDefault, NSColorWellStyleMinimal, NSColorWellStyleExpanded
ImportError: cannot import name ‘NSColorWellStyleDefault’ from ‘AppKit._AppKit’ (/Users/welcome/Library/Application Support/Glyphs 3/Repositories/GlyphsPythonPlugin/Python.framework/Versions/3.9/lib/python3.9/site-packages/AppKit/_AppKit.cpython-39-darwin.so)

Please remove and reinstall the Glyphs python and the vanilla module in the plugin manager.

1 Like

It works! The script is running normally now. Thanks a ton! :raised_hands: