Package: inkscape Version: 0.45-1 Severity: important
Hi! When using inkscape non-interactively in a environment where the home as defined in /etc/passwd is not available, inkscape fails to do anything. The main problem here is that this maybe unusual setup is very much used in the debian buildds As far as I can see, it uses the glib function g_get_home_dir to get the homedir. g_get_home_dir does not honour $HOME, so it is impossible to work around. According to glib people, it is a bug in inkscape ( debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326273 is fixed as a documentation issue) inkscape should not fail under these conditions. A small paste from my test system where I attempt to convert button.svg to a button.png file [EMAIL PROTECTED] inkscape -z --file=images/button.svg --export-png=images/button.png --export-width=32 --export-height=32 ** (inkscape:2491): WARNING **: Cannot create directory /FOOOO/.inkscape. Although Inkscape will run, it will use default settings, and any changes made in preferences will not be saved. (inkscape:2491): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: No such file or directory ** (inkscape:2491): WARNING **: Could not create extension error log file '/FOOOO/.inkscape/extension-errors.log' (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): libgnomevfs-CRITICAL **: gnome_vfs_uri_is_local: assertion `uri != NULL' failed (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? ** (inkscape:2491): WARNING **: Invalid URI ** (inkscape:2491): WARNING **: Error: Could not open file 'images/button.svg' with VFS (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): libgnomevfs-CRITICAL **: gnome_vfs_uri_is_local: assertion `uri != NULL' failed (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? (inkscape:2491): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed (inkscape:2491): libgnomevfs-WARNING **: Internal error: the configuration system was not initialized. Did you call _gnome_vfs_configuration_init? ** (inkscape:2491): WARNING **: Invalid URI ** (inkscape:2491): WARNING **: Error: Could not open file 'images/button.svg' with VFS ** (inkscape:2491): WARNING **: Specified document images/button.svg cannot be opened (is it valid SVG file?) (inkscape:2491): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed and about the system: $ grep foobar /etc/passwd foobar:x:1000:1000:,,,:/FOOOO:/bin/bash $ env | grep HOME HOME=/home/foobar/ (and /home/foobar is fully writable by the foobar user) If any more information is needed, please speak up. I would like to be able to build-dep on inkscape again. /Sune -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-1-vserver-k7 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages inkscape depends on: ii libatk1.0-0 1.12.4-2 The ATK accessibility toolkit ii libbonobo2-0 2.14.0-3 Bonobo CORBA interfaces library ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib ii libgc1c2 1:6.8-1 conservative garbage collector for ii libgcc1 1:4.1.1-21 GCC support library ii libgconf2-4 2.16.1-1 GNOME configuration database syste ii libglib2.0-0 2.12.6-2 The GLib library of C routines ii libglibmm-2.4-1c2a 2.12.0-1 C++ wrapper for the GLib toolkit ( ii libgnomevfs2-0 1:2.14.2-6 GNOME virtual file-system (runtime ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface ii libgtkmm-2.4-1c2a 1:2.8.8-1 C++ wrappers for GTK+ 2.4 (shared ii liblcms1 1.15-1 Color management library ii liborbit2 1:2.14.4-1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libsigc++-2.0-0c2a 2.0.17-2 type-safe Signal Framework for C++ ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-6 X11 client-side library ii libxcursor1 1.1.7-4 X cursor management library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio ii libxft2 2.1.8.2-8 FreeType-based font drawing librar ii libxi6 1:1.0.1-4 X11 Input extension library ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library ii libxml2 2.6.27.dfsg-1 GNOME XML library ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library ii libxrender1 1:0.9.1-3 X Rendering Extension client libra ii libxslt1.1 1.1.19-1 XSLT processing library - runtime ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages inkscape recommends: ii imagemagick 7:6.2.4.5.dfsg1-0.14 Image manipulation programs pn libwmf-bin <none> (no description available) pn perlmagick <none> (no description available) pn pstoedit <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

