2013/3/20 Guillaume Florent <florentsail...@gmail.com>

>  Hi,
>

Hi Guillaume,


>
> Has anybody ran into this problem for the PAF examples on Ubuntu:
>
> Traceback (most recent call last):
>   File "test_box_booleans_fillets.py", line 1, in <module>
>     from OCC.PAF.Context import ParametricModelingContext
>   File "/usr/local/lib/python2.7/dist-packages/OCC/PAF/Context.py", line
> 18, in <module>
>     from OCC.GEOMImpl import GEOMImpl_Gen
>   File "/usr/local/lib/python2.7/dist-packages/OCC/GEOMImpl.py", line 30,
> in <module>
>     _GEOMImpl = swig_import_helper()
>   File "/usr/local/lib/python2.7/dist-packages/OCC/GEOMImpl.py", line 26,
> in swig_import_helper
>     _mod = imp.load_module('_GEOMImpl', fp, pathname, description)
> ImportError: /usr/local/lib/libGEOM.so.1: *undefined symbol:
> _ZN13VolumeSectionC1E12TopoDS_Shaped*
>
>
> calling c++filt on the problematic symbol:
> >>c++filt _ZN13VolumeSectionC1E12TopoDS_Shaped
> VolumeSection::VolumeSection(TopoDS_Shape, double)
>
> I can usually solve the problems in the examples but this one remains a
> mystery ....
>

This is a problem related with c++ linking. Do you run the latest pythonocc
master/oce-0.12? Did you recompile GEOM and SMESH to link against oce-0.12?
I used to test pythonocc code on ubuntu 12.04 but unfortunately I can't
anymore.


>
> Which leads me to the next question:
> There are some minor bugs in the examples and I am more than willing to
> help the PythonPCC community clean that. What is the official procedure for
> the corrections to find their way to the main repository? Everything goes
> through Thomas and Jelle? Or do we ask for a write access to the repository?
>

Just request for a write access on the github repository. You can share
patches through your own dev branches, have look at our git workflow (
https://github.com/tpaviot/pythonocc/wiki/Git-workflow).


> Best regards to all the PythonOCC addicts ;-),
>
> Guillaume
>
>
Best Regards,

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

Reply via email to