From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4HAKO1ZD8l8PcgAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 22:21:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QJraNlZD8l8iBwAA1q6Kng (envelope-from ) for ; Sun, 03 Jan 2021 22:21:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31A1394036A for ; Sun, 3 Jan 2021 22:21:10 +0000 (UTC) Received: from localhost ([::1]:37602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwBkK-0003xg-QO for larch@yhetil.org; Sun, 03 Jan 2021 17:21:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwBkE-0003xV-4M for bug-guix@gnu.org; Sun, 03 Jan 2021 17:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwBkD-0002mR-SQ for bug-guix@gnu.org; Sun, 03 Jan 2021 17:21:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwBkD-00088E-Nf for bug-guix@gnu.org; Sun, 03 Jan 2021 17:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#36900: key-mon crashes on launch Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 Jan 2021 22:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36900 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Received: via spool by 36900-submit@debbugs.gnu.org id=B36900.160971245331235 (code B ref 36900); Sun, 03 Jan 2021 22:21:01 +0000 Received: (at 36900) by debbugs.gnu.org; 3 Jan 2021 22:20:53 +0000 Received: from localhost ([127.0.0.1]:38811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwBk5-00087i-8v for submit@debbugs.gnu.org; Sun, 03 Jan 2021 17:20:53 -0500 Received: from mout02.posteo.de ([185.67.36.142]:46669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwBk1-00087S-M3 for 36900@debbugs.gnu.org; Sun, 03 Jan 2021 17:20:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5370F2400FC for <36900@debbugs.gnu.org>; Sun, 3 Jan 2021 23:20:43 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D8CrV33Gmz9rxL; Sun, 3 Jan 2021 23:20:42 +0100 (CET) Message-ID: From: Alexandros Theodotou Date: Sun, 03 Jan 2021 22:20:41 +0000 In-Reply-To: <87r1n1heco.fsf@nckx> References: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> <074a23d47522e83f8b05962e915b4779ae0db499.camel@zrythm.org> <87r1n1heco.fsf@nckx> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36900@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.73 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=zrythm.org (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 31A1394036A X-Spam-Score: -0.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: J8dwQmNbzscV Hi Tobias, On Sun, 2021-01-03 at 22:58 +0100, Tobias Geerinckx-Rice wrote: > guix environment key-mon --ad-hoc key-mon -- key-mon I tried the command above and this is my output. ``` substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 1.7 MB will be downloaded downloading from https://ci.guix.gnu.org/nar/lzip/kffsg08xjyzvxddldyqc2xfhiflsk0y6-python2-pygtk-2.24.0-doc ... python2-pygtk-2.24.0- doc 776KiB 1.4MiB/s 00:01 [##################] 100.0% The following derivation will be built: /gnu/store/mxpnh35lkla14p5f8al3s6vl2sh2w0cd-profile.drv applying 16 grafts for /gnu/store/p35rw37wg8za9ygwv2q24lcg6a855rw4- python2-pygtk-2.24.0.drv ... building CA certificate bundle... building fonts directory... generating GLib schema cache... creating GTK+ icon theme cache... building cache files for GTK+ input methods... building directory of Info manuals... building database for manual pages... building XDG desktop file cache... building XDG MIME database... building profile with 60 packages... (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.432: Unable to locate theme engine in module_path: "adwaita", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.434: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.434: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.434: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.435: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.435: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.435: Unable to locate theme engine in module_path: "murrine", (.key-mon-real:15064): Gtk-WARNING **: 22:14:36.435: Unable to locate theme engine in module_path: "murrine", Traceback (most recent call last): File "/gnu/store/fwmb620wk7hadj0iqh8xrxs8a74xhw50-key-mon- 1.17/bin/.key-mon-real", line 3, in km.main() File "/gnu/store/fwmb620wk7hadj0iqh8xrxs8a74xhw50-key-mon- 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 1032, in main keymon = KeyMon(opts) File "/gnu/store/fwmb620wk7hadj0iqh8xrxs8a74xhw50-key-mon- 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 130, in __init__ self.devices = xlib.XEvents() File "/gnu/store/fwmb620wk7hadj0iqh8xrxs8a74xhw50-key-mon- 1.17/lib/python2.7/site-packages/keymon/xlib.py", line 80, in __init__ self.record_display = display.Display() File "/gnu/store/ccnd7dx7c1g64mrdhml7vg8qmf65fd67-python2-xlib- 0.27/lib/python2.7/site-packages/Xlib/display.py", line 89, in __init__ self.display = _BaseDisplay(display) File "/gnu/store/ccnd7dx7c1g64mrdhml7vg8qmf65fd67-python2-xlib- 0.27/lib/python2.7/site-packages/Xlib/display.py", line 71, in __init__ protocol_display.Display.__init__(self, *args, **keys) File "/gnu/store/ccnd7dx7c1g64mrdhml7vg8qmf65fd67-python2-xlib- 0.27/lib/python2.7/site-packages/Xlib/protocol/display.py", line 166, in __init__ raise error.DisplayConnectionError(self.display_name, r.reason) Xlib.error.DisplayConnectionError: Can't connect to display ":1": No protocol specified ``` I get the same error when i launch it as `key-mon` from the console, after I installed the package. I tried with `--pure` now and I get your error: ``` No protocol specified /gnu/store/mzwxwalqni35m1m37xb5qvd0mv1g3sp9-python2-pygtk- 2.24.0/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) Error: Missing xlib, run sudo apt-get install python-xlib ``` > $ sudo apt-get install python-xlib > sudo: apt-get: command not found Lol. Thanks, Alex