Description of problem:
Inkscapes tool in menu/extensions/gcodetools/Area will fail in a way described in https://gitlab.com/inkscape/extensions/-/issues/296
The fix has been applied at least to inkscape master branch for upcoming 1.1 but it works also with Mageia's 1.0.2 version. Fix refereed in upstream bug issue 296 is available in
I have myself patched the gcodetools.py manually and tested it to work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create some Text with inkscape with big font ("Hello" for example)
2. Select created text
3. Select Menu Extensions/GCodeTools/Orientations points and press apply and then close the dialog
4. Select Menu Extensions/GCodeTools/Tools Library, select Cylinder and press apply and then close the dialog
5. Select Menu Extensions/GCodeTools/Area and press apply... Error will popup due to python exception "TypeError: Argument must be bytes or unicode, got 'Style'"
just like in upstream bug 296 that has been fixed.
Thank you for this helpful report, the research, and testing the fix.
Trying this on M8 LXDE inkscape-1.0.2-1.mga8
1. Created big text
2. Selected it all (within the Text tool, not as an object)
3. Did all that, but it complained on applying:
"This extension works with Paths and Dynamic Offsets and groups of them only! All other objects will be ignored!
Solution 1: press Path->Object to path or Shift+Ctrl+C.
Solution 2: Path->Dynamic offset or Ctrl+J.
Solution 3: export all contours to PostScript level 2 (File->Save As->.ps) and File->Import this file."
Gave up, started again:
1. Created big text.
2. With that *object* selected, converted it to path.
3. Did that.
4. Did that.
5. Did that, and got the bug:
"Traceback (most recent call last):
File "gcodetools.py", line 5921, in <module>
File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run
File "gcodetools.py", line 5872, in effect
File "gcodetools.py", line 4164, in tab_area
elem = area_group.add(PathElement(style=MARKER_STYLE["biarc_style_i"]['area']))
File "src/lxml/classlookup.pxi", line 77, in lxml.etree.ElementBase.__init__
File "src/lxml/apihelpers.pxi", line 158, in lxml.etree._initNewElement
File "src/lxml/apihelpers.pxi", line 317, in lxml.etree._initNodeAttributes
File "src/lxml/apihelpers.pxi", line 334, in lxml.etree._addAttributeToNode
File "src/lxml/apihelpers.pxi", line 1538, in lxml.etree._utf8
TypeError: Argument must be bytes or unicode, got 'Style'"
Inkscape is committed by different people, so assigning this bug globally. It looks easy to fix with Mika's references.
gcodetools plugin needs patch from upstream to fix fill area bug =>
Inkscape gcodetools plugin needs patch from upstream to fix fill area bug
Should be fixed with inkscape-1.0.2-1.1.mga8 in Core/Updates_testing repo!
Assigning to QA,
This update added an upstream patch to update gcodetools.py to fix a bug with area creation where a conversion to string no longer worked in Inkscape 1.0 and changed an indentation so that the 'd' parameter is correctly exported for dynamic offsets.
Packages in 8/core/updates_testing:
An update for this issue has been pushed to the Mageia Updates repository.
This update adjusted an indentation https://1001games.io/ so that the 'd' parameter is appropriately exported for dynamic offsets and introduced an upstream patch to update gcodetools.py to fix an issue with area generation where a conversion to string no longer functioned in Inkscape 1.0.
Security is one of the needs in the plan of the suits, gloves, and boots. Yet, what number of pieces do the riders utilize per GP? Furthermore, how does the cooperation guarantee they have all that they need at each GP? 2 piece motorcycle racing suit
hanajendi8, iverrpro1 =>