Skip to content

First ever traceback! #9

Description

@ryanbugden
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions