GNU bug report logs - #28541
Let gnome-tweak-tool and gnome-control-center have gnome-shell as input

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mohammed Sadiq <sadiq@HIDDEN>; dated Thu, 21 Sep 2017 15:49:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 28541 <at> debbugs.gnu.org:


Received: (at 28541) by debbugs.gnu.org; 6 Oct 2017 06:54:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 06 02:54:36 2017
Received: from localhost ([127.0.0.1]:52068 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e0MWq-0001Mo-6W
	for submit <at> debbugs.gnu.org; Fri, 06 Oct 2017 02:54:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1e0MWo-0001MZ-Hd
 for 28541 <at> debbugs.gnu.org; Fri, 06 Oct 2017 02:54:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1e0MWg-0006CI-6k
 for 28541 <at> debbugs.gnu.org; Fri, 06 Oct 2017 02:54:29 -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,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36797)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1e0MWg-0006CE-3D; Fri, 06 Oct 2017 02:54:26 -0400
Received: from [193.50.110.231] (port=49012 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1e0MWf-0004Nw-KY; Fri, 06 Oct 2017 02:54:25 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Mohammed Sadiq <sadiq@HIDDEN>
Subject: Re: bug#28541: Let gnome-tweak-tool and gnome-control-center have
 gnome-shell as input
References: <718254061.68749.1506008871823@HIDDEN>
Date: Fri, 06 Oct 2017 08:54:24 +0200
In-Reply-To: <718254061.68749.1506008871823@HIDDEN> (Mohammed
 Sadiq's message of "Thu, 21 Sep 2017 21:17:51 +0530 (IST)")
Message-ID: <87o9pksr4v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: 28541
Cc: 28541 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

Hi Mohammed,

Mohammed Sadiq <sadiq@HIDDEN> skribis:

> without access to gnome-shell schemas, gnome-tweak-tool won't ever work, =
so
> it is mandatory. And for the case of gnome-control-center, the keyboard p=
anel
> segfaults if gnome-shell schema isn't present. But since gnome-shell may =
not
> be used by all g-c-c user, it may not be good to have a hard dependency on
> gnome-shell, but if installed, the schemas of gnome-shell should too be a=
dded
> as input (is it possible to do so?)

I suppose the problem doesn=E2=80=99t manifest when using
=E2=80=98gnome-desktop-service=E2=80=99, because XDG_DATA_DIRS & co. are se=
t such that
the gnome-shell schemas are found.

I would think that=E2=80=99s enough in practice, no?  I doubt these are used
outside of a pure GNOME setting.

Also, gnome-shell depends on gnome-control-center, so
gnome-control-center cannot depend on gnome-shell.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#28541; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Sep 2017 15:48:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 21 11:48:21 2017
Received: from localhost ([127.0.0.1]:51766 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dv3i3-0000oa-W8
	for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 11:48:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sadiq@HIDDEN>) id 1dv3i2-0000oN-Sw
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 11:48:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sadiq@HIDDEN>) id 1dv3hw-00046P-EB
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 11:48:09 -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.5 required=5.0 tests=BAYES_20,FSL_HELO_BARE_IP_2,
 T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39726)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sadiq@HIDDEN>) id 1dv3hw-00046G-AJ
 for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 11:48:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45621)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sadiq@HIDDEN>) id 1dv3hu-0003xG-Qg
 for bug-guix@HIDDEN; Thu, 21 Sep 2017 11:48:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sadiq@HIDDEN>) id 1dv3hq-000433-GN
 for bug-guix@HIDDEN; Thu, 21 Sep 2017 11:48:06 -0400
Received: from us2-ob3-5.mailhostbox.com ([162.210.70.58]:45195)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sadiq@HIDDEN>) id 1dv3hq-00041Q-8C
 for bug-guix@HIDDEN; Thu, 21 Sep 2017 11:48:02 -0400
Received: from 172.16.214.73 (unknown [172.16.214.73])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: sadiq@HIDDEN)
 by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id D6416CBC0B
 for <bug-guix@HIDDEN>; Thu, 21 Sep 2017 15:47:51 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org;
 s=20160628; t=1506008871;
 bh=OOaCqzCXfyFTY+wKL55/ch+fnhcKPSkrICikISiLKnw=;
 h=Date:From:To:Subject;
 b=dWaB5ZudVhevq/LBqv0aO9d/jN7bMjmOukEOi6hQm6Eb9nmlc605sF0swSYxYcfww
 RoYYFjAoVvWuyEXWfUoLCh6uiiKoNjLnzplGaTvjMQHO4iAa913WVoGMYQe9ztzR+4
 2TvPfikXmJ4SKTH4TFLAp10s+0rmUARAs3FlZvpo=
Date: Thu, 21 Sep 2017 21:17:51 +0530 (IST)
From: Mohammed Sadiq <sadiq@HIDDEN>
To: bug-guix@HIDDEN
Message-ID: <718254061.68749.1506008871823@HIDDEN>
Subject: Let gnome-tweak-tool and gnome-control-center have gnome-shell as
 input
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.3-Rev22
X-Originating-Client: open-xchange-appsuite
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.2 cv=AbTBJzfG c=1 sm=1 tr=0
 a=Ekq3UFv+jauB4BrTSTVFXw==:117 a=IkcTkHD0fZMA:10 a=RShiYdh9Ui6tpKbPZGAA:9
 a=QEXdDO2ut3YA:10
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.5 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi,

Currently gnome-tweak-tool and gnome-control-center doesn't have gnome-shell
as input (in gnome.scm package definition). This results in issues when some
new package with gsettings schemas is installed.

without access to gnome-shell schemas, gnome-tweak-tool won't ever work, so
it is mandatory. And for the case of gnome-control-center, the keyboard panel
segfaults if gnome-shell schema isn't present. But since gnome-shell may not
be used by all g-c-c user, it may not be good to have a hard dependency on
gnome-shell, but if installed, the schemas of gnome-shell should too be added
as input (is it possible to do so?)

How to reproduce (hopefully gnome-shell is being used):
0. Install gnome-control-center and gnome-tweak-tool.
1. install some gnome application (eg: guix package -i gnome-calculator)
   It doesn't matter if you have already installed the package
2. run gnome-tweak-tool or run gnome-control-center and click Keyboard

result:
0. gnome-tweak-tool:
WARNING : Shell not installed or running
WARNING : Shell not running
None
WARNING : Error detecting shell
Traceback (most recent call last):
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 279, in __init__
    raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available
Traceback (most recent call last):
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/app.py", line 41, in do_activate
    self.win = Window(self, model)
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweakview.py", line 58, in __init__
    self._model.load_tweaks(self)
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 129, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 98, in <module>
    sw = StaticWorkspaceTweak(size_group=sg, loaded=_shell_loaded)
  File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 50, in __init__
    default = self.STATUS.keys()[self.STATUS.values().index(self.settings[self.key_name])]
ValueError: None is not in list
^C

1. gnome-control-center

(gnome-control-center:25833): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.keybindings' is not installed

Trace/breakpoint trap


Thanks




Acknowledgement sent to Mohammed Sadiq <sadiq@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#28541; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.