Author Topic: Crash when launching inkscape 0.91.2 (linux, non standard install directory)  (Read 1735 times)

February 15, 2018, 05:38:38 AM
Read 1735 times

dhag

  • Sr. Newbie

  • Offline
  • **

  • 4
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): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(inkscape:29822): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (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.

(inkscape:29822): Gtk-WARNING **: ChannelsAction: missing action ChannelsAction

(inkscape:29822): Gtk-WARNING **: ThresholdAction: missing action ThresholdAction

(inkscape:29822): Gtk-WARNING **: OffsetAction: missing action OffsetAction

(inkscape:29822): Gtk-WARNING **: PaintbucketUnitsAction: missing action PaintbucketUnitsAction

(inkscape:29822): Gtk-WARNING **: AutoGapAction: missing action AutoGapAction

(inkscape:29822): Gtk-WARNING **: PaintbucketResetAction: missing action PaintbucketResetAction

(inkscape:29822): Gtk-WARNING **: TextFontFamilyAction: missing action TextFontFamilyAction

(inkscape:29822): Gtk-WARNING **: TextFontSizeAction: missing action TextFontSizeAction

(inkscape:29822): Gtk-WARNING **: TextFontStyleAction: missing action TextFontStyleAction

(inkscape:29822): Gtk-WARNING **: TextAlignAction: missing action TextAlignAction

(inkscape:29822): Gtk-WARNING **: TextSuperscriptAction: missing action TextSuperscriptAction

(inkscape:29822): Gtk-WARNING **: TextSubscriptAction: missing action TextSubscriptAction

(inkscape:29822): Gtk-WARNING **: TextLineHeightAction: missing action TextLineHeightAction

(inkscape:29822): Gtk-WARNING **: TextLetterSpacingAction: missing action TextLetterSpacingAction

(inkscape:29822): Gtk-WARNING **: TextWordSpacingAction: missing action TextWordSpacingAction

(inkscape:29822): Gtk-WARNING **: TextDxAction: missing action TextDxAction

(inkscape:29822): Gtk-WARNING **: TextDyAction: missing action TextDyAction

(inkscape:29822): Gtk-WARNING **: TextRotationAction: missing action TextRotationAction

(inkscape:29822): Gtk-WARNING **: TextOrientationAction: missing action TextOrientationAction

(inkscape:29822): Gtk-WARNING **: LPEToolModeAction: missing action LPEToolModeAction

(inkscape:29822): Gtk-WARNING **: LPEShowBBoxAction: missing action LPEShowBBoxAction

(inkscape:29822): Gtk-WARNING **: LPEBBoxFromSelectionAction: missing action LPEBBoxFromSelectionAction

(inkscape:29822): Gtk-WARNING **: LPELineSegmentAction: missing action LPELineSegmentAction

(inkscape:29822): Gtk-WARNING **: LPEMeasuringAction: missing action LPEMeasuringAction

(inkscape:29822): Gtk-WARNING **: LPEToolUnitsAction: missing action LPEToolUnitsAction

(inkscape:29822): Gtk-WARNING **: LPEOpenLPEDialogAction: missing action LPEOpenLPEDialogAction

(inkscape:29822): Gtk-WARNING **: GradientNewTypeAction: missing action GradientNewTypeAction

(inkscape:29822): Gtk-WARNING **: GradientNewFillStrokeAction: missing action GradientNewFillStrokeAction

(inkscape:29822): Gtk-WARNING **: GradientSelectGradientAction: missing action GradientSelectGradientAction

(inkscape:29822): Gtk-WARNING **: GradientEditLinkAction: missing action GradientEditLinkAction

(inkscape:29822): Gtk-WARNING **: GradientEditReverseAction: missing action GradientEditReverseAction

(inkscape:29822): Gtk-WARNING **: GradientSelectRepeatAction: missing action GradientSelectRepeatAction

(inkscape:29822): Gtk-WARNING **: GradientEditStopsAction: missing action GradientEditStopsAction

(inkscape:29822): Gtk-WARNING **: GradientEditOffsetAction: missing action GradientEditOffsetAction

(inkscape:29822): Gtk-WARNING **: GradientEditAddAction: missing action GradientEditAddAction

(inkscape:29822): Gtk-WARNING **: GradientEditDeleteAction: missing action GradientEditDeleteAction

(inkscape:29822): Gtk-WARNING **: MeshNewTypeAction: missing action MeshNewTypeAction

(inkscape:29822): Gtk-WARNING **: MeshNewFillStrokeAction: missing action MeshNewFillStrokeAction

(inkscape:29822): Gtk-WARNING **: MeshRowAction: missing action MeshRowAction

(inkscape:29822): Gtk-WARNING **: MeshColumnAction: missing action MeshColumnAction

(inkscape:29822): Gtk-WARNING **: DropperOpacityAction: missing action DropperOpacityAction

(inkscape:29822): Gtk-WARNING **: DropperPickAlphaAction: missing action DropperPickAlphaAction

(inkscape:29822): Gtk-WARNING **: DropperSetAlphaAction: missing action DropperSetAlphaAction

(inkscape:29822): Gtk-WARNING **: ConnectorAvoidAction: missing action ConnectorAvoidAction

(inkscape:29822): Gtk-WARNING **: ConnectorIgnoreAction: missing action ConnectorIgnoreAction

(inkscape:29822): Gtk-WARNING **: ConnectorOrthogonalAction: missing action ConnectorOrthogonalAction

(inkscape:29822): Gtk-WARNING **: ConnectorCurvatureAction: missing action ConnectorCurvatureAction

(inkscape:29822): Gtk-WARNING **: ConnectorSpacingAction: missing action ConnectorSpacingAction

(inkscape:29822): Gtk-WARNING **: ConnectorGraphAction: missing action ConnectorGraphAction

(inkscape:29822): Gtk-WARNING **: ConnectorLengthAction: missing action ConnectorLengthAction

(inkscape:29822): Gtk-WARNING **: ConnectorDirectedAction: missing action ConnectorDirectedAction

(inkscape:29822): Gtk-WARNING **: ConnectorOverlapAction: missing action ConnectorOverlapAction
/tmp/rez_pNSTmp/context.sh: line 54: 29822 Segmentation fault      (core dumped)

















  • 0.91.2
  • linux Fedora 20

February 15, 2018, 06:57:21 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

February 15, 2018, 07:42:39 AM
Reply #2

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
This is my startup script, for a self-compiled version installed in /opt, maybe it's going to give you some ideas:

Code: [Select]
#!/bin/bash

export INKSCAPE_PROFILE_DIR=/home/<username>/.config/inkscape_0.92.x
PATH=/opt/inkscape_0.92.x/bin:$PATH
/opt/inkscape_0.92.x/bin/inkscape

February 15, 2018, 09:15:06 AM
Reply #3

dhag

  • Sr. Newbie

  • Offline
  • **

  • 4
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.



  • 0.91.2
  • linux Fedora 20

February 15, 2018, 02:20:48 PM
Reply #4

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
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

February 15, 2018, 11:48:55 PM
Reply #5

dhag

  • Sr. Newbie

  • Offline
  • **

  • 4
>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.


















  • 0.91.2
  • linux Fedora 20

February 16, 2018, 12:11:02 AM
Reply #6

dhag

  • Sr. Newbie

  • Offline
  • **

  • 4
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





  • 0.91.2
  • linux Fedora 20

February 16, 2018, 02:42:54 PM
Reply #7

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
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

has ended 2.5 years ago...