Bingo! that was the trick, finally PythonOCC + Graphics im a happy man
Henrik Rudstrom 2009/11/14 Thomas Paviot <tpav...@gmail.com> > 2009/11/13 Henrik Rudstrom <hrudst...@googlemail.com> > > 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 >> >> >> > Hi Henrik, > > There were many MacOSX fixes in the python-xlib project since the last > release (two years ago). I run the latests svn rev. of the python-xlib > project, and you should also move to this version. According to the > python-xlib mailing list, a new release is planned and about to be packaged. > > Cheers, > > Thomas > > > _______________________________________________ > 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