~suv wrote:
On 31/7/09 15:49, Tavmjong Bah wrote:
General comment: I am having trouble getting Uniconvertor to work from within Inkscape. It won't process files with text (error message about not finding correct font). Files without text produce SVG output (Uniconvertor 1.1.4), independent of which file type is selected. Or error message about not finding SVG file in /tmp (Uniconvertor 1.1.3). I may have screwed something up but Uniconvertor does work when used via the command line (as in "uniconv test.svg test.plt") to directly convert SVG files to other types. Does anybody have it working from within Inkscape under Linux?
Comments in 'extensions/run_command.py' say: "Module for running SVG-generating commands in Inkscape extensions". Nevertheless it is called when 'uniconv-ext.py' is used in these output extensions:
plt_output.inx sk1_output.inx wmf_output.inx
This might explain why uniconv works on the command line (tested on OS X 10.5.7, python2.5, uniconverter 1.1.3, Inkscape r21939) but not when used by Inkscape with an export extension. I did not test files with text though - my test file just contained a simple shape and always resulted in a svg file when saved as *.plt, *.sk1 or *.wmf.
Looking at the run_command.py source, its supposed to fail noisily. Run inkscape from a terminal once and see what output you find on the console. Or instead of running uniconv directly try formulating the command that inkscape would execute with run_command.py
Aaron Spike