[Bug 623507] New: python-xlib cannot connect to display
http://bugzilla.novell.com/show_bug.cgi?id=623507 http://bugzilla.novell.com/show_bug.cgi?id=623507#c0 Summary: python-xlib cannot connect to display Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: PC OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: guido+opensuse.org@berhoerster.name QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100626 Firefox/3.6.6 python-xlib cannot connect to the display, instantiating Xlib.display.Display fails with a meaningless error message. There used to be a similar bug in version 0.13 (see http://sourceforge.net/tracker/?func=detail&aid=1623900&group_id=10350&atid=110350) but that one should be fixed in 0.14 according to upstream. I have opened a bug upstream (see http://sourceforge.net/tracker/?func=detail&aid=3023796&group_id=10350&atid=110350) but not received any response yet. For reference, this breaks any python application which might use python-xlib e.g. for displaying a status icon such a gmixer. Reproducible: Always Steps to Reproduce: $ python -c 'from Xlib import display; display.Display()' Actual Results: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.6/site-packages/Xlib/display.py", line 85, in __init__ self.display = _BaseDisplay(display) File "/usr/lib/python2.6/site-packages/Xlib/display.py", line 67, in __init__ apply(protocol.display.Display.__init__, (self, ) + args, keys) File "/usr/lib/python2.6/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 ":0.0": No protocol specified -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623507
http://bugzilla.novell.com/show_bug.cgi?id=623507#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=623507
http://bugzilla.novell.com/show_bug.cgi?id=623507#c1
Fabian Moser
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c2
--- Comment #2 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c3
--- Comment #3 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c4
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c5
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c6
--- Comment #6 from Fabian Moser
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c7
--- Comment #7 from Guido Berhörster
Thanks for the patch. It fixes the problem for me. What additional information does this need?
I'm just requesting a SWAMPID for updates. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c8
--- Comment #8 from Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c9
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c10
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c11
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c12
--- Comment #12 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c13
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623507
https://bugzilla.novell.com/show_bug.cgi?id=623507#c14
Guido Berhörster
participants (1)
-
bugzilla_noreply@novell.com