3snowp7im / urn

Split tracker / timer with GTK+ frontend
GNU General Public License v3.0
126 stars 36 forks source link

Settings schema 'wildmouse.urn' is not installed #55

Open baryluk opened 3 years ago

baryluk commented 3 years ago

Just after compiling, it crashes:

I used the version from master branch at commit 246a7a642fa7a673166c1bd281585d0fc22e75b2

user@debian:~$ git clone --recurs https://github.com/3snowp7im/urn.git
Cloning into 'urn'...
remote: Enumerating objects: 370, done.
remote: Total 370 (delta 0), reused 0 (delta 0), pack-reused 370
Receiving objects: 100% (370/370), 297.38 KiB | 1.41 MiB/s, done.
Resolving deltas: 100% (214/214), done.
Submodule 'themes' (https://github.com/3snowp7im/urn-themes) registered for path 'themes'
Cloning into '/home/user/urn/themes'...
remote: Enumerating objects: 17, done.        
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17        
Receiving objects: 100% (17/17), done.
Resolving deltas: 100% (5/5), done.
Submodule path 'themes': checked out 'ecb3edd63583a7a70f2ee606f61dbda5023c8683'
user@debian:~$ cd urn/
user@debian:~/urn$ make -j8
xxd --include urn-gtk.css > urn-gtk.h || (rm urn-gtk.h; false)
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o urn-gtk.o urn-gtk.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o urn.o urn.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o bind.o bind.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/urn-component.o components/urn-component.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/title.o components/title.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/splits.o components/splits.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/timer.o components/timer.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/prev-segment.o components/prev-segment.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/best-sum.o components/best-sum.c
bind.c: In function ‘grab_ungrab_with_ignorable_modifiers’:
bind.c:148:2: warning: ‘gdk_error_trap_push’ is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations]
  148 |  gdk_error_trap_push ();
      |  ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here
   70 | void                           gdk_error_trap_push        (void);
      |                                ^~~~~~~~~~~~~~~~~~~
bind.c:166:2: warning: ‘gdk_flush’ is deprecated: Use 'gdk_display_flush' instead [-Wdeprecated-declarations]
  166 |  gdk_flush();
      |  ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkmain.h:124:6: note: declared here
  124 | void gdk_flush (void);
      |      ^~~~~~~~~
bind.c:167:2: warning: ‘gdk_error_trap_pop’ is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations]
  167 |  if (gdk_error_trap_pop()) {
      |  ^~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here
   73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop         (void);
      |                                ^~~~~~~~~~~~~~~~~~
bind.c: In function ‘grab_ungrab’:
bind.c:204:2: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
  204 |  map = gdk_keymap_get_default();
      |  ^~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
bind.c: In function ‘do_grab_key’:
bind.c:284:2: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
  284 |  GdkKeymap *keymap = gdk_keymap_get_default ();
      |  ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
bind.c: In function ‘do_ungrab_key’:
bind.c:324:2: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
  324 |  GdkKeymap *keymap = gdk_keymap_get_default ();
      |  ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
bind.c: In function ‘filter_func’:
bind.c:346:2: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
  346 |  GdkKeymap *keymap = gdk_keymap_get_default();
      |  ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
bind.c: In function ‘keybinder_init’:
bind.c:452:2: warning: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations]
  452 |  GdkKeymap *keymap = gdk_keymap_get_default ();
      |  ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:48,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from bind.c:28:
/usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here
   84 | GdkKeymap* gdk_keymap_get_default     (void);
      |            ^~~~~~~~~~~~~~~~~~~~~~
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/pb.o components/pb.c
cc `pkg-config --cflags gtk+-3.0 x11 jansson` -Wall -Wno-unused-parameter -std=gnu99   -c -o components/wr.o components/wr.c
cc   urn-gtk.o urn.o bind.o components/urn-component.o components/title.o components/splits.o components/timer.o components/prev-segment.o components/best-sum.o components/pb.o components/wr.o  `pkg-config --libs gtk+-3.0 x11 jansson` -o urn-gtk
user@debian:~/urn$ ./urn-gtk 

(urn-gtk:71547): GLib-GIO-ERROR **: 16:45:03.185: Settings schema 'wildmouse.urn' is not installed
Trace/breakpoint trap
user@debian:~/urn$ find | grep wildm
user@debian:~/urn$ 
user@debian:~/urn$ gsettings list-schemas | grep urn
user@debian:~/urn$
user@debian:~/urn$ strace ./urn-gtk  2>&1 | grep schema
openat(AT_FDCWD, "/usr/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = 10
openat(AT_FDCWD, "/usr/local/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/.local/share/flatpak/exports/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/mate/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/.local/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = -1 ENOENT (No such file or directory)
(urn-gtk:71722): GLib-GIO-ERROR **: 16:49:00.909: Settings schema 'wildmouse.urn' is not installed
user@debian:~/urn$ 
baryluk commented 3 years ago

I want to run it without installing.