Error when saving as WMF

Bug #695702 reported by Urop
This bug report is a duplicate of:  Bug #655289: Saving Copy as WMF is broken. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

OS: Win XP, SP3

I'm trying to save a simple SVG file with a gradient (attached) as WMF. 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-1012261236\inkscape\python\lib\site-packages\sk1libs\filters\import\svgloader.py", line 1305, in Load

    xml_reader.parse(input_source)

  File "{INSTALL DIR}\inkscape_R9983-1012261236\inkscape\python\Lib\xml\sax\expatreader.py", line 107, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File "{INSTALL DIR}\inkscape_R9983-1012261236\inkscape\python\Lib\xml\sax\xmlreader.py", line 125, in parse

    self.close()

  File "{INSTALL DIR}\inkscape_R9983-1012261236\inkscape\python\Lib\xml\sax\expatreader.py", line 218, in close

    self._cont_handler.endDocument()

  File "{INSTALL DIR}\inkscape_R9983-1012261236\inkscape\python\lib\site-packages\sk1libs\filters\import\svgloader.py", line 559, in endDocument

    self.parseElements(element)

  File "{INSTALL DIR}\inkscape_R9983-1012261236\inkscape\python\lib\site-packages\sk1libs\filters\import\svgloader.py", line 586, in parseElements

    getattr(self, method)()

  File "{INSTALL DIR}\inkscape_R9983-1012261236\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-1012261236\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-1012261236\inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 95, in uniconv_run

    doc = load.load_drawing(input_file)

  File "{INSTALL DIR}\inkscape_R9983-1012261236\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-1012261236\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.

Revision history for this message
Urop (urop) wrote :

Correct attachment added this time.

description: updated
Revision history for this message
Urop (urop) wrote :

I think this is a uniconvertor bug so I've reported it on the uniconvertor bug tracker: http://code.google.com/p/sk1/issues/detail?id=20

Revision history for this message
su_v (suv-lp) wrote :

> This bug may well be the same as or related to bug #420979.

More likely a duplicate of Bug #655289 “Saving Copy as WMF is broken”
<https://bugs.launchpad.net/inkscape/+bug/655289>

tags: added: exporting uniconvertor wmf
removed: save wmv
summary: - Error when saving as WMV
+ Error when saving as WMF
Revision history for this message
tiger (tiger66) wrote :
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.