Deep Ungroup: error upon trying to ungroup this weird svg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to help a user to ungroup a strangely grouped SVG file in the forums [1], I got this error message:
Traceback from extension:
Traceback (most recent call last):
File "ungroup_deep.py", line 281, in <module>
effect.affect()
File "/opt/inkscape_
self.effect()
File "ungroup_deep.py", line 274, in effect
self.
File "ungroup_deep.py", line 259, in _deep_ungroup
self.
File "ungroup_deep.py", line 203, in _ungroup
self.
File "ungroup_deep.py", line 105, in _merge_transform
simpletrans
File "src/lxml/
File "src/lxml/
TypeError: this element does not have children or attributes
[1] Forum discussion: http://
[2] Link to example file (have asked for permission to append):
https:/
confirmed on Windows 10, Inkscape 0.92.1 r15371, using the extension "Arrange->Deep Ungroup".
apparently caused by the html style comments of the type
<!-- drawing style -->
attached is a reduced test case that shows the same crash