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?
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.
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*
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
OS Ubuntu 18.04
Inkscape crushes when import a .pdf
?
.
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?
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.
It opens on macOS. Shall I convert it for you?
No, thank you. This file is not important for me. I attached this file as an example of crushing.
Ok - don´t crashed here so far...
It does not crush on other computer.
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
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!!!
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)