Thread subject: sK1 Project :: Convert SVG to WMF Error

Posted by win3cup on 25-01-2011 20:30
#1

Hi,
I have a vector clock face and was converting from SVG to WMF and I get these errors:

Using Uniconvertor 1.1.5 error "Parsing Error: 'fx' "

Using Inkscape 0.48 error:


UniConvertor failed:
Traceback (most recent call last):
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\sk1libs\filters\import\svgloader.py", line 1305, in Load
xml_reader.parse(input_source)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\xml\sax\xmlreader.py", line 125, in parse
self.close()
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\xml\sax\expatreader.py", line 218, in close
self._cont_handler.endDocument()
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\sk1libs\filters\import\svgloader.py", line 559, in endDocument
self.parseElements(element)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\sk1libs\filters\import\svgloader.py", line 579, in parseElements
getattr(self, method)(attrs)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\sk1libs\filters\import\svgloader.py", line 426, in start_radialGradient
fx=atof(attrs['fx'])
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\xml\sax\xmlreader.py", line 316, in __getitem__
return self._attrs[name]
KeyError: 'fx'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\uniconvertor\__init__.py", line 95, in uniconv_run
doc = load.load_drawing(input_file)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\lib\site-packages\uniconvertor\app\io\load.py", line 377, in load_drawing
return load_drawing_from_file(file, filename)
File "C:\Program Files\sK1 Project\UniConvertor-1.1.5\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: 'fx'

Please help
Thanks,
win3cup

Edited by win3cup on 25-01-2011 20:35