I believe I may have a very similar bug, if not the same.
Upon saving a new *optimised* SVG Document on Windows 10 (completely unedited externally), the following message appears:
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 326, in getDocumentUnit svgunitfactor = self.__uuconv[svgwidthunit] * width / viewboxwidth ZeroDivisionError: float division
I believe I may have a very similar bug, if not the same.
Upon saving a new *optimised* SVG Document on Windows 10 (completely unedited externally), the following message appears:
Traceback (most recent call last): inkscape. py", line 78, in <module> output= False) share\extension s\inkex. py", line 265, in affect getposinlayer( ) share\extension s\inkex. py", line 207, in getposinlayer share\extension s\inkex. py", line 351, in unittouu _uuconv[ u.string[ u.start( ):u.end( )]] / self.__ uuconv[ self.getDocumen tUnit() ]) share\extension s\inkex. py", line 326, in getDocumentUnit uuconv[ svgwidthunit] * width / viewboxwidth
File "scour.
e.affect(
File "C:\Program Files\Inkscape\
self.
File "C:\Program Files\Inkscape\
x = self.unittouu( xattr[0] + 'px' )
File "C:\Program Files\Inkscape\
return retval * (self._
File "C:\Program Files\Inkscape\
svgunitfactor = self.__
ZeroDivisionError: float division