Skip to content

Commit

Permalink
Fix XML parse error
Browse files Browse the repository at this point in the history
On Ubuntu 20.04 with librsvg 2.48.0 the activity logs contain;

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sugar3/graphics/icon.py", line 140, in load
    return Rsvg.Handle.new_from_data(icon.encode('utf-8'))
gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201 (3) in (null):22:40: Namespace prefix inkscape for connector-curvature on path is not defined (0)

librsvg 2.47.0 introduced stricter namespaces in the XML parser,
https://gitlab.gnome.org/GNOME/librsvg/-/blob/master/NEWS#L67

so add namespace declarations.
  • Loading branch information
quozl committed Apr 9, 2020
1 parent 3445fbd commit d3a7117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions icons/chain.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3a7117

Please sign in to comment.