From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 02 18:41:03 2019 Received: (at submit) by debbugs.gnu.org; 2 Aug 2019 22:41:03 +0000 Received: from localhost ([127.0.0.1]:57960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htgEQ-0006dv-Ug for submit@debbugs.gnu.org; Fri, 02 Aug 2019 18:41:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:37665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htgEO-0006dP-Vi for submit@debbugs.gnu.org; Fri, 02 Aug 2019 18:41:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60499) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htgEM-0004EB-Im for bug-guix@gnu.org; Fri, 02 Aug 2019 18:41:00 -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.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htgEL-0002YM-Hk for bug-guix@gnu.org; Fri, 02 Aug 2019 18:40:58 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:42428) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htgEL-0002XU-1Q for bug-guix@gnu.org; Fri, 02 Aug 2019 18:40:57 -0400 Received: by mail-pf1-x42f.google.com with SMTP id q10so36693707pff.9 for ; Fri, 02 Aug 2019 15:40:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=0mABm/yXqrx80mCNIOyv+cKIFIYqZl9HPQl88HBsgmA=; b=pGbpJ3gfsQ//owICMBltRWmoOsLb6X7kwSGGBOKbWK487BsM8h9XK5V1tT/d2CXKwg HWAWU3Xdzgv/8G80EXP/+uJaOHPvh99G77r7AxioQQju6OeZB6ttMEfr0Rj9TxbLPvb2 4ld1jIi/eBsbuEZ7ZDD6k3jYXf1MIdlB9lgFI8NLDJJuDHoK6KDei2RduvbaGuYvSntJ /N99ASlKsgCZcxxb+mJbpRER/QIIiHswENNeuOaErGXyxg9wSyQoEew+QIAcBCuzTwFQ 5usTWBxWg8fY+GpFbDdWmN7mIyy14MVKw58P39DenmZiVda10jNH2pPAp/wo8v+yurDh BYOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :content-transfer-encoding; bh=0mABm/yXqrx80mCNIOyv+cKIFIYqZl9HPQl88HBsgmA=; b=Wj9Uj34qo0ktr7FOhSd12Kjp4dDjfP2CONxE/1FaKabprPAx9g7CqrDmZuh9qtFldh iL//R8VSG5efh7n7CGKR6+k4aPU06vkkyB0FdaChGylg9pGYIpdCIbjzGh0tsU0/ZmYg rf8WsP0PzJXZnl2Lf/iagYestkZ5Wi6+oFxVNhsvoBPZUBsw8C2Pw5y2k4Eg9Kx6Ejqg +zwuQMy0UQwElzfUk4P/VJZTDx4ZICjC/Uy4LfOKxEi8dcxLALtD63X1MFFs+gSD7CZ1 XXhXoGqhCutcgLdj4IaPzyIR3IUbQXiOi6f9jfFhODNiSF0E4b0lG0o3e1LGCMY4vx20 cw5Q== X-Gm-Message-State: APjAAAW3UHlTJCMD177+7NtOq9ybq8bbuLAV1NC1JFQW3VFHOhJAnWop Eg7JdygKLBH6xNIUjG93/1XRwtbYE3c= X-Google-Smtp-Source: APXvYqyxcV/jKJ+XDO9r3kFpZFlznFFvj0u2wcAf8+6FHunG1DjbvT4fyUSWiR0nK+4PvFMUdnutBw== X-Received: by 2002:a63:1f03:: with SMTP id f3mr97242008pgf.249.1564785654986; Fri, 02 Aug 2019 15:40:54 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id q24sm8776439pjp.14.2019.08.02.15.40.53 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 15:40:54 -0700 (PDT) Message-ID: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> Subject: key-mon crashes on launch From: Jesse Gibbons To: bug-guix mailing list Content-Type: text/plain; charset="UTF-8" Date: Fri, 02 Aug 2019 16:40:53 -0600 Mime-Version: 1.0 X-Mailer: Evolution 3.28.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42f X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit 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: -2.1 (--) 1. install key-mon 2. run key-mon it crashes: (.key-mon-real:5006): Gtk-WARNING **: 16:23:06.088: Unable to locate theme engine in module_path: "adwaita", (.key-mon-real:5006): Gtk-WARNING **: 16:23:06.092: Unable to locate theme engine in module_path: "adwaita", Traceback (most recent call last): File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- 1.17/bin/.key-mon-real", line 3, in km.main() File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 1032, in main keymon = KeyMon(opts) File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 130, in __init__ self.devices = xlib.XEvents() File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- 1.17/lib/python2.7/site-packages/keymon/xlib.py", line 80, in __init__ self.record_display = display.Display() File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- 0.14/lib/python2.7/site-packages/Xlib/display.py", line 85, in __init__ self.display = _BaseDisplay(display) File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- 0.14/lib/python2.7/site-packages/Xlib/display.py", line 67, in __init__ apply(protocol.display.Display.__init__, (self, ) + args, keys) File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- 0.14/lib/python2.7/site-packages/Xlib/protocol/display.py", line 121, in __init__ raise error.DisplayConnectionError(self.display_name, r.reason) Xlib.error.DisplayConnectionError: Can't connect to display ":1": No protocol specified One possible reason it crashes is the python2-xlib is far outdated. The package was added in patch db62afa55ad443cc50bcafe64eb3ba239eae9c11 (2015) and has been version 0.14 ever since. The website says it has been migrated to github, which says the most recent stable release is 0.25. It looks like there is a similar issue (though not identical) htt ps://github.com/python-xlib/python-xlib/issues/53 which was fixed. I will see if updating python2-xlib fixes this, and if so I will send a patch. Any objections? -- -Jesse From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 02 19:21:18 2019 Received: (at submit) by debbugs.gnu.org; 2 Aug 2019 23:21:18 +0000 Received: from localhost ([127.0.0.1]:57971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htgrO-0007ic-IR for submit@debbugs.gnu.org; Fri, 02 Aug 2019 19:21:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:56915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htgrM-0007iT-U6 for submit@debbugs.gnu.org; Fri, 02 Aug 2019 19:21:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41245) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htgrL-0002Yq-MQ for bug-guix@gnu.org; Fri, 02 Aug 2019 19:21:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htgrK-00065f-BF for bug-guix@gnu.org; Fri, 02 Aug 2019 19:21:15 -0400 Received: from tobias.gr ([2001:470:7405::1]:56574) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1htgrI-00064x-Fn for bug-guix@gnu.org; Fri, 02 Aug 2019 19:21:13 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 66be9dcb; Fri, 2 Aug 2019 23:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=L/OysZgw1fTX50olBvE1kH FDNoA0Ob88FVxpErTtX1E=; b=DhXz7K5T6tQhmMMkHtIbMbGBAGSlRtFyFgThRE aXlJmNQQ4/PpZCfD23PLz97X/v3+QOP0myTHUMXXRF3o+6bn+luD+/gWk/LM5v0Y sIC3/CJFmwZyXrQ5j7nflYgKG4FzJZUxTgSW05SGbXjDZt1HAYu0F1o9+dGm0qmg iiOAcsERC2DMVvTNDCM5MPP2dWZCC6FpuQG9YjLF1CqrLNyQHNan80pgR2ls4On6 Sq0Th9UJNMqVZqj9vMWIqJ9IIRN6fMmohxy4TacxbzUEE1ps9uDD7fyyYt+r4JOO 7DK6x5BbhbAhWQdCAuYbZAy+yc2bVwfKw8txbJ8aqnWpcd9g== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7d73c466 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 2 Aug 2019 23:21:08 +0000 (UTC) From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: Re: bug#36900: key-mon crashes on launch References: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> In-reply-to: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> Date: Sat, 03 Aug 2019 01:21:08 +0200 Message-ID: <87ftmj5f2z.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 36900@debbugs.gnu.org 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: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jesse, Jesse Gibbons =E5=86=99=E9=81=93=EF=BC=9A > I will see if updating python2-xlib fixes this, and if so I will=20 > send a > patch. > > Any objections? On the contrary. That's exactly what we want! Thanks, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXUTFZAAKCRANsP+IT1Vt ebKyAP9hhlmqTfhpGH/IhiquCxQx2rIl/yYUfFBRKbmT02+ohQD/XkEudvljAsN0 Fq4fcdCp6TA4NQ2rzN92QGpIhGA9xQc= =sciY -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 02 21:54:11 2019 Received: (at 36900) by debbugs.gnu.org; 3 Aug 2019 01:54:11 +0000 Received: from localhost ([127.0.0.1]:58075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htjFL-0003Fy-8b for submit@debbugs.gnu.org; Fri, 02 Aug 2019 21:54:11 -0400 Received: from mail-pf1-f177.google.com ([209.85.210.177]:43343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htjFJ-0003Fk-7R for 36900@debbugs.gnu.org; Fri, 02 Aug 2019 21:54:09 -0400 Received: by mail-pf1-f177.google.com with SMTP id i189so36867921pfg.10 for <36900@debbugs.gnu.org>; Fri, 02 Aug 2019 18:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:in-reply-to:references:date:mime-version :content-transfer-encoding; bh=VTATZIvOhEIiftKcSGWGgTQ5tfYi9OvweFEP5EwbXA0=; b=Irle1RY8EaERpaeF/sBNCmoC+czOxMDmtqRTRz/VA57b/tvDZ7UP3I4gbNBtdeo4Bu kY1rwWTZtM5gGpcJvDpBsg1rjLeWsZYIjxPVqshQ6DSnwA0W9cARuRLHIgj/DPC682+I zdNm8NVDlIP56xQWLlk/wxEuK5NB9aymFUlpTzIECYXL8bWGPnz6vaZBK6fkx/IRdGxh Q/e9TiXJkkEsm/OD+6t+VHsYo0jgXWOgRxJPcYUh7SDvT4HxKu+SBVZ2asa9ESomZh8j e1y1ri+7y7fpDr+LXVxvP5O17gsnxtAHS4MJYTbtoegg1kR1+SKZlpqbr2rhjWjTLtoU 5/Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:in-reply-to :references:date:mime-version:content-transfer-encoding; bh=VTATZIvOhEIiftKcSGWGgTQ5tfYi9OvweFEP5EwbXA0=; b=p+A63dnUvptKPBFSQV8K2kk/dK2WipGkWiTujH1+92nkhcx5wUmSdJoTZsgY43s/tE KERdxxUGrr/8kLEJyzCeICfC7njP4R24Ds5UxBzU5xMix7FDPI+ofMZAC8ML2o5i3baV olCwHnKJm09xUAyVlh/nCYK1VtSvDH9nhZnwS4zPrwfvMhHBG5UaBqJq05WGIh5jrBbJ UovyaOYqMAc7gw3bQrx47JfnNdYO5wfTCs+XpRJI4kAc0iGeu6oSdRDUEiHnCDKyXO+t xsy22IfZvu/IEId1mKKUqOceZq6+HYl7HZThZdKgTB7OUrtwo/omNFto4yg0EzkEQbSF SpdA== X-Gm-Message-State: APjAAAWiW8JtYc6DnzT1njFPtDO1RjHIKi0bzGPIJdjoWKZxELVmXg9+ Roo9zbSG3T3UHq91we+OQ1WJRv+ovqY= X-Google-Smtp-Source: APXvYqz88He+Bvam1biQ5L5wdSEW/5niHVmUD4wr8gOeBTJV5+jdCQqXHt0BogLl/p11OKVYbHupGw== X-Received: by 2002:aa7:8e18:: with SMTP id c24mr62843675pfr.24.1564797242912; Fri, 02 Aug 2019 18:54:02 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id c69sm9383329pje.6.2019.08.02.18.54.01 for <36900@debbugs.gnu.org> (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 18:54:01 -0700 (PDT) Message-ID: <4761a59b055ee9adc2f4722d5fccad098a310616.camel@gmail.com> Subject: Re: bug#36900: key-mon crashes on launch From: Jesse Gibbons To: 36900@debbugs.gnu.org In-Reply-To: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> References: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 02 Aug 2019 19:54:00 -0600 Mime-Version: 1.0 X-Mailer: Evolution 3.28.1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 36900 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 (/) On Fri, 2019-08-02 at 16:40 -0600, Jesse Gibbons wrote: > 1. install key-mon > 2. run key-mon > it crashes: > > (.key-mon-real:5006): Gtk-WARNING **: 16:23:06.088: Unable to locate > theme engine in module_path: "adwaita", > > (.key-mon-real:5006): Gtk-WARNING **: 16:23:06.092: Unable to locate > theme engine in module_path: "adwaita", > Traceback (most recent call last): > File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- > 1.17/bin/.key-mon-real", line 3, in > km.main() > File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- > 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 1032, in > main > keymon = KeyMon(opts) > File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- > 1.17/lib/python2.7/site-packages/keymon/key_mon.py", line 130, in > __init__ > self.devices = xlib.XEvents() > File "/gnu/store/jkjmj9l72rmnh642dyprnpwgmz4mn6cx-key-mon- > 1.17/lib/python2.7/site-packages/keymon/xlib.py", line 80, in > __init__ > self.record_display = display.Display() > File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- > 0.14/lib/python2.7/site-packages/Xlib/display.py", line 85, in > __init__ > self.display = _BaseDisplay(display) > File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- > 0.14/lib/python2.7/site-packages/Xlib/display.py", line 67, in > __init__ > apply(protocol.display.Display.__init__, (self, ) + args, keys) > File "/gnu/store/4xl1xl2fp6c0c9f9pm1xm10x1qgbwp08-python2-xlib- > 0.14/lib/python2.7/site-packages/Xlib/protocol/display.py", line 121, > in __init__ > raise error.DisplayConnectionError(self.display_name, r.reason) > Xlib.error.DisplayConnectionError: Can't connect to display ":1": No > protocol specified > > > > One possible reason it crashes is the python2-xlib is far outdated. > The > package was added in patch db62afa55ad443cc50bcafe64eb3ba239eae9c11 > (2015) and has been version 0.14 ever since. The website says it has > been migrated to github, which says the most recent stable release is > 0.25. It looks like there is a similar issue (though not identical) > htt > ps://github.com/python-xlib/python-xlib/issues/53 which was fixed. > > I will see if updating python2-xlib fixes this, and if so I will send > a > patch. > > Any objections? > Updating python2-xlib does not fix this bug. -- -Jesse From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 16:16:48 2021 Received: (at 36900) by debbugs.gnu.org; 3 Jan 2021 21:16:48 +0000 Received: from localhost ([127.0.0.1]:38713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwAk4-0005wy-IX for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:16:48 -0500 Received: from mout01.posteo.de ([185.67.36.141]:59006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwAk2-0005qQ-JA for 36900@debbugs.gnu.org; Sun, 03 Jan 2021 16:16:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2E1F616005F for <36900@debbugs.gnu.org>; Sun, 3 Jan 2021 22:16:40 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D8BQb3Pwtz9rxK for <36900@debbugs.gnu.org>; Sun, 3 Jan 2021 22:16:39 +0100 (CET) Message-ID: <074a23d47522e83f8b05962e915b4779ae0db499.camel@zrythm.org> Subject: key-mon crashes on launch From: Alexandros Theodotou To: 36900@debbugs.gnu.org Date: Sun, 03 Jan 2021 21:16:38 +0000 Content-Type: text/plain User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36900 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: -3.3 (---) Just FYI this is still broken. Thanks, Alex From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 16:58:55 2021 Received: (at submit) by debbugs.gnu.org; 3 Jan 2021 21:58:55 +0000 Received: from localhost ([127.0.0.1]:38783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwBOp-0007aB-5I for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:58:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:54958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwBOn-0007Zw-55 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 16:58:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwBOm-0008Nh-S0 for bug-guix@gnu.org; Sun, 03 Jan 2021 16:58:52 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:47022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwBOl-0003Pf-5g for bug-guix@gnu.org; Sun, 03 Jan 2021 16:58:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=OmA+3ACZXAFQMeHm/KULev/H96lNaa0pNQ0h9LUUQiQ=; h=date:in-reply-to: references:subject:cc:to:from; b=FVp+0TdotLaJdqgpKU/z+Xd6G15PQcTKevSVj g9+RsWFd3dfmDgXeHamlrEE8DGX7LogMfYzniWxtc+gLME4PzjqtY8Dt0eipWWrhdcC6Jn Y+c1mJcebUF4R9m8fLp3sKGdio/Oz/AIcKGJGHyQZcGwxCM2wEUUVTy8KLpgtmM8SLR0dV 78EMncM3mBfa31ngwMuOpyA8Mm5u0u+EPCdSjeEwlUfXZLAcGSkgsuAzu0ZsByZ5nyfwwI qkQZKIAMARMS9grWsJzhk5ezdRk5JhRovoxgdMLqqYVDPbW9YCS2l0p5ewEuhaiL8nWXSu +GYxMoxV+qf/wcZ/NlH+DHxVQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 116cfb79 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 3 Jan 2021 21:59:17 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Alexandros Theodotou Subject: Re: bug#36900: key-mon crashes on launch References: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> <074a23d47522e83f8b05962e915b4779ae0db499.camel@zrythm.org> In-reply-to: <074a23d47522e83f8b05962e915b4779ae0db499.camel@zrythm.org> Date: Sun, 03 Jan 2021 22:58:47 +0100 Message-ID: <87r1n1heco.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 36900@debbugs.gnu.org, bug-guix@gnu.org 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: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Alexandros Theodotou =E5=86=99=E9=81=93=EF=BC=9A > Just FYI this is still broken. I don't understand how you are reproducing this backtrace: $ guix environment key-mon --ad-hoc key-mon -- key-mon Error: Missing xlib, run sudo apt-get install python-xlib $ sudo apt-get install python-xlib sudo: apt-get: command not found It was worth a try. How are you launching key-mon? Is this because I'm not using X? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX/I+Fw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15hFYA/ji/GZbEPEDoX/WU5n5jm/y1IOVJD1l7mVBEhRLS 3FfiAQDwPF6qulrB+GFZJP5Lu80Xr58HhjplrUqQA1rfoV6ACg== =yP5y -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 17:20:53 2021 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: Subject: Re: bug#36900: key-mon crashes on launch From: Alexandros Theodotou To: Tobias Geerinckx-Rice 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36900 Cc: 36900@debbugs.gnu.org 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: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 09 09:49:41 2021 Received: (at 36900) by debbugs.gnu.org; 9 Jan 2021 14:49:41 +0000 Received: from localhost ([127.0.0.1]:51427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyFYj-0007Lt-4A for submit@debbugs.gnu.org; Sat, 09 Jan 2021 09:49:41 -0500 Received: from mout01.posteo.de ([185.67.36.141]:39176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyFYg-0007Lb-66 for 36900@debbugs.gnu.org; Sat, 09 Jan 2021 09:49:39 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id ED01216005C for <36900@debbugs.gnu.org>; Sat, 9 Jan 2021 15:49:31 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DCjY71ZLTz6tmK for <36900@debbugs.gnu.org>; Sat, 9 Jan 2021 15:49:31 +0100 (CET) Message-ID: <66d58b6c56ee5595b052e0736a0e0ffb0fdd8488.camel@zrythm.org> Subject: Re: bug#36900: key-mon crashes on launch From: Alexandros Theodotou To: 36900@debbugs.gnu.org Date: Sat, 09 Jan 2021 14:49:30 +0000 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36900 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: -3.3 (---) Some things discovered on IRC: "works for me with [patch below] and by running: $ ./pre-inst-env guix environment --ad-hoc key-mon gdk-pixbuf+svg --pure -- $(which bash) -c 'DISPLAY=:0 key-mon'" "figuring out where to propagate gdk-pixbuf+svg remains to be found" ```patch diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 23e43b7e75..c418a9c7e0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8046,8 +8046,9 @@ falling into the Python interpreter.") (native-inputs `(("python-mock" ,python-mock) ("python-setuptools-scm" ,python-setuptools-scm) - ("python-six" ,python-six) ("xorg-server" ,xorg-server))) + (propagated-inputs + `(("python-six" ,python-six))) (home-page "https://github.com/python-xlib/python-xlib") (synopsis "Python X11 client library") (description ``` FYI, the python-screenkey patch also has a similar issue, this could be it. Thanks, Alex From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 16:35:02 2021 Received: (at 36900) by debbugs.gnu.org; 14 Aug 2021 20:35:02 +0000 Received: from localhost ([127.0.0.1]:45462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF0Mw-00072y-1t for submit@debbugs.gnu.org; Sat, 14 Aug 2021 16:35:02 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:34352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF0Ms-00072J-Ne for 36900@debbugs.gnu.org; Sat, 14 Aug 2021 16:35:01 -0400 Date: Sat, 14 Aug 2021 20:34:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628973292; bh=8C8RHXJYNXpKwP/sGo7tpTYJ+zQsRO2j5KZ7FqvD20g=; h=Date:To:From:Reply-To:Subject:From; b=BAqp42BjZyibBegywRmAqUXVHd6BXc87NDEtNvLLwbYJA9WG1p44ZMAwWXG8RLzeP Ol45psRe32w1pd49wTR2hrt+l/vpVQQPAy2mY7muOiJzmFHsLLFvIcqp6xqmvg57U3 rh8/NkhlT0m6PGeCD6Ad/bXNhzHdwE+ftL4cpx70= To: "36900@debbugs.gnu.org" <36900@debbugs.gnu.org> From: John Kehayias Subject: Re: key-mon crashes on launch Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 36900 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: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Are there any updates on this, did anyone get it to work? I just tried with= the same issue on opening display for me too. I'm seeing the same thing in trying to package autokey, but with the error = displayed in a graphical window on the X server (and yet it says it doesn't= know the protocol). This also uses python-xlib, gtk, etc. Thanks, John From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 14 16:40:41 2021 Received: (at 36900) by debbugs.gnu.org; 14 Aug 2021 20:40:41 +0000 Received: from localhost ([127.0.0.1]:45466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF0SP-0007Co-ME for submit@debbugs.gnu.org; Sat, 14 Aug 2021 16:40:41 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:28523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mF0SN-0007CY-Gn for 36900@debbugs.gnu.org; Sat, 14 Aug 2021 16:40:40 -0400 Date: Sat, 14 Aug 2021 20:40:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628973632; bh=+sVAAI0CT7d05H8jIteaDby+wt5Vn8FPqGswrVQwXdc=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=oZ72r8amwTJbqEx8Su3Slnok50S517xPW8tVh5xZOvGwYR+t8CcGMnBFQsqdm1in+ YL2FN3OHpyoiWG36Xke20Dtdl2/QXi+JdFOQE3ZQ4N5am2mjCe+wgvy7o121DIJSot Fe2tWwAlesBR17G5Ng2AQY4K9LE+y2Y2Dof/Gtr4= To: "36900@debbugs.gnu.org" <36900@debbugs.gnu.org> From: John Kehayias Subject: Re: key-mon crashes on launch Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 36900 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: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Saturday, August 14th, 2021 at 4:34 PM, John Kehayias wrote: > Are there any updates on this, did anyone get it to work? I just tried wi= th the same issue on opening display for me too. > > I'm seeing the same thing in trying to package autokey, but with the erro= r displayed in a graphical window on the X server (and yet it says it doesn= 't know the protocol). This also uses python-xlib, gtk, etc. > Of course immediatly after I found a workaround, for key-mon and my case: a= llow all to connect to X with `xhost +`. Certainly not the ideal thing to d= o as it disables authentication with X, but show the problem. Does anyone know the proper way to deal with this for these python packages= ?