From unknown Sat Sep 06 09:45:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23260: (wxmaxima) crash: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Apr 2016 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23260 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23260@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146028757720195 (code B ref -1); Sun, 10 Apr 2016 11:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2016 11:26:17 +0000 Received: from localhost ([127.0.0.1]:56628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apDVR-0005Fe-1R for submit@debbugs.gnu.org; Sun, 10 Apr 2016 07:26:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apDVP-0005FS-M5 for submit@debbugs.gnu.org; Sun, 10 Apr 2016 07:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apDVJ-0003iQ-Rd for submit@debbugs.gnu.org; Sun, 10 Apr 2016 07:26:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apDVJ-0003iM-P0 for submit@debbugs.gnu.org; Sun, 10 Apr 2016 07:26:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apDVI-0005J6-Tf for bug-guix@gnu.org; Sun, 10 Apr 2016 07:26:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apDVF-0003iA-NY for bug-guix@gnu.org; Sun, 10 Apr 2016 07:26:08 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:40222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apDVF-0003ht-Ho for bug-guix@gnu.org; Sun, 10 Apr 2016 07:26:05 -0400 Received: from localhost (91.141.1.107.wireless.dyn.drei.com [91.141.1.107]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 7B1181CA1AFC for ; Sun, 10 Apr 2016 13:26:03 +0200 (CEST) Date: Sun, 10 Apr 2016 13:25:59 +0200 From: Danny Milosavljevic Message-ID: <20160410132559.73fef5dc@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) When I start wxmaxima and go to "Save As", it crashes, printing this message beforehand: (wxmaxima:24842): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed Trace/breakpoint trap From unknown Sat Sep 06 09:45:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23260: (wxmaxima) crash: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 May 2016 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23260 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23260@debbugs.gnu.org Received: via spool by 23260-submit@debbugs.gnu.org id=B23260.146244894826896 (code B ref 23260); Thu, 05 May 2016 11:50:01 +0000 Received: (at 23260) by debbugs.gnu.org; 5 May 2016 11:49:08 +0000 Received: from localhost ([127.0.0.1]:38782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayHm3-0006zH-Hz for submit@debbugs.gnu.org; Thu, 05 May 2016 07:49:07 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:59898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayHm1-0006z9-Mn for 23260@debbugs.gnu.org; Thu, 05 May 2016 07:48:54 -0400 Received: from localhost (77.119.131.109.wireless.dyn.drei.com [77.119.131.109]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 653611CA12AF for <23260@debbugs.gnu.org>; Thu, 5 May 2016 13:48:51 +0200 (CEST) Date: Thu, 5 May 2016 13:48:47 +0200 From: Danny Milosavljevic Message-ID: <20160505134847.68e5056d@scratchpost.org> In-Reply-To: <20160410132559.73fef5dc@scratchpost.org> References: <20160410132559.73fef5dc@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) I finally got to the bottom of it. It says: (wxmaxima:27910): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed and it's right. I'm not sure how it's supposed to find them. On this GuixSD installation I only have a minimal number of packages in the operating-system definition of the system profile (and gtk is not in it). I have installed gtk into my user's profile but I really shouldn't have to, right? (and it still doesn't work) However, lots of programs use gtk. If they do, they'll sooner or later need the filechooser. However, gtk-3 filechooser needs its settings schema. Environment variables with "GTK" in the name are: GTK_DATA_PREFIX=/run/current-system/profile GTK_PATH=/gnu/store/mjjkx5fq0gn5bg89pz2gsipjs975m2im-gtk+-3.18.2/lib/gtk-3.0 GUIX_GTK3_PATH=/home/dannym/.guix-profile/lib/gtk-3.0:/home/dannym/.guix-profile/lib/gtk-3.0 But the schema 'org.gtk.Settings.FileChooser' is not found since it's in: /gnu/store/mjjkx5fq0gn5bg89pz2gsipjs975m2im-gtk+-3.18.2/share/glib-2.0/schemas which is installed nowhere. I know I can easily workaround this by manually installing it in the system profile - but shouldn't it be solved in some better manner? The package which manages the schemas is glib. The package which has the schema 'org.gtk.Settings.FileChooser' is Gtk. The directory specified (twice) in GUIX_GTK3_PATH contains only: ./3.0.0/immodules.cache ./3.0.0/immodules/im-viqr.la ./3.0.0/immodules/im-am-et.la ./3.0.0/immodules/im-thai.so ./3.0.0/immodules/im-am-et.so ./3.0.0/immodules/im-xim.la ./3.0.0/immodules/im-thai.la ./3.0.0/immodules/im-inuktitut.la ./3.0.0/immodules/im-cyrillic-translit.la ./3.0.0/immodules/im-multipress.la ./3.0.0/immodules/im-ti-et.so ./3.0.0/immodules/im-ti-er.so ./3.0.0/immodules/im-cedilla.la ./3.0.0/immodules/im-viqr.so ./3.0.0/immodules/im-ipa.la ./3.0.0/immodules/im-multipress.so ./3.0.0/immodules/im-ti-et.la ./3.0.0/immodules/im-xim.so ./3.0.0/immodules/im-ti-er.la ./3.0.0/immodules/im-ipa.so ./3.0.0/immodules/im-cedilla.so ./3.0.0/immodules/im-inuktitut.so ./3.0.0/immodules/im-cyrillic-translit.so ./3.0.0/printbackends/libprintbackend-cups.so ./3.0.0/printbackends/libprintbackend-cups.la ./3.0.0/printbackends/libprintbackend-lpr.so ./3.0.0/printbackends/libprintbackend-file.so ./3.0.0/printbackends/libprintbackend-file.la ./3.0.0/printbackends/libprintbackend-lpr.la So it can't find it there either. How is this supposed to work? From unknown Sat Sep 06 09:45:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23260: (wxmaxima) crash: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 May 2016 16:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23260 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23260@debbugs.gnu.org Received: via spool by 23260-submit@debbugs.gnu.org id=B23260.146246394925493 (code B ref 23260); Thu, 05 May 2016 16:00:01 +0000 Received: (at 23260) by debbugs.gnu.org; 5 May 2016 15:59:09 +0000 Received: from localhost ([127.0.0.1]:40433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLgD-0006d7-1N for submit@debbugs.gnu.org; Thu, 05 May 2016 11:59:09 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:44155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLgA-0006cy-Th for 23260@debbugs.gnu.org; Thu, 05 May 2016 11:59:07 -0400 Received: from localhost (77.119.131.109.wireless.dyn.drei.com [77.119.131.109]) by dd1012.kasserver.com (Postfix) with ESMTPSA id E4F111CA069B for <23260@debbugs.gnu.org>; Thu, 5 May 2016 17:59:04 +0200 (CEST) Date: Thu, 5 May 2016 17:59:00 +0200 From: Danny Milosavljevic Message-ID: <20160505175900.4ddddb33@scratchpost.org> In-Reply-To: <20160505134847.68e5056d@scratchpost.org> References: <20160410132559.73fef5dc@scratchpost.org> <20160505134847.68e5056d@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) In glib-2.46.1/gio/gsettingsschema.c there's a function "initialize_schema_sources" which is responsible for initializing the schema sources. It uses g_get_system_data_dirs() and traverses the result (which are supposed to be names of directories), and it checks an environment variable GSETTINGS_SCHEMA_DIR for the name of ONE directory; the basename of the regular file searched for is called "gschemas.compiled". Using $ export GSETTINGS_SCHEMA_DIR=/gnu/store/xz2vmk68f5jpscvpqqz1zqa7xr2ydarn-gtk+-3.20.1/share/glib-2.0/schemas makes it work. However, that can't be the right fix. Among other things, one can only specify a single directory that way. Also, the average user probably doesn't even know what glib schemas are. If that is fine anyway (why?), there seems to be already an environment variable "GTK_PATH" set by guix, so auto-setting $ export GSETTINGS_SCHEMA_DIR="${GTK_PATH}/../../share/glib-2.0/schemas" should make it work for the time being. I don't think this bug is specific to wxmaxima. I suggest to retitle it "Gtk3 FileChooser doesn't work - it doesn't find its settings" or something. From unknown Sat Sep 06 09:45:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23260: (wxmaxima) crash: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed Resent-From: iyzsong@member.fsf.org (=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 28 May 2016 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23260 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 23260@debbugs.gnu.org Received: via spool by 23260-submit@debbugs.gnu.org id=B23260.146443673226669 (code B ref 23260); Sat, 28 May 2016 11:59:02 +0000 Received: (at 23260) by debbugs.gnu.org; 28 May 2016 11:58:52 +0000 Received: from localhost ([127.0.0.1]:43248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6ctI-0006w4-Co for submit@debbugs.gnu.org; Sat, 28 May 2016 07:58:52 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:33783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6ctG-0006vu-Bd for 23260@debbugs.gnu.org; Sat, 28 May 2016 07:58:50 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 1EBE02064D7; Sat, 28 May 2016 13:58:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on h4 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_HEADER_FROM_DIFFERENT_DOMAINS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 From: iyzsong@member.fsf.org (=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?=) References: <20160410132559.73fef5dc@scratchpost.org> <20160505134847.68e5056d@scratchpost.org> Date: Sat, 28 May 2016 19:56:32 +0800 In-Reply-To: <20160505134847.68e5056d@scratchpost.org> (Danny Milosavljevic's message of "Thu, 5 May 2016 13:48:47 +0200") Message-ID: <878tyuflan.fsf@member.fsf.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Danny Milosavljevic writes: > I finally got to the bottom of it. > > It says: > > (wxmaxima:27910): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed > > and it's right. I'm not sure how it's supposed to find them. > > On this GuixSD installation I only have a minimal number of packages > in the operating-system definition of the system profile (and gtk is > not in it). I have installed gtk into my user's profile but I really > shouldn't have to, right? (and it still doesn't work) > > However, lots of programs use gtk. If they do, they'll sooner or later need the filechooser. However, gtk-3 filechooser needs its settings schema. > > Environment variables with "GTK" in the name are: > > GTK_DATA_PREFIX=/run/current-system/profile > GTK_PATH=/gnu/store/mjjkx5fq0gn5bg89pz2gsipjs975m2im-gtk+-3.18.2/lib/gtk-3.0 > GUIX_GTK3_PATH=/home/dannym/.guix-profile/lib/gtk-3.0:/home/dannym/.guix-profile/lib/gtk-3.0 > > But the schema 'org.gtk.Settings.FileChooser' is not found since it's in: > > /gnu/store/mjjkx5fq0gn5bg89pz2gsipjs975m2im-gtk+-3.18.2/share/glib-2.0/schemas > > which is installed nowhere. I know I can easily workaround this by > manually installing it in the system profile - but shouldn't it be > solved in some better manner? Yes, as you found, the FileChooser schema must be known by wxmaxima via GSETTINGS_SCHEMA_DIR or XDG_DATA_DIRS. There is a `glib-or-gtk-build-system', when use it, all executables will be wraped with XDG_DATA_DIR, combining from inputs's $out/share directories. Currently, applications using gsettnigs can be handled this way or wrap it manually using `wrap-program'. Thanks for your report, I fixed this specified issue in commit de477809d773. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 01 12:49:11 2016 Received: (at control) by debbugs.gnu.org; 1 Aug 2016 16:49:11 +0000 Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUGOt-0001Ii-AN for submit@debbugs.gnu.org; Mon, 01 Aug 2016 12:49:11 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:43975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUGOs-0001IZ-3r for control@debbugs.gnu.org; Mon, 01 Aug 2016 12:49:10 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D1FC58D3B for ; Mon, 1 Aug 2016 18:49:01 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PaUxvGZgxK6Z for ; Mon, 1 Aug 2016 18:49:01 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 80E438D3A for ; Mon, 1 Aug 2016 18:49:01 +0200 (CEST) Date: Mon, 01 Aug 2016 18:49:03 +0200 Message-Id: <87wpk0ige8.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #23260 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) close 23260 0.11.0