typesupply / lasermeasure

A laser measure tool.
MIT License
9 stars 1 forks source link

relativeHandlesGlyphFactory component problem. #27

Open typesupply opened 2 years ago

typesupply commented 2 years ago
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lib/eventTools/eventManager.pyc", line 165, in callObserver_withMethod_forEvent_withInfo_
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/mojo/subscriber.py", line 1656, in _roboFontCallback
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/mojo/subscriber.py", line 3272, in start
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/mojo/subscriber.py", line 3288, in fire
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/mojo/subscriber.py", line 1671, in _roboFontCoalescerCallback
  File "/Users/talleming/Library/Application Support/RoboFont/plugins/Laser Measure.roboFontExt/lib/laserMeasure/subscriber.py", line 430, in glyphEditorDidMouseMove
  File "/Users/talleming/Library/Application Support/RoboFont/plugins/Laser Measure.roboFontExt/lib/laserMeasure/subscriber.py", line 793, in measureHandles
  File "/Users/talleming/Library/Application Support/RoboFont/plugins/Laser Measure.roboFontExt/lib/laserMeasure/subscriber.py", line 808, in _findMatchingHandles
  File "lib/fontObjects/fontPartsWrappers.pyc", line 256, in getRepresentation
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/defcon/objects/base.py", line 350, in getRepresentation
  File "/Users/talleming/Library/Application Support/RoboFont/plugins/Laser Measure.roboFontExt/lib/laserMeasure/subscriber.py", line 1556, in relativeHandlesGlyphFactory
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/defcon/objects/glyph.py", line 480, in draw
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/defcon/objects/glyph.py", line 492, in drawPoints
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/defcon/objects/component.py", line 185, in drawPoints
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontTools/pens/pointPen.py", line 246, in addComponent
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontTools/pens/basePen.py", line 191, in addComponent
TypeError: 'NoneType' object is not subscriptable
Observer '<laserMeasure.subscriber.LaserMeasureSubscriber object at 0x1113c2dd0>' with '_roboFontCallback' failed: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/defcon/objects/component.py", line 183, in drawPoints
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontTools/pens/pointPen.py", line 246, in addComponent
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontTools/pens/basePen.py", line 191, in addComponent
TypeError: 'NoneType' object is not subscriptable