Saving Optimized SVG error

Bug #1649546 reported by Francesco
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

In certain cases when saving an optimized SVG the plugin will crash without saving the file.
Flag checked:
- Shorten color values
- Convert CSS attributes
- Group collapsing
- Create groups for similar attributes
- Embed rasters
- Work around render bugs
- Enable viewboxing
- number of significant digits for coords: 5
- XML indentation: space

Error reported:
Traceback (most recent call last):
  File "scour.inkscape.py", line 78, in <module>
    e.affect(output=False)
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 265, in affect
    self.getposinlayer()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 207, in getposinlayer
    x = self.unittouu( xattr[0] + 'px' )
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 351, in unittouu
    return retval * (self.__uuconv[u.string[u.start():u.end()]] / self.__uuconv[self.getDocumentUnit()])
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 304, in getDocumentUnit
    p = param.match(svgwidth)
TypeError: expected string or buffer

Revision history for this message
Francesco (rombecchi) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

thank you for taking the time to issue a report!

not reproduced on Windows 10, Inkscape 0.92pre3 15195

appears to be a duplicate of Bug 1463623

jazzynico (jazzynico)
tags: added: exporting extensions-plugins
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.