gcodeplot icon indicating copy to clipboard operation
gcodeplot copied to clipboard

The called script passed additional data to Inkscape...

Open flow1990 opened this issue 3 years ago • 5 comments

"The called script passed additional data to Inkscape. No error message was returned from the script, but the result may be unusable."

If I try to save s.th. to gcode I get the above error message. Even if it says that there are no erros, if I click "ok" the next message says that it was not able to save the file.

Traceback (most recent call last): File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodeplot\gcodeplot.py", line 9, in import svgpath.parser as parser File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodeplot\svgpath_init_.py", line 1, in from .path import Path, Line, Arc, CubicBezier, QuadraticBezier File "C:\Program Files\Inkscape\share\inkscape\extensions\gcodeplot\svgpath\path.py", line 3, in from collections import MutableSequence ImportError: cannot import name 'MutableSequence' from 'collections' (C:\Program Files\Inkscape\lib\python3.10\collections_init_.py)

flow1990 avatar Nov 21 '22 08:11 flow1990

I think you're not using the latest version in the repository.

arpruss avatar Nov 21 '22 15:11 arpruss

I think you're not using the latest version in the repository.

I am using the latest one from 2021 or is there a newer one? It is version 0.11

flow1990 avatar Nov 21 '22 15:11 flow1990

Try 0.12 which I just posted. Or use an earlier Python.

The issue is Python 3.10 compatibility.

arpruss avatar Nov 21 '22 16:11 arpruss

I don't get it, it is still the same... The only difference it that it now shows "No points." below the "The called script passed additional data to Inkscape. No error message was returned from the script, but the result may be unusable." but it is still not saveable.

flow1990 avatar Nov 22 '22 15:11 flow1990

No, that's not the same. I'm guessing you have no solid colored lines in your drawing.

arpruss avatar Nov 22 '22 17:11 arpruss