Dear Inkscape users,
I'm using the Win32 build snapshot contained in Inkscape0505310200.zip. I works very well (especially the export to PS, with gradients!), however now, that I try to automate the conversion using the command line, I get the following error in a command window:
$ inkscape --without-gui -f figure.svg
** (process:3552): WARNING **: Could not open units file '.\share\ui\units.txt': No such file or directory
** (inkscape.exe:3552): WARNING **: Specified document figure.svg cannot be opened (is it valid SVG file?)
(inkscape.exe:3552): Gtk-CRITICAL **: file gtkmain.c: line 1231 (gtk_main_quit): assertion `main_loops != NULL' failed
Using the GUI is OK -- so, is parsing the command line supported at all for MS-Windows?
Franz.
Franz Haeuslschmid writes:
[...]
$ inkscape --without-gui -f figure.svg
** (process:3552): WARNING **: Could not open units file '.\share\ui\units.txt': No such file or directory
** (inkscape.exe:3552): WARNING **: Specified document figure.svg cannot be opened (is it valid SVG file?)
(inkscape.exe:3552): Gtk-CRITICAL **: file gtkmain.c: line 1231 (gtk_main_quit): assertion `main_loops != NULL' failed
I now found out, that I have to use absolute paths instead of relative paths. I hope this helps other users that encounter this kind of problem.
Franz.
participants (1)
-
Franz Haeuslschmid