Tosche / Glyphs-Scripts

Tosche's Python scripts for glyphs
Apache License 2.0
77 stars 24 forks source link

Got an error trying to use this plugin #4

Closed megaghz closed 8 years ago

megaghz commented 8 years ago

I got this error msg in console, when trying this script. I don't know what does it means. Thanks for your help.

Start Traceback (most recent call last): File "Instance Slider.py", line 14, in <module> for ins in font.instances: AttributeError: 'NoneType' object has no attribute 'instances' End Start End Instance Slider Error (listClick): 'NoneType' object has no attribute 'previewInstances' Start Traceback (most recent call last): File "Instance Slider.py", line 273, in <module> InstanceSlider() File "Instance Slider.py", line 131, in __init__ font.currentTab.previewInstances = 'live' AttributeError: 'NoneType' object has no attribute 'previewInstances' End Instance Slider Error (listClick): 'NoneType' object has no attribute 'previewInstances' Instance Slider Error (listClick): 'NoneType' object has no attribute 'previewInstances'

Tosche commented 8 years ago

This script uses functions that are only available from Glyphs 2.3. What version are you using?

megaghz commented 8 years ago

Version 2.3b (845)

Tosche commented 8 years ago

I noticed it doesn't open when there was no tab. I think I fixed it. Could you try?

megaghz commented 8 years ago

just replace this https://github.com/Tosche/Glyphs-Scripts/blob/master/Instance%20Slider.py ? 13 h ago

Tosche commented 8 years ago

No I updated it like 12 minutes ago.

megaghz commented 8 years ago

Working now, thanks!

megaghz commented 8 years ago

The preview isn't showing, in preview, text disappear when move the slides... they reappear in their default values.

Tosche commented 8 years ago

So, the only the master points are shown. That seems to mean your outlines are not compatible. How is it looking?

megaghz commented 8 years ago

just did some quick drawings to test... same nodes, dif position.

Tosche commented 8 years ago

Could you send your file to me? tosche@mac.com

Tosche commented 8 years ago

It was an outline problem in the Glyphs file.