Hi Jelle,

yes I already follow step by step the procedure in:

http://www.pythonocc.org/resources/build_install/installrun-pythonocc-on-ubuntu-10-04-lucid-lts-in-5-steps-and-10-minutes/

Previously I installed pyqt4 (python-qt4 (4.7.2.0ubuntu1).

I found in internet that a segmentation fault occurs when a program attempts
to access a memory location that it is not allowed to access, or attempts to
access a memory location in a way that is not allowed (for example,
attempting to write to a read-only location, or to overwrite part of the
operating system).

Any idea in my particular problem.

thanks a lot !

Marcos

On 13 May 2010 13:56, <pythonocc-users-requ...@gna.org> wrote:

> Send Pythonocc-users mailing list submissions to
>        pythonocc-users@gna.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://mail.gna.org/listinfo/pythonocc-users
> or, via email, send a message with subject or body 'help' to
>        pythonocc-users-requ...@gna.org
>
> You can reach the person managing the list at
>        pythonocc-users-ow...@gna.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pythonocc-users digest..."
>
>
> Today's Topics:
>
>   1. PythonOCC installation in Ubuntu-10.04 Test error 2
>      (Marcos Elgueta Soulat)
>   2. Re: PythonOCC installation in Ubuntu-10.04 Test   error 2
>      (Jelle Feringa)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 13 May 2010 13:47:45 -0400
> From: Marcos Elgueta Soulat <m.a.elguetasou...@gmail.com>
> Subject: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04 Test
>        error   2
> To: pythonocc-users@gna.org
> Message-ID:
>        <aanlktik4rmkufvbfhyibsmjdukybx2x7jkh3yko_d...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Thomas and Jelle,
>
> I executed again (Step 3) in the terminal:
>
> export CSF_GraphicShr=/usr/lib/libTKOpenGl-6.3.0.so
>
> With lower case "l", I deleted the file .bash_profile this do not make any
> difference.
>
> And I get the following message:
>
> $ python HelloWorld.py
> Display3d class initialization starting ...
> Graphic device created.
> Xw_Window created.
> Viewer created.
> Segmentation fault
>
> My HelloWorld.py file is the same than in Step 5:
>
> from OCC.Display.SimpleGui import *
> from OCC.BRepPrimAPI import *
> display, start_display, add_menu, add_function_to_menu = init_display()
> my_box = BRepPrimAPI_MakeBox(10.,20.,30.).Shape()
> display.DisplayShape(my_box)
> start_display()
>
> Thanks!
>
> Marcos
>
> On 13 May 2010 06:00, <pythonocc-users-requ...@gna.org> wrote:
>
> > Send Pythonocc-users mailing list submissions to
> >        pythonocc-users@gna.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        https://mail.gna.org/listinfo/pythonocc-users
> > or, via email, send a message with subject or body 'help' to
> >        pythonocc-users-requ...@gna.org
> >
> > You can reach the person managing the list at
> >        pythonocc-users-ow...@gna.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Pythonocc-users digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: PythonOCC installation in Ubuntu-10.04 Test   error
> >      (Thomas Paviot)
> >   2. Re: PythonOCC installation in Ubuntu-10.04 Test   error
> >      (Jelle Feringa)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 13 May 2010 10:01:37 +0200
> > From: Thomas Paviot <tpav...@gmail.com>
> > Subject: Re: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04
> >        Test    error
> > To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > Message-ID:
> >        <aanlktikeunvrnuflu8dmqjlbc14en2pjniij_q317...@mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Marcos,
> >
> > Take care to the case : libTKOpenGl (The last 'l' is lower case).
> >
> > It has been discussed here :
> >
> >
> http://www.pythonocc.org/resources/build_install/installrun-pythonocc-on-ubuntu-10-04-lucid-lts-in-5-steps-and-10-minutes/
> >
> > Regards,
> >
> > Thomas
> >
> > 2010/5/13 Marcos Elgueta Soulat <m.a.elguetasou...@gmail.com>
> >
> > > Hi jelle,
> > >
> > > I create the file .bash_profile file in my ~ home directory adding the
> > > line:
> > >
> > > export CSF_GraphicShr=/usr/lib/libTKOpenGL-6.3.0.so<
> > http://libtkopengl-6.3.0.so/>
> > >
> > > after that I run again the HellowWorld.py expample, but I get the same
> > > error.
> > >
> > > some idea ?
> > >
> > > Thanks a lot!
> > >
> > > Marcos
> > >
> > >
> > >
> > > On 13 May 2010 03:17, <pythonocc-users-requ...@gna.org> wrote:
> > >
> > >> Send Pythonocc-users mailing list submissions to
> > >>        pythonocc-users@gna.org
> > >>
> > >> To subscribe or unsubscribe via the World Wide Web, visit
> > >>        https://mail.gna.org/listinfo/pythonocc-users
> > >> or, via email, send a message with subject or body 'help' to
> > >>        pythonocc-users-requ...@gna.org
> > >>
> > >> You can reach the person managing the list at
> > >>        pythonocc-users-ow...@gna.org
> > >>
> > >> When replying, please edit your Subject line so it is more specific
> > >> than "Re: Contents of Pythonocc-users digest..."
> > >>
> > >>
> > >> Today's Topics:
> > >>
> > >>   1. Re: Pythonocc-users Digest, Vol 18, Issue 5 (Jelle Feringa)
> > >>
> > >>
> > >> ----------------------------------------------------------------------
> > >>
> > >> Message: 1
> > >> Date: Thu, 13 May 2010 09:17:07 +0200
> > >> From: Jelle Feringa <jelleferi...@gmail.com>
> > >> Subject: Re: [Pythonocc-users] Pythonocc-users Digest, Vol 18, Issue 5
> > >> To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > >> Message-ID: <b3e9e2f8-37e3-4279-8a90-531caab9e...@gmail.com>
> > >> Content-Type: text/plain; charset="us-ascii"
> > >>
> > >> -> Please set the CSF_GraphicShr environment variable
> > >>
> > >> That's pretty accurate really ;)
> > >> Have a look here:
> > >>
> >
> http://www.pythonocc.org/resources/build_install/installrun-pythonocc-on-ubuntu-10-04-lucid-lts-in-5-steps-and-10-minutes/
> > >>
> > >> You can set the CSF_GraphicShr as part of your shell enviroment
> easily:
> > >> create a .bash_profile file in your ~ home directory, and just add the
> > >> line
> > >> export CSF_GraphicShr=/usr/lib/libTKOpenGL-6.3.0.so
> > >>
> > >> after verifying that file exists of course...
> > >>
> > >> Step 3 : set the CSF_GraphicShr env variable
> > >>
> > >> The CSF_GraphicShr variable must point to /usr/lib/
> > >> libTKOpenGl-6.3.0.so :
> > >>
> > >>
> > >>
> > >> -jelle
> > >> -------------- next part --------------
> > >> An HTML attachment was scrubbed...
> > >> URL:
> > /public/pythonocc-users/attachments/20100513/a15372bb/attachment.htm
> > >> -------------- next part --------------
> > >> A non-text attachment was scrubbed...
> > >> Name: step5_set_CSF_GraphicShr.png
> > >> Type: image/png
> > >> Size: 197933 bytes
> > >> Desc: not available
> > >> Url :
> > /public/pythonocc-users/attachments/20100513/a15372bb/attachment.png
> > >>
> > >> ------------------------------
> > >>
> > >> _______________________________________________
> > >> Pythonocc-users mailing list
> > >> Pythonocc-users@gna.org
> > >> https://mail.gna.org/listinfo/pythonocc-users
> > >>
> > >>
> > >> End of Pythonocc-users Digest, Vol 18, Issue 16
> > >> ***********************************************
> > >>
> > >
> > >
> > >
> > > --
> > > Marcos A. Elgueta Soulat
> > > Student of Aerospace Engineering,
> > > Department of Mechanics Engineering,
> > > University of Concepci?n, Chile.
> > >
> > > mail: m.a.elguetasou...@gmail.com
> > > mobile(1): +56 9 82208407
> > > mobile(2): +56 9 83036927
> > > skype: marcos.elgueta.soulat
> > >
> > > _______________________________________________
> > > Pythonocc-users mailing list
> > > Pythonocc-users@gna.org
> > > https://mail.gna.org/listinfo/pythonocc-users
> > >
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: /public/pythonocc-users/attachments/20100513/31c41428/attachment.htm
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 13 May 2010 10:17:00 +0200
> > From: Jelle Feringa <jelleferi...@gmail.com>
> > Subject: Re: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04
> >        Test    error
> > To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > Message-ID: <e77cd0bb-e8f9-4a7c-a268-2d44aeb62...@gmail.com>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> > > Take care to the case : libTKOpenGl (The last 'l' is lower case).
> >
> > Ooops... my bad
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Pythonocc-users mailing list
> > Pythonocc-users@gna.org
> > https://mail.gna.org/listinfo/pythonocc-users
> >
> >
> > End of Pythonocc-users Digest, Vol 18, Issue 20
> > ***********************************************
> >
>
>
>
> --
> Marcos A. Elgueta Soulat
> Student of Aerospace Engineering,
> Department of Mechanics Engineering,
> University of Concepci?n, Chile.
>
> mail: m.a.elguetasou...@gmail.com
> mobile(1): +56 9 82208407
> mobile(2): +56 9 83036927
> skype: marcos.elgueta.soulat
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: /public/pythonocc-users/attachments/20100513/61c838a5/attachment.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 13 May 2010 19:56:03 +0200
> From: Jelle Feringa <jelleferi...@gmail.com>
> Subject: Re: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04
>        Test    error 2
> To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> Message-ID: <04c1b6a7-a67e-46a2-b633-9b0faa270...@gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Do you have a gui module (wx, pyqt4) installed?
> Have you read the installation post on the pythonocc.org blog?
>
> -jelle
>
> On May 13, 2010, at 7:47 PM, Marcos Elgueta Soulat wrote:
>
> > Hi Thomas and Jelle,
> >
> > I executed again (Step 3) in the terminal:
> >
> > export CSF_GraphicShr=/usr/lib/libTKOpenGl-6.3.0.so
> >
> > With lower case "l", I deleted the file .bash_profile this do not make
> any difference.
> >
> > And I get the following message:
> >
> > $ python HelloWorld.py
> > Display3d class initialization starting ...
> > Graphic device created.
> > Xw_Window created.
> > Viewer created.
> > Segmentation fault
> >
> > My HelloWorld.py file is the same than in Step 5:
> >
> > from OCC.Display.SimpleGui import *
> > from OCC.BRepPrimAPI import *
> > display, start_display, add_menu, add_function_to_menu = init_display()
> > my_box = BRepPrimAPI_MakeBox(10.,20.,30.).Shape()
> > display.DisplayShape(my_box)
> > start_display()
> >
> > Thanks!
> >
> > Marcos
> >
> > On 13 May 2010 06:00, <pythonocc-users-requ...@gna.org> wrote:
> > Send Pythonocc-users mailing list submissions to
> >        pythonocc-users@gna.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        https://mail.gna.org/listinfo/pythonocc-users
> > or, via email, send a message with subject or body 'help' to
> >        pythonocc-users-requ...@gna.org
> >
> > You can reach the person managing the list at
> >        pythonocc-users-ow...@gna.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Pythonocc-users digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: PythonOCC installation in Ubuntu-10.04 Test   error
> >      (Thomas Paviot)
> >   2. Re: PythonOCC installation in Ubuntu-10.04 Test   error
> >      (Jelle Feringa)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 13 May 2010 10:01:37 +0200
> > From: Thomas Paviot <tpav...@gmail.com>
> > Subject: Re: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04
> >        Test    error
> > To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > Message-ID:
> >        <aanlktikeunvrnuflu8dmqjlbc14en2pjniij_q317...@mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Marcos,
> >
> > Take care to the case : libTKOpenGl (The last 'l' is lower case).
> >
> > It has been discussed here :
> >
> http://www.pythonocc.org/resources/build_install/installrun-pythonocc-on-ubuntu-10-04-lucid-lts-in-5-steps-and-10-minutes/
> >
> > Regards,
> >
> > Thomas
> >
> > 2010/5/13 Marcos Elgueta Soulat <m.a.elguetasou...@gmail.com>
> >
> > > Hi jelle,
> > >
> > > I create the file .bash_profile file in my ~ home directory adding the
> > > line:
> > >
> > > export CSF_GraphicShr=/usr/lib/libTKOpenGL-6.3.0.so<
> http://libtkopengl-6.3.0.so/>
> > >
> > > after that I run again the HellowWorld.py expample, but I get the same
> > > error.
> > >
> > > some idea ?
> > >
> > > Thanks a lot!
> > >
> > > Marcos
> > >
> > >
> > >
> > > On 13 May 2010 03:17, <pythonocc-users-requ...@gna.org> wrote:
> > >
> > >> Send Pythonocc-users mailing list submissions to
> > >>        pythonocc-users@gna.org
> > >>
> > >> To subscribe or unsubscribe via the World Wide Web, visit
> > >>        https://mail.gna.org/listinfo/pythonocc-users
> > >> or, via email, send a message with subject or body 'help' to
> > >>        pythonocc-users-requ...@gna.org
> > >>
> > >> You can reach the person managing the list at
> > >>        pythonocc-users-ow...@gna.org
> > >>
> > >> When replying, please edit your Subject line so it is more specific
> > >> than "Re: Contents of Pythonocc-users digest..."
> > >>
> > >>
> > >> Today's Topics:
> > >>
> > >>   1. Re: Pythonocc-users Digest, Vol 18, Issue 5 (Jelle Feringa)
> > >>
> > >>
> > >> ----------------------------------------------------------------------
> > >>
> > >> Message: 1
> > >> Date: Thu, 13 May 2010 09:17:07 +0200
> > >> From: Jelle Feringa <jelleferi...@gmail.com>
> > >> Subject: Re: [Pythonocc-users] Pythonocc-users Digest, Vol 18, Issue 5
> > >> To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > >> Message-ID: <b3e9e2f8-37e3-4279-8a90-531caab9e...@gmail.com>
> > >> Content-Type: text/plain; charset="us-ascii"
> > >>
> > >> -> Please set the CSF_GraphicShr environment variable
> > >>
> > >> That's pretty accurate really ;)
> > >> Have a look here:
> > >>
> http://www.pythonocc.org/resources/build_install/installrun-pythonocc-on-ubuntu-10-04-lucid-lts-in-5-steps-and-10-minutes/
> > >>
> > >> You can set the CSF_GraphicShr as part of your shell enviroment
> easily:
> > >> create a .bash_profile file in your ~ home directory, and just add the
> > >> line
> > >> export CSF_GraphicShr=/usr/lib/libTKOpenGL-6.3.0.so
> > >>
> > >> after verifying that file exists of course...
> > >>
> > >> Step 3 : set the CSF_GraphicShr env variable
> > >>
> > >> The CSF_GraphicShr variable must point to /usr/lib/
> > >> libTKOpenGl-6.3.0.so :
> > >>
> > >>
> > >>
> > >> -jelle
> > >> -------------- next part --------------
> > >> An HTML attachment was scrubbed...
> > >> URL:
> /public/pythonocc-users/attachments/20100513/a15372bb/attachment.htm
> > >> -------------- next part --------------
> > >> A non-text attachment was scrubbed...
> > >> Name: step5_set_CSF_GraphicShr.png
> > >> Type: image/png
> > >> Size: 197933 bytes
> > >> Desc: not available
> > >> Url :
> /public/pythonocc-users/attachments/20100513/a15372bb/attachment.png
> > >>
> > >> ------------------------------
> > >>
> > >> _______________________________________________
> > >> Pythonocc-users mailing list
> > >> Pythonocc-users@gna.org
> > >> https://mail.gna.org/listinfo/pythonocc-users
> > >>
> > >>
> > >> End of Pythonocc-users Digest, Vol 18, Issue 16
> > >> ***********************************************
> > >>
> > >
> > >
> > >
> > > --
> > > Marcos A. Elgueta Soulat
> > > Student of Aerospace Engineering,
> > > Department of Mechanics Engineering,
> > > University of Concepci?n, Chile.
> > >
> > > mail: m.a.elguetasou...@gmail.com
> > > mobile(1): +56 9 82208407
> > > mobile(2): +56 9 83036927
> > > skype: marcos.elgueta.soulat
> > >
> > > _______________________________________________
> > > Pythonocc-users mailing list
> > > Pythonocc-users@gna.org
> > > https://mail.gna.org/listinfo/pythonocc-users
> > >
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: /public/pythonocc-users/attachments/20100513/31c41428/attachment.htm
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 13 May 2010 10:17:00 +0200
> > From: Jelle Feringa <jelleferi...@gmail.com>
> > Subject: Re: [Pythonocc-users] PythonOCC installation in Ubuntu-10.04
> >        Test    error
> > To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> > Message-ID: <e77cd0bb-e8f9-4a7c-a268-2d44aeb62...@gmail.com>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> > > Take care to the case : libTKOpenGl (The last 'l' is lower case).
> >
> > Ooops... my bad
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Pythonocc-users mailing list
> > Pythonocc-users@gna.org
> > https://mail.gna.org/listinfo/pythonocc-users
> >
> >
> > End of Pythonocc-users Digest, Vol 18, Issue 20
> > ***********************************************
> >
> >
> >
> > --
> > Marcos A. Elgueta Soulat
> > Student of Aerospace Engineering,
> > Department of Mechanics Engineering,
> > University of Concepci?n, Chile.
> >
> > mail: m.a.elguetasou...@gmail.com
> > mobile(1): +56 9 82208407
> > mobile(2): +56 9 83036927
> > skype: marcos.elgueta.soulat
> > _______________________________________________
> > Pythonocc-users mailing list
> > Pythonocc-users@gna.org
> > https://mail.gna.org/listinfo/pythonocc-users
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: /public/pythonocc-users/attachments/20100513/2a63f661/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>
> End of Pythonocc-users Digest, Vol 18, Issue 21
> ***********************************************
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to