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

First ever traceback! #9

Open
ryanbugden opened this issue Jun 28, 2024 · 0 comments
Open

First ever traceback! #9

ryanbugden opened this issue Jun 28, 2024 · 0 comments

Comments

@ryanbugden
Copy link

Traceback (most recent call last):
  File "/Applications/RoboFont-4_5b2.app/Contents/Resources/lib/python3.12/mojo/subscriber.py", line 3414, in timerFire_
    self.fire()
  File "/Applications/RoboFont-4_5b2.app/Contents/Resources/lib/python3.12/mojo/subscriber.py", line 3435, in fire
    self.callback(self)
  File "/Applications/RoboFont-4_5b2.app/Contents/Resources/lib/python3.12/mojo/subscriber.py", line 2005, in _defconCoalescerCallback
    method(data)
  File "showDist.py", line 148, in glyphDidChangeSelection
  File "showDist.py", line 172, in setTextForSelection
  File "showDist.py", line 102, in __init__
  File "showDist.py", line 111, in sel_box
AttributeError: 'tuple' object has no attribute 'x'

Here is the glif that caused it

<?xml version='1.0' encoding='UTF-8'?>
<glyph name="space" format="2">
  <advance width="221"/>
  <outline>
    <contour>
      <point x="11" y="28" type="move"/>
      <point x="6" y="11"/>
      <point x="13" y="0"/>
      <point x="28" y="0" type="curve" smooth="yes"/>
      <point x="123" y="0" type="line" smooth="yes"/>
      <point x="140" y="0"/>
      <point x="146" y="5"/>
      <point x="152" y="24" type="curve" smooth="yes"/>
      <point x="207" y="190"/>
      <point x="225" y="194"/>
      <point x="248" y="194" type="curve"/>
    </contour>
    <contour>
      <point x="191" y="144" type="curve"/>
      <point x="193" y="154"/>
      <point x="191" y="144"/>
    </contour>
  </outline>
</glyph>

I was marquee-selecting this point.
image

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