Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: dhag on February 15, 2018, 05:38:38 AM
Title: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: dhag on February 15, 2018, 05:38:38 AM
Hello,
i got a crash when launching inkscape from linux. (hope i'm in the right forum)
My installation is not the standard one. I use Linux Fedora 20 and installed the software in a local folder but not the /usr one.
At loading inkscape search file in /usr/share and i like to have a way to make it search into another path. (i search an environment variable or in the argument of the command by inkscape --help without sucess)
note: i did install the software by yum in downloadonly inkscape x86_64 0.91-2.fc20
Users of my company can't wait to use inkscape but i'm presently unable to deliver it.
I tried to build it but the dependencies are too many for me to achieve it in a decent time.
I've no problem to launch it in shell mode.
So if you have any way to by pass the crash, it would be very much appreciated.
I copy the log at startup below.
Thanks
David.
** (process:29822): WARNING **: Units file /usr/share/inkscape/ui/units.xml is missing: Failed to open file '/usr/share/inkscape/ui/units.xml': No such file or directory
** (inkscape:29822): WARNING **: Unable to open PowerPoint fontfix file: /usr/share/inkscape/extensions/fontfix.conf PowerPoint ungrouping compensation in WMF/EMF export will not be available.
** (inkscape:29822): WARNING **: Can't open file: /usr/share/inkscape/keys/default.xml (doesn't exist)
** (inkscape:29822): WARNING **: Unable to read keys file /usr/share/inkscape/keys/default.xml Unable to find: org.inkscape.help.manual Unable to find: org.inkscape.help.keys Unable to find: org.inkscape.help.askaquestion Unable to find: org.inkscape.help.commandline Unable to find: org.inkscape.help.faq Unable to find: org.inkscape.help.relnotes Unable to find: org.inkscape.help.reportabug Unable to find: org.inkscape.help.svgspec
** (inkscape:29822): WARNING **: Null pixbuf for 0x2be3660 [/usr/share/inkscape/icons/remove-color.png]
** (inkscape:29822): WARNING **: Did not find old unit
** (inkscape:29822): WARNING **: Did not find old unit
** (inkscape:29822): WARNING **: Did not find old unit
** (inkscape:29822): WARNING **: Did not find old unit
** (inkscape:29822): WARNING **: Did not find old unit
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it.
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: brynn on February 15, 2018, 06:57:21 AM
Welcome to the forum!
Not being a Linux user, I can't help much. But meanwhile until someone else can help, I thought I'd mention that the current stable version of Inkscape is 0.92.2 - just in case you want to download and be ready to install, when help comes :)
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: Moini on February 15, 2018, 07:42:39 AM
This is my startup script, for a self-compiled version installed in /opt, maybe it's going to give you some ideas:
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: dhag on February 15, 2018, 09:15:06 AM
Thanks brynn and Moini for you welcome & answers.
As far as i know 0.91.2 is the only version availabe as an rmp for Fedora 20.
I did test the INKSCAPE_PROFILE & PATH environment variable but with no more success.
also tested the XDG_DATA_DIRS var for avoiding this kind of warning like : * (inkscape:7831): WARNING **: Can't open file: /usr/share/inkscape/keys/default.xml (with /usr) but doesn't change.
Not sure anyway that the warning causing by the fact that the my share directory is not in /usr is also responsible for the crash that follow.
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: Moini on February 15, 2018, 02:20:48 PM
As the package you installed seems to be made for another directory (btw. how come you were *able* to install in the wrong directory? Did you just move the files? Or does yum allow messing with the structure? - I've only ever used deb, so pardon my lack of knowledge...), there's not much you can do, aside from:
- compiling with the directories you need - install into the directory where it belongs - use snap (snapd, snappy - the Ubuntu IOT 'container' format) - use AppImage - use Flatpak
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: dhag on February 15, 2018, 11:48:55 PM
>As the package you installed seems to be made for another directory (btw. how come you were *able* to install in the wrong directory? Did you just move the files? Or does yum allow messing with the structure?
Actually, what i did was to use yum in download only mode. It gave the inkscape rpm with all its rpm dependencies.
Installing:
inkscape x86_64 0.91-2.fc20 updates 13 M
Installing for dependencies:
aspell x86_64 12:0.60.6.1-8.fc20 rpmfusion-free 685 k gc x86_64 7.2d-3.fc20 rpmfusion-free 156 k gnome-vfs2 x86_64 2.24.4-14.fc20 rpmfusion-free 838 k gsl x86_64 1.15-9.fc20 rpmfusion-free 872 k numpy x86_64 1:1.8.2-2.fc20 updates 3.0 M potrace x86_64 1.12-1.fc20 updates 110 k python-nose noarch 1.3.0-1.fc20 rpmfusion-free 272 k python-reportlab x86_64 3.1.8-1.fc20 updates 1.2 M uniconvertor x86_64 2.0-0.4.svn362.fc20 updates 1.5 M
Then all the rpm were unpacked (rpm2cpio <file>.rpm | cpio -idmv) And then combine in the same file system structure. (to be use with the python rez system)
At list for all the libs it seems to be ok when i do an ldd on the inkscape binary.
snap: i didn't have a look on that Flatpak : it seems to be very complicated to download and install here on our os distribution.
AppImage : my system administrator made me a demo with another software (do not remember which one) and it was just terrific ! But he didn't find the one for inkscape. If you do have that you could be our savior.
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: dhag on February 16, 2018, 12:11:02 AM
I tried this inkscape : https://bintray.com/probono/AppImages/Inkscape/0.92.0%2Bdevel%2B16134%2B91.glibc2.15#files but get this error at launch: /tmp/.mount_InkscaAh6cy6/usr/bin/inkscape: symbol lookup error: /tmp/.mount_InkscaAh6cy6/usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1: undefined symbol: g_variant_parse_error_quark
Title: Re: Crash when launching inkscape 0.91.2 (linux, non standard install directory)
Post by: Moini on February 16, 2018, 02:42:54 PM
Mmh. From the devel mailing list: http://inkscape.13.x6.nabble.com/AppImage-for-easy-distribution-of-nightlies-and-releases-td4976400.html - the workaround was for Fedora **25**.
It looks as if only development snapshots are available as AppImage. So, you'd need to either make your own (and you could ask the probono person for help, I guess - having Inkscape 0.92.2 available as AppImage probably wouldn't hurt), or use a different option.
Or kindly ask your sysadmin to update those ancient Fedora boxes - I just looked Fedora up on Wikipedia, and it tells me that support for version 20: Release date End of Life 20 (Heisenbug) 2013-12-17 2015-06-23 3.11 3.10