unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Inkscape 1.0 segfault when trying to bring up file chooser
@ 2020-06-14 12:59 Thorsten Wilms
  2020-06-15  3:28 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Wilms @ 2020-06-14 12:59 UTC (permalink / raw)
  To: help-guix

Hi!

Guix last updated yesterday, on top of Ubuntu. Triggering ‘Save as’ in
Inkscape leads to:
```
(org.inkscape.Inkscape:5125): GLib-GIO-ERROR **:
11:56:37.434: Settings schema 'org.gtk.Settings.FileChooser' does not
contain a key named 'show-type-column' Trace/breakpoint trap (core
dumped)
```
I assume this started happening with the update to Inkscape 1.0; in
either case the issue is only a few days old.

Various search hits point to 
/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml

```
~: echo $XDG_DATA_DIRS
/home/thorwil/.guix-profile/share:/home/thorwil/.guix-profile/share:/usr/share/unity:/usr/local/share/:/usr/share/
```

If I set XDG_DATA_DIRS to "", inkscape won’t even
start. If I set it to just /home/thorwil/.guix-profile/share, it starts
and crashes on Save_As, same as now.

All store items for org.gtk.Settings.FileChooser.gschema.xml do have
a <key name='show-type-column' type='b'>:
```
/gnu/store: find -name "*FileChooser.gschema*" | \
xargs grep show-type-column
./vgg2r0yzwwbhyxvd8lj2kwyw9779pjfk-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./zflpysfv6b5x9hvccds0m38x3bmzzdb3-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./mvdb71lvrqgzx6b3kd3fnqpnak8394hm-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./q3crl46igvsb10if6z7ffn165pkr74s1-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./xhdrc9viz956hj2a3gjlbi0gfvfbnwjd-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column'
type='b'> ./mqjdi2b0jf4jwj9g5lbn2wdip4dnqgdh-gtk+-3.24.14/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml:
<key name='show-type-column' type='b'>
```

Checking the links below .guix-profile, I note there is no
org.gtk.Settings.FileChooser.gschema.xml, but there is
gschemas.compiled:
```
~/.guix-profile/share: ls -l glib-2.0/schemas/total 20 lrwxrwxrwx 2
root root  91 Jan  1  1970 gschema.dtd
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/gschema.dtd
lrwxrwxrwx 2 root root  97 Jan  1  1970 gschemas.compiled
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/gschemas.compiled
lrwxrwxrwx 2 root root 118 Jan  1  1970
org.gnome.gnumeric.dialogs.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml
lrwxrwxrwx 2 root root 110 Jan  1  1970 org.gnome.gnumeric.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml
lrwxrwxrwx 2 root root 117 Jan  1  1970
org.gnome.gnumeric.plugin.gschema.xml
-> /gnu/store/5v9bxzzxbp68c5g6vvvlaq1ddq39bkrf-glib-schemas/share/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml
```

There are a bunch of string visible in the binary file
gschemas.compiled, ‘show-type-column’ or similar does not apear.

Is the issue perhaps that gschemas.compiled would have had to be
rebuilt, but wasn’t?

I considered trying to symlink an org.gnome.gnumeric.gschema.xml, but I
don’t see how to figure out which of the 5 store items it should be.


-- 
Thorsten Wilms <t_w_@freenet.de>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-15 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 12:59 Inkscape 1.0 segfault when trying to bring up file chooser Thorsten Wilms
2020-06-15  3:28 ` Maxim Cournoyer
2020-06-15 11:32   ` Thorsten Wilms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).