Skip to content

render printing marks gives error

Summary:

The extension render > lay out > printing marks does not work.

Steps to reproduce:

  • Open Inkscape
  • Draw a rectangle as big as the page.
  • Select it.
  • Choose extensions > render > layout > printing marks. I choose crop marks and bleed marks. Positioning selection, mm, offset 5 and bleed margins 3 mm.

What happened?

When applied this info pops up: Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.

Traceback (most recent call last): File "printing_marks.py", line 401, in PrintingMarks().run() File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 140, in run self.save_raw(self.effect()) File "printing_marks.py", line 251, in effect g_bleed = layer.add(inkex.Group(**g_attribs)) 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 333, in lxml.etree._addAttributeToNode File "src/lxml/apihelpers.pxi", line 1744, in lxml.etree._attributeValidOrRaise ValueError: Invalid attribute name 'inkscape:label'

What should have happened?

There should have been some marks around the page, crop and bleed marks. The extension works fine in the 1.1 Alpha_2021-02-21_2a16015-x64 version, Windows 8.1. The extension also works fine with 0.92.5 (2060ec1f9f. 2020-04-08), Windows 8.1.

Sample attachments:

Version Info:

- Inkscape Version: 1.0.2-2 and also 1.0.2
- Operating System: Windows 8.1
Edited by KirstenRK
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information