Skip to content

UnicodeDecodeError: svgutils.transform.fromfile not able to read the svgfile generated by inkscape #77

@MChetanSR

Description

@MChetanSR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions