Inkscape.org
Creating New Extensions Traceback Error running extension
  1. #1
    Jooo Jooo @Jooo

    Hi all,

    I found the (hopefully) quite usefull extension from hosli and installed it.

    https://inkscape.org/~hosli/%E2%98%85cut-encoding-for-shaper-origin

    While running it, I get a traceback error:

    Traceback (most recent call last):
      File "cutencoding.py", line 190, in <module>
        set_cut_encodings().run()
      File "D:\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
        self.save_raw(self.effect())
      File "cutencoding.py", line 53, in effect
        self.iterator(self.svg.selection)
      File "D:\Inkscape\share\inkscape\extensions\inkex\elements\_base.py", line 147, in __getattr__
        raise AttributeError("Can't find attribute {}.{}".format(self.typename, name))
    AttributeError: Can't find attribute SvgDocumentElement.selection

    Can anyone please help me out here?

    I freshly downloaded Inkscape and upgraded my version to the newest

    Thank you!

  2. #2
    inklinea inklinea @inklinea⛰️

    I tested on Inkscape 1.3 / Ubuntu 22

    Works for me. 

    On the inkscape.com page link you posted, can you ignore the download icon and click on the 'Link' on the right.

    Then down load from Github instead ? 

  3. #3
    Jooo Jooo @Jooo

    I redownloaded it from Github directly, but I got the same error.

    I re-checked Inkscape now and I noticed that I somehow got 2 parallel versions installed. 1.0 and 1.3.2 and I ran the 1.0 version.

    With the new one it works now. Thanks!

Inkscape Inkscape.org Inkscape Forum Creating New Extensions Traceback Error running extension