UnicodeDecodeError: svgutils.transform.fromfile not able to read the svgfile generated by inkscape
Opened this issue · 1 comments
MChetanSR commented
This seems to be an issue with lxml
. I couldn't report issue on their repo. The same file could be parsed by python's inbuilt xml.etree.ElementTree.parse(fpath)
without any issue. May be svg_file = etree.parse(fid, parser=etree.XMLParser())
in line 354 of transform.py could be modified to resolve this.
hartwork commented
@MChetanSR please provide more details (like a backtrace, a minimal reproducible example file, details about versions and the environment) to make this a proper bug report. Right now, it doesn't seem actionable to me.