Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-21 Thread Csanády István
Finally, I made an ugly workaround, I hope later I will be able to get rid of it. Until then if someone interested: In OCCViewer.py in the set_CSF_GraphicShr: if sys.platform == 'darwin': # MacOSX : run the otool -L tool to check to which libTkOpenGl library it's linked # otool -

Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-21 Thread Thomas Paviot
I just mean: take only the modeling/data exchange parts of pythonOCC, serialize meshes and then render them with a powerful c++ rendering library (for instance vtk or coin3d). If ever it's not possible, and you absolutely need the GUI to be launched from the python script, you can perhaps create a

Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-21 Thread Csanády István
I am trying to integrate the pyocc with a native C++ application. What do you mean by "getting out the visualization part out of the subprocesses"? Hardcoding the library path? If I won't be able to manage this problem, I will do that. On Tue, Jun 21, 2011 at 4:01 PM, Thomas Paviot wrote: > Hi I

Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-21 Thread Thomas Paviot
Hi Istvan, Don't know what you're trying to do, but it looks like something complicated. Get the visualization part out of the subprocesses and I guess it will be better. THomas 2011/6/21 Csanády István > The problem is caused by this bug: http://bugs.python.org/issue9867 I've > been trying t

Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-21 Thread Csanády István
The problem is caused by this bug: http://bugs.python.org/issue9867 I've been trying to make a workaround, but unfortunately there are many other process calls in the Xlib library, which are suffering from the same issue Though I don't understand why aren't these exceptions raised when I run a

Re: [Pythonocc-users] problems when using embedded python from XCode

2011-06-20 Thread Thomas Paviot
2011/6/20 Csanády István > Hi All! > I am trying to use pyocc from C++, with the embedded python api. If I > run the app from XCode, I got the following errors when initializing > SimpleGUI: > Traceback (most recent call last): > File "???", line 7, in > File "/Users/istvancsanady/Documents/

[Pythonocc-users] problems when using embedded python from XCode

2011-06-20 Thread Csanády István
Hi All! I am trying to use pyocc from C++, with the embedded python api. If I run the app from XCode, I got the following errors when initializing SimpleGUI: Traceback (most recent call last):   File "???", line 7, in   File "/Users/istvancsanady/Documents/workspace/butterfly/src/pool.py", line 12