Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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

closed-fixed
nobody
None
5
2010-06-06
2008-06-26
Bill Janssen
No

% python
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"
>>>

Discussion

  • Bill Janssen
    Bill Janssen
    2008-06-26

    fix for unix_connect on Apple's Leopard X11

     
    Attachments
    a
  • Bill Janssen
    Bill Janssen
    2008-06-26

    Logged In: YES
    user_id=42950
    Originator: YES

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

     
    • status: open --> pending
     
  • Logged In: YES
    user_id=240178
    Originator: NO

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

     
  • Logged In: YES
    user_id=1312539
    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).

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

    • status: closed --> closed-fixed