Error exporting to .sif (Synfig Animation) with currentColor
Summary:
I get the following error when trying to export this SVG (https://kde.org/stuff/clipart/logo/plasma-logo-monochrome.svg) to .sif:
Traceback (most recent call last):
File "/snap/inkscape/10512/share/inkscape/extensions/synfig_output.py", line 1485, in <module>
SynfigExport().run()
File "/snap/inkscape/10512/share/inkscape/extensions/inkex/base.py", line 231, in run
self.save_raw(self.effect())
File "/snap/inkscape/10512/share/inkscape/extensions/synfig_output.py", line 1158, in effect
layers += self.convert_node(node, doc)
File "/snap/inkscape/10512/share/inkscape/extensions/synfig_output.py", line 1194, in convert_node
layers = self.convert_path(node, d)
File "/snap/inkscape/10512/share/inkscape/extensions/synfig_output.py", line 1390, in convert_path
color = extract_color(style, "fill", "fill-opacity")
File "/snap/inkscape/10512/share/inkscape/extensions/synfig_output.py", line 1098, in extract_color
c = inkex.Color(style[color_attrib]).to_rgb()
File "/snap/inkscape/10512/share/inkscape/extensions/inkex/colors.py", line 248, in __init__
space, color = self.parse_str(color.strip())
File "/snap/inkscape/10512/share/inkscape/extensions/inkex/colors.py", line 352, in parse_str
raise ColorError(f"Unknown color format: {color}")
inkex.colors.ColorError: 'Unknown color format: currentColor'
The error happens no matter if I use Snap or Flatpak. It also happens on another computer.
Steps to reproduce:
- open Inkscape with provided SVG
- Select "Save as..."
- Select the .sif format
- Type a name
- Hit save.
What happened?
Error is outputed
What should have happened?
File should have been saved
Sample attachments:
Logo |
---|
Version info
Inkscape 1.2.2 (b0a8486541, 2022-12-01, custom)
GLib version: 2.72.4
GTK version: 3.24.33
glibmm version: 2.66.2
gtkmm version: 3.24.5
libxml2 version: 2.9.13
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.50.6
HarfBuzz version: 2.7.4
OS version: Ubuntu Core 22
Edited by Nathan Lee