Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many errors #6

Open
Tosche opened this issue Nov 2, 2017 · 0 comments
Open

Many errors #6

Tosche opened this issue Nov 2, 2017 · 0 comments

Comments

@Tosche
Copy link

Tosche commented Nov 2, 2017

I see following errors while using the plugin.

Error 1:
ERROR: crossPoint == ON CURVE POINT!!!!
(I think this error is expected to happen, in that case I do not want to see it, as I use output area myself quite often)

Error 2:
Traceback (most recent call last):
File "GlyphsApp/plugins.py", line 1118, in drawForegroundForLayer_options_
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 100, in foreground
closestData = self.calcClosestInfo(layer, crossHairCenter)
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 262, in calcClosestInfo
n = math.floor(closestPathTime)
TypeError: a float is required

Error 3:
Traceback (most recent call last):
File "GlyphsApp/plugins.py", line 1118, in drawForegroundForLayer_options_
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 104, in foreground
self.drawCrossingsForData(closestData)
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 175, in drawCrossingsForData
FirstCrossPointA = NSPoint(crossPoints[i].x,crossPoints[i].y) #blue
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 459, in _getitem__objectAtIndex
raise IndexError("list index out of range")
IndexError: list index out of range

Error 4:
Traceback (most recent call last):
File "GlyphsApp/plugins.py", line 1118, in drawForegroundForLayer_options_
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 100, in foreground
closestData = self.calcClosestInfo(layer, crossHairCenter)
File "/Users/toshi/Library/Application Support/Glyphs/Repositories/StemThickness/StemThickness.glyphsReporter/Contents/Resources/StemThickness.py", line 264, in calcClosestInfo
if OnNode.type == CURVE:
AttributeError: 'NoneType' object has no attribute 'type'

simoncozens added a commit to simoncozens/StemThickness that referenced this issue Dec 4, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
simoncozens added a commit to simoncozens/StemThickness that referenced this issue Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant