Hi, I’m trying to write a script and the code below caused an ImportError.
Could someone help me to solve the issue?
source = CurrentGlyph() source.getPen()
Traceback (most recent call last): File "<macro panel>", line 2 File "objectsBase.py", line 1453, in getPen return SegmentToPointPen(self.getPointPen()) File "GlyphsApp/objectsGS.py", line 660, in getPointPen File "GlyphsApp/GSPen.py", line 10 ImportError: cannot import name 'GSQCURVE' from 'objectsGS' (/Applications/Glyphs 3.app/Contents/Scripts39/objectsGS.pyc)
- macOS Big Sur 11.2.3
- Glyphs 3.0.3 (3081)
- Python 3.9.4 (Homebrew)
- Installed FontTools, Python, RoboFab, and Vanilla from the Plugin Manager
- Installed PyObjC and FontTools with pip
Thanks in advance.