I'm trying to save a simple SVG file with a gradient (attached) as WMV. When I do so I get a zero byte file and an error message. I have tried with the 0.48 stable and the latest development release (R9984) and get the same error. The error message is as follows. (I've replaced the install directory by "{INSTALL DIR}":
OS: Win XP, SP3
I'm trying to save a simple SVG file with a gradient (attached) as WMV. When I do so I get a zero byte file and an error message. I have tried with the 0.48 stable and the latest development release (R9984) and get the same error. The error message is as follows. (I've replaced the install directory by "{INSTALL DIR}":
------- ------- ------- ------- ------- -------
UniConvertor failed:
Traceback (most recent call last):
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ sk1libs\ filters\ import\ svgloader. py", line 1305, in Load
xml_ reader. parse(input_ source)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ Lib\xml\ sax\expatreader .py", line 107, in parse
xmlreader. IncrementalPars er.parse( self, source)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ Lib\xml\ sax\xmlreader. py", line 125, in parse
self.close()
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ Lib\xml\ sax\expatreader .py", line 218, in close
self. _cont_handler. endDocument( )
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ sk1libs\ filters\ import\ svgloader. py", line 559, in endDocument
self. parseElements( element)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ sk1libs\ filters\ import\ svgloader. py", line 586, in parseElements
getattr(self, method)()
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ sk1libs\ filters\ import\ svgloader. py", line 420, in stop_linearGradient
self. gradients[ self.current_ gradient] =MultiGradient( self.stops)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ uniconvertor\ app\Graphics\ gradient. py", line 43, in __init__
raise ValueError, 'at least 2 colors required'
ValueError: at least 2 colors required
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ uniconvertor\ __init_ _.py", line 95, in uniconv_run
doc = load.load_ drawing( input_file)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ uniconvertor\ app\io\ load.py" , line 377, in load_drawing
return load_drawing_ from_file( file, filename)
File "{INSTALL DIR}\inkscape_ R9983-101226123 6\inkscape\ python\ lib\site- packages\ uniconvertor\ app\io\ load.py" , line 354, in load_drawing_ from_file
raise SketchLoadError (_("Parsing error: ")+ str(value))
app.events. skexceptions. SketchLoadError : Parsing error: at least 2 colors required ------- ------- ------- ------- -------
-------
This bug may well be the same as or related to bug #420979.