Hello, wondering if anyone could help me with an issue I’m having with the Touché plugin. In the Macro window I see the following error after installing Touché and restarting:
Traceback (most recent call last):
File "main.py", line 10, in <module>
_run('plugin.py')
File "main.py", line 5, in _run
base = os.environ['RESOURCEPATH']
File "UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'RESOURCEPATH'
Traceback (most recent call last):
File "<macro>", line 5, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 123: ordinal not in range(128)
And there is no indication that the plugin is available (searching previous threads, I see it should be in the Edit menu). If I uninstall Touché the error stops appearing.
As directed on the Touché Github page, I have ensured that the latest robofab and vanilla are installed, and objectsGS and GSPen from Glyphs-Scripts are in the root of the Scripts folder. I am on the latest version of Glyphs, 2.6.1.
Interesting. The Macro window only shows the error when Touché is installed, and other plugins seem to work OK. I will keep troubleshooting. I’m not versed in Python at all, so let me know if you have any suggestions for where to look. Thank you.
Just to add, when I switch output to Console, it specifically states there’s a problem with Touché. Otherwise the info is the same as what was seen in the Macro window.
Problem with Plugin at Path: /Users/[ME]/Library/Application Support/Glyphs/Repositories/Touché/Touche.glyphsPlugin (!PrincipalClass)
On a hunch I changed the folder name from Touché to Touche, removing the e acute character, and the plugin loaded up fine! Since it worked on yours I wonder if it’s something to do with my system being set to U.S. English.
New error: File "/Users/[ME]/Library/Application Support/Glyphs/Repositories/Touché/Touche.glyphsPlugin/Contents/Resources/../MacOS/main.py", line 9 base = os.environ['RESOURCEPATH'] ^ IndentationError: expected an indented block Traceback (most recent call last): File "<macro>", line 5, in <module> UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 123: ordinal not in range(128)
I’m unable to get the Touché plugin to work. Installed with the Plugin-Manager, restarted glyphs.app – it just doesn’t appear in the edit-menu or anywhere else. GSpen.py and objectsGS.py is installed. word-o-mat is working, but Touche …
Then I downloaded the files from
but don’t know where to put all this stuff – if necessary
The macro-window shows me some lines about the wordfinder-plugin, but nothing that seems to be related to Touché. Glyphs is 2.6.6/1348