Error trying to save Optimized SVG (no 'width' attribute for SVGRoot)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Aurium |
Bug Description
Clicking Save As, choosing Optimized SVG, with the following options:
Options
Shorten color values
Group collapsing
Remove metadata
Remove comments
Work around renderer bugs
Enable viewboxing
Remove the xml declaration
Significant digits cords : 5
XML identaton: space
IDS Tab
Removed unused ids
Shorten ids
Preserve manually added ids
Inkscape return the following error:
Traceback (most recent call last):
File "scour.
e.affect(
File "/usr/share/
self.
File "/usr/share/
x = self.unittouu( xattr[0] + 'px' )
File "/usr/share/
return retval * (self._
File "/usr/share/
p = param.match(
TypeError: expected string or buffer
Related branches
summary: |
- Error trying to save Optimized SVG + Error trying to save Optimized SVG (missing <width> attribute for + SVGRoot) |
summary: |
- Error trying to save Optimized SVG (missing <width> attribute for - SVGRoot) + Error trying to save Optimized SVG (no <width> attribute for SVGRoot) |
summary: |
- Error trying to save Optimized SVG (no <width> attribute for SVGRoot) + Error trying to save Optimized SVG (no 'width' attribute for SVGRoot) |
tags: | added: backport-proposed |
Changed in inkscape: | |
status: | Triaged → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Please add information about OS/platform and Inkscape version to the bug description, thank you.
To allow further investigation, please attach a test case to the bug report which consistently fails to save as Optimized SVG file as reported.