#27 OS X 10.5 DISPLAY value breaks instantiation of Display()


% python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:16)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from Xlib import X, display, Xatom
>>> d = display.Display()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.5/site-packages/Xlib/display.py", line 85, in __init__
self.display = _BaseDisplay(display)
File "/Library/Python/2.5/site-packages/Xlib/display.py", line 67, in __init__
apply(protocol.display.Display.__init__, (self, ) + args, keys)
File "/Library/Python/2.5/site-packages/Xlib/protocol/display.py", line 45, in __init__
name, host, displayno, screenno = connect.get_display(display)
File "/Library/Python/2.5/site-packages/Xlib/support/connect.py", line 67, in get_display
return mod.get_display(display)
File "/Library/Python/2.5/site-packages/Xlib/support/unix_connect.py", line 53, in get_display
raise error.DisplayNameError(display)
Xlib.error.DisplayNameError: Bad display name "/tmp/launch-EbJEZ1/:0"


  • Bill Janssen

    Bill Janssen - 2008-06-26

    fix for unix_connect on Apple's Leopard X11

  • Bill Janssen

    Bill Janssen - 2008-06-26

    Logged In: YES
    Originator: YES

    Here's a patch for OS X 10.5.
    File Added: a

  • David H. Bronke

    David H. Bronke - 2008-07-23
    • status: open --> pending
  • David H. Bronke

    David H. Bronke - 2008-07-23

    Logged In: YES
    Originator: NO

    Patch applied by mggrant in revision 128. Marked as pending until next release.

  • SourceForge Robot

    Logged In: YES
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed
  • Mike Grant

    Mike Grant - 2010-06-06
    • status: closed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks