Creating Display() fails with "Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'No protocol specified\n"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-xlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After a recent dist-upgrade on vivid the following code now raises an exception:
$ python3 -c "from Xlib import display; display.Display()"
Error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
self.display = _BaseDisplay(
File "/usr/lib/
display.
File "/usr/lib/
raise error.DisplayCo
Xlib.error.
This code was working fine before the dist-upgrade.
Package version is: 0.14+20091101-
This issue is causing all autopilot tests run on the desktop to fail (see: https:/
description: | updated |
This bug was fixed in the package python-xlib - 0.14+20091101- 1ubuntu3
--------------- 1ubuntu3) vivid; urgency=medium
python-xlib (0.14+20091101-
* debian/ patches/ lp1432889. patch: properly decode the xauthority file
into strings instead of byte arrays in Xlib/xauth.py. (LP: #1432889)
-- Marc Deslauriers <email address hidden> Tue, 17 Mar 2015 11:17:02 -0400