[solved] Inkcut Linux Mint error

Post about using Inkscape with cutters or plotters.
zedd2006
Posts: 10
Joined: Thu May 18, 2017 2:47 am

[solved] Inkcut Linux Mint error

Postby zedd2006 » Thu May 18, 2017 3:48 am

Code: Select all

Traceback (most recent call last):
  File "inkcutext.py", line 71, in <module>
    effect.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 268, in affect
    self.effect()
  File "inkcutext.py", line 50, in effect
    InkscapePlugin(self.document,nodes.keys(),inkex)
  File "/home/chris/.config/inkscape/extensions/inkcut/app/main.py", line 473, in InkscapePlugin
    app = Application(svg,nodes,inkex)
  File "/home/chris/.config/inkscape/extensions/inkcut/app/main.py", line 86, in __init__
    self.plot.loadGraphic(self.nodes)
  File "/home/chris/.config/inkscape/extensions/inkcut/app/bin/path.py", line 69, in loadGraphic
    self.graphic = Graphic(svgPathNodes)
  File "/home/chris/.config/inkscape/extensions/inkcut/app/bin/path.py", line 408, in __init__
    self.data = self.toBasicPaths(self.fromSVG(svgElements))
  File "/home/chris/.config/inkscape/extensions/inkcut/app/bin/path.py", line 546, in fromSVG
    raise AssertionError("Cannot handle tag '%s'"%(tag))
AssertionError: Cannot handle tag 'text'


I'm getting this error everytime i try execute InkCut, anyone know whats wrong?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Inkcut Linux Mint error

Postby Moini » Thu May 18, 2017 9:54 am

The error message says that Inkcut cannot deal with texts.

Try to select all texts (select one, right-click on it, go to Select Same -> Object type, if in Inkscape 0.92 or higher - else select each text manually), then convert the texts to paths (Path -> Object to path).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Inkcut Linux Mint error

Postby brynn » Thu May 18, 2017 10:15 am

Too bad they can't make certain error messages meaningful for users. I usually think of a Traceback, as something that's meaningful for developers, or at least the author of the extension. But if it's about something the user did (or didn't do), it seems to me like that ought to be in regular text, rather than code (which is essentially worthless to users).

zedd2006
Posts: 10
Joined: Thu May 18, 2017 2:47 am

Re: Inkcut Linux Mint error

Postby zedd2006 » Fri May 19, 2017 9:27 am

That worked, thank you

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Inkcut Linux Mint error

Postby Moini » Sat May 20, 2017 5:11 am

You're welcome, zedd2006 :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Inkscape & Cutters/Plotters”