On Mon, Oct 3, 2011 at 2:17 PM, ~suv <suv-sf@...58...> wrote:
On 3/10/11 21:27, Nikita Kitaev wrote:
I've finished working on the first iteration of the SVG Synfig exporter. The essential features are there and a lot of bugs are fixed, so I think now would be a good time to consider including a copy with Inkscape. I committed the files into a personal branch of inkscape: "lp:~nikitakit/inkscape/svg2sif". (Disclaimer: I'm a git advocate and don't know much about bzr)
My work was all done on Ubuntu natty with Python version "2.7.1+", testing against Inkscape 0.48.1, Inkscape trunk build, and a large collection of OpenClipArt files made with various (older) versions of Inkscape. It would be good if someone could test it on Windows and Mac (especially if the python versions are different).
- (Legacy) Mac OS X 10.5.8 Leopard (i386)
Quick test with two small SVG files (some basic shapes, and a text converted to path), exported *.sif verified with Synfigstudio 0.63.00 (installed with MacPorts):
a) Inkscape 0.48.2 (official package), Python 2.5.1 (Apple, default) Both sample files fail to export to *.sif:
File "synfig_output.py", line 1340 except MalformedSVGError as e: ^ SyntaxError: invalid syntax
b) Inkscape 0.48.2 (local build), Python 2.6.7 (MacPorts) Both sample files export ok to *.sif
c) Inkscape 0.48+devel r10660 (GTK+/Quartz), Python 2.7.2 (MacPorts) Both sample files export ok to *.sif
- For current versions of OS X (not personally verified):
a) Mac OS X 10.6 Snow Leopard: The extension should work fine with the prebuilt package (0.48.2-1) on Snow Leopard which has Python 2.6 installed as default system version.
b) OS X 10.7 Lion: None of Inkscape's python-based extensions currently work out-of-the-box with the prebuilt package (0.48.2-1) on Lion, see Bug #819209 "Extensions do not work with Mac OS X Lion" https://bugs.launchpad.net/inkscape/+bug/819209. This will also affect svg2sif. The workaound/fix described in the bug report has been confirmed (enforce the use of Python 2.6 (32bit)), but there is no updated package of Inkscape 0.48.2 available for download.
If you need additional tests, maybe you could provide details or files? (I'm not familiar with Synfig yet, and can only compare visually whether the converted file looks the same in Synfigstudio as it does in Inkscape on-canvas).
hth, ~suv
I just noticed a really odd bug: saving anything using as .sif makes the "Open Recent" menu completely unusable. Every one of the links is trying to open the same sif file, which has no importer.
Did I make a mistake in the extension files, or is it an Inkscape problem?
~Nikita