Inkscape.org
Beginners' Questions inkscape crushes when import a .pdf file
  1. #1
    sajan sajan @sajan

    OS Ubuntu 18.04

    Inkscape crushes when import a .pdf

  2. #2
    sajan sajan @sajan

    ?

  3. #3
    sajan sajan @sajan

    .

    Forum
  4. #4
    Nathan Lee Nathan Lee @ainsleo

    Hi, sorry to hear you're still experiencing this issue.

    Which method did you use to install Inkscape? Does this affect all pdf files (could you upload an example file? The simpler the better). If you launch inkscape from the terminal, do you get any error messages in the terminal when it crashes?

  5. #5
    sajan sajan @sajan
    *

    Hi Nathan,

    Thank you for your response. I installed from Software Updater. It affects all pdf files.

    From terminal I got the following output:

    $ inkscape

    ** (org.inkscape.Inkscape:9527): WARNING **: 10:50:39.323: Fonts dir '/home/loewan/.config/inkscape/fonts' does not exist and will be ignored.

    (org.inkscape.Inkscape:9527): Gtk-CRITICAL **: 10:50:40.668: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

    (org.inkscape.Inkscape:9527): Gtk-CRITICAL **: 10:50:40.771: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher

    Emergency save activated!
    Emergency save completed. Inkscape will close now.
    If you can reproduce this crash, please file a bug at https://inkscape.org/report
    with a detailed description of the steps leading to the crash, so we can fix it.
    Gtk-Message: 10:50:59.138: GtkDialog mapped without a transient parent. This is discouraged.

    According to the output the fonts is missing...  Any suggestions?

    I've attached a file. But as I said it crashes every time.

    Thank you.

     

     

  6. #6
    Polygon Polygon @Polygon🌶

    It opens on macOS. Shall I convert it for you?

     

  7. #7
    sajan sajan @sajan

    No, thank you. This file is not important for me. I attached this file as an example of crushing.

  8. #8
    Polygon Polygon @Polygon🌶

    Ok - don´t crashed here so far...

  9. #9
    sajan sajan @sajan

    It does not crush on other computer.

  10. #10
    Nathan Lee Nathan Lee @ainsleo

    The font error you posted is not relevant to this issue unfortunately (we check multiple directories for fonts, that is one of them).

    This is getting into a bug report but,

    I'm still not sure what the error is unfortunately. Other people have experienced this issue due to conflicts in libpoppler packages; however usually with the libpoppler packe in the  KDE neon repo or scribus repo (and the scribus repo has now been fixed). To check for this anyway, it would be useful to see the output of COLUMNS=200 dpkg -l libpoppler*

    The next, more generic troubleshooting step would be to collect a backtrace (see https://gitlab.com/inkscape/inbox/-/blob/master/Guidelines.md#Collecting_Backtraces) and upload it here.

    Workaround

    Instead of trying to identify the issue, you might want to try a containerized version of Inkscape instead (appimage, flatpak, or snap, see https://inkscape.org/release/1.0/gnulinux/). Caveat, I don't think extensions are working in the appimage right now

     

  11. #11
    sajan sajan @sajan

    Hi Nathan Lee,,

    I was able to import a .pdf file after installing from flatpak.

    When I started inkscape i got the following message:

    $ flatpak run org.inkscape.Inkscape
    Gtk-Message: 13:17:15.058: Failed to load module "appmenu-gtk-module"

    Is it OK?

    Thanks a lot!!!

     

     

  12. #12
    Nathan Lee Nathan Lee @ainsleo

    Yup its fine. It does have implications, but they only matter if you use a global menu afaik (see https://forum.manjaro.org/t/when-run-firefox-from-terminal-it-runs-but-terminal-outputs-failed-to-load-module-appmenu-gtk-module/115561/3)

Inkscape Inkscape.org Inkscape Forum Beginners' Questions inkscape crushes when import a .pdf file