From: Jesse Gibbons <jgibbons2357@gmail.com>
To: 36900@debbugs.gnu.org
Subject: bug#36900: key-mon crashes on launch
Date: Fri, 02 Aug 2019 16:40:53 -0600 [thread overview]
Message-ID: <0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com> (raw)
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 <module>
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
next reply other threads:[~2019-08-02 22:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 22:40 Jesse Gibbons [this message]
2019-08-02 23:21 ` bug#36900: key-mon crashes on launch Tobias Geerinckx-Rice
2019-08-03 1:54 ` Jesse Gibbons
2021-01-03 21:16 ` Alexandros Theodotou
2021-01-03 21:58 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-01-03 22:20 ` Alexandros Theodotou
2021-01-09 14:49 ` Alexandros Theodotou
2021-08-14 20:34 ` John Kehayias via Bug reports for GNU Guix
2021-08-14 20:40 ` John Kehayias via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c086cf749e6b5b09ddbcbb2b59d8b0d79d514b5.camel@gmail.com \
--to=jgibbons2357@gmail.com \
--cc=36900@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).