Hi Henrik, Can you share some detail regarding which version of X11 you've got installed? Python 2.6 on S.Leo is 64 bits, see your activity monitor.
-jelle On Fri, Nov 13, 2009 at 9:48 PM, Henrik Rudstrom <hrudst...@googlemail.com>wrote: > Hi, > Just tested the binaries, and the basics seem to work fine, but i can seem > to get the SimpleGui with xlib to work: > > henrik$ python /Library/Python/2.6/site-packages/OCC/Display/SimpleGui.py > Traceback (most recent call last): > File "/Library/Python/2.6/site-packages/OCC/Display/SimpleGui.py", line > 106, in <module> > w = XOCCWindow(display_xlib.Display()) > File "/Library/Python/2.6/site-packages/Xlib/display.py", line 85, in > __init__ > self.display = _BaseDisplay(display) > File "/Library/Python/2.6/site-packages/Xlib/display.py", line 67, in > __init__ > apply(protocol.display.Display.__init__, (self, ) + args, keys) > File "/Library/Python/2.6/site-packages/Xlib/protocol/display.py", line > 45, in __init__ > name, host, displayno, screenno = connect.get_display(display) > File "/Library/Python/2.6/site-packages/Xlib/support/connect.py", line > 67, in get_display > return mod.get_display(display) > File "/Library/Python/2.6/site-packages/Xlib/support/unix_connect.py", > line 53, in get_display > raise error.DisplayNameError(display) > Xlib.error.DisplayNameError: Bad display name "/tmp/launch-Q8k69u/:0" > > > is the xlib display drivers not supported in this revision or do i have a > problem with my installation. I used python-xlib 0.14 and preinstalled > python /usr/lib/python (the framework python doesnt seem to work (think that > one still runs 32bits)) > > > Henrik Rudstrom > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users