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 https://gitlab.com/inkscape/extensions/-/commit/07adfd6d2e8eaf7cbb478d838d8d3a83cccc3e25.diff I have myself patched the gcodetools.py manually and tested it to work. Version-Release number of selected component (if applicable): How reproducible: 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> Gcodetools().run() File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run self.save_raw(self.effect()) File "gcodetools.py", line 5872, in effect self.options.active_tab() 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.
Assignee: bugsquad => pkg-bugsSummary: 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!
CC: (none) => geiger.david68210
Assigning to QA, Advisory: ======================== 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. Reference: https://gitlab.com/inkscape/extensions/-/issues/296 ======================== Packages in 8/core/updates_testing: ======================== inkscape-1.0.2-1.1.mga8.i586.rpm inkscape-1.0.2-1.1.mga8.x86_64.rpm Source RPM: ======================== inkscape-1.0.2-1.1.mga8.src.rpm
Assignee: pkg-bugs => qa-bugs
Yep. Validating.
Keywords: (none) => advisory, validated_updateCC: (none) => ouaurelien, sysadmin-bugsWhiteboard: (none) => MGA8-64-OK
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2021-0084.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
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.
CC: (none) => hanajendi8
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 https://milogears.com/en-us/products/copy-of-custom-design-motorcycle-racing-suit-leather-motorbike-gear-for-track-street-and-drag-racing-1-piece-and-2-piece-available-2
CC: (none) => iverrpro1
CC: hanajendi8, iverrpro1 => (none)