Hey all,

I have some tricks that I've been using. I've got most everything
nearly working. I have notes available:

http://heybryan.org/books/Manufacturing/pythonocc/scons_notes.txt
http://heybryan.org/books/Manufacturing/pythonocc/python-setup.py-install.notes.txt

List of all *_headers.i files that I have:
http://heybryan.org/books/Manufacturing/pythonocc/actuals.txt

List of files that include the *_header.i files:
http://heybryan.org/books/Manufacturing/pythonocc/headers.txt

Taking a hint from the line count, there's a discrepancy. Note however
that the discrepancy is less than it actually is from the svn checkout
because I previously fixed the include calls from AlienImage.i and
Image.i and a few others-- in fact, nevermind, since grep included
those as well, they are the lines with the '##' in them (representing
that I commented them out).

Now I'm up to the point where I have almost everything running. Except
up to this point:

--------------------------------------------------
pythonocc/pythonOCC/Tools/InteractiveViewer# python InteractiveViewer.py
Traceback (most recent call last):
  File "InteractiveViewer.py", line 56, in <module>
    from wxDisplay import GraphicsCanva3D
  File 
"/home/bryan/manufacturing/pythonocc/pythonOCC/Tools/InteractiveViewer/wxDisplay.py",
line 40, in <module>
    from OCC.Display.OCCViewer import Viewer3d
  File "/usr/lib/python2.5/site-packages/OCC/Display/__init__.py",
line 1, in <module>
    from wxDisplay import wxViewer3d
  File "/usr/lib/python2.5/site-packages/OCC/Display/wxDisplay.py",
line 39, in <module>
    import OCCViewer
  File "/usr/lib/python2.5/site-packages/OCC/Display/OCCViewer.py",
line 41, in <module>
    import OCC.NIS
ImportError: No module named NIS
*** glibc detected *** python: double free or corruption (!prev): 0x08f3ec60 ***
^C
--------------------------------------------------

It seems I'm missing the OCC.NIS module. When I comment it out in the
OCCViewer.py file, InteractiveViewer.py successfully runs-- but the
wxWidget interface is not responsive and there are on menu options
selectable, and there is no main-window OCC viewer widget thingy,
which I'm fairly certain is provided by NIS.

Thomas, where might I have gone wrong- did I not compile OCC.NIS
somehow? Any thoughts? I was able to get through scrons --cache-force,
and then python setup.py install, which consequently wanted to run g++
and swig on everythng again (ugh), so I'm not sure how I could have
missed something.

Thank you. :-)

- Bryan
http://heybryan.org/
1 512 203 0507

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to