[Pythonocc-users] PAF tutorial not going yet.

2010-05-19 Thread John Griessen
I've executed a file from ipython and get errors immediately that suggest incomplete installation or misunderstood install, or python path problem. My script is launched from leo-ipython started with python2.6. It contains: - from OCC.PAF.Context import ParametricM

[Pythonocc-users] testing a pythonocc debian installation

2010-05-19 Thread John Griessen
A while back Thomas suggested: In order to check your installation, run src/unittest programs. When I execute python2.5 occ_unittest.py output is: Ran 11 tests in 4.730s OK - To test that the SMESH wrapper works: run the examples from src/examples/Level1/SMESH python2.5

[Pythonocc-users] Patches to help building on Debian

2010-05-19 Thread Denis Barbier
Hi, I spent some time tonight to try to compile pythonocc on Debian unstable. Here are some patches: - 0001-Fix-end-of-lines.patch End-of-line is not consistent, some files have a mix of DOS and Unix conventions - 0002-Fix-help-message-with-salomegeom-option-has-been-rep.patch Subject

Re: [Pythonocc-users] running pythonocc compiled with python2.5 and ipython compiled with python2.6

2010-05-19 Thread Bryan Bishop
On Wed, May 19, 2010 at 12:09 PM, John Griessen wrote: > Can I refer to python2.5 in my scripts and what ipython calls execute > even though ipython was compiled with python2.6?  I used python2.6 to satisfy > the latest leo editor's python dependency. You can start a script off like this if you wa

[Pythonocc-users] running pythonocc compiled with python2.5 and ipython compiled with python2.6

2010-05-19 Thread John Griessen
Can I refer to python2.5 in my scripts and what ipython calls execute even though ipython was compiled with python2.6? I used python2.6 to satisfy the latest leo editor's python dependency. John ___ Pythonocc-users mailing list Pythonocc-users@gna.org

[Pythonocc-users] PAF tutorial dated 10 April 2010

2010-05-19 Thread John Griessen
Hi, I'm new at ipython and am a little confused at the tutorial wording: "The best way to get all the power of PAF is certainly to use the ipython console. When your PAF script is ready (let’s name it test_paf.py’), then just: ipython -wthread test_paf.py" And then the tutorial mentions step one

Re: [Pythonocc-users] debian compile with python2.6 errors, stops, runs with python2.5

2010-05-19 Thread John Griessen
Thomas Paviot wrote: > Hi John, > > I'm not sure the -classic and/or -nomodernargs can be safely used with > SWIG and python2.6. Do you want to be able to run with python2.6? I'm going to start learning pythonocc with 2.5, but wanted to use the leo editor with ipython and so get into a dependen