Skip to content

GCodeTools Orientation Points fails with Graffiti points

Steps to Replicate

  • Open Inkscape
  • Extensions > GcodeTools > Orientation Points
  • Change Orientation type to "graffiti points"
  • Apply

What happened?

  • nothing generated, fails with
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
Traceback (most recent call last):
  File "gcodetools.py", line 5921, in <module>
    Gcodetools().run()
  File "/home/nal/all/inkscape/share/inkscape/extensions/inkex/base.py", line 141, in run
    self.save_raw(self.effect())
  File "gcodetools.py", line 5872, in effect
    self.options.active_tab()
  File "gcodetools.py", line 5043, in tab_orientation
    draw_text(axis, graffiti_reference_points_count * 100 + 10, -10, group=g, gcodetools_tag="Gcodetools graffiti reference point text")
NameError: name 'g' is not defined

What should have happened?

  • No error

Version info

  • Inkscape 1.1-dev (582f6d99fe, 2020-10-18), extensions at master.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information