Can't convert a svg file to pdf on debian server from php.
Hello, my problem is as follows:
I installed inkscape on my debian server and everything goes well... i can convert from the command line any file in any format even if I get the following error:
(inkscape:25152): Gdk-CRITICAL **: gdk_display_
But when I want to run the command from php ( with exec('inkscape file.svg --export-
// -------- START apache error.log --------- //
** (inkscape:24784): WARNING **: Cannot create directory /var/www/.inkscape.
Although Inkscape will run, it will use default settings,
and any changes made in preferences will not be saved.
(inkscape:24784): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
** (inkscape:24784): WARNING **: Could not create extension error log file '/var/www/
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): libgnomevfs-
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
** (inkscape:24784): WARNING **: Invalid URI
** (inkscape:24784): WARNING **: Error: Could not open file 'svg_template/
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): libgnomevfs-
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
(inkscape:24784): GLib-CRITICAL **: g_hash_
(inkscape:24784): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_
** (inkscape:24784): WARNING **: Invalid URI
** (inkscape:24784): WARNING **: Error: Could not open file 'svg_template/
** (inkscape:24784): WARNING **: Specified document svg_template/
(inkscape:24784): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed
// -------- END apache error.log --------- //
What can I do to fix it? Any suggestions-
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Denis Darii
- Solved:
- Last query:
- Last reply: