Re: Seg Fault if using control-field and a box in a scene
Steve Spicklemire <steve-/3wgw/[email protected]> Sun, 20 Jan 2013 20:59:58 -0700
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
--===============3802829429731580667== Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary=Apple-Mail-5006356D-A3C6-4D5B-B993-C9727B02C335 --Apple-Mail-5006356D-A3C6-4D5B-B993-C9727B02C335 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I'll try to modify the setuptools script to work on visual 5.7x and post if I= can get it to work. That may permit you to build a fresh version in your en= vironment. thanks, -steve On Jan 20, 2013, at 5:07 PM, Bruce Sherwood <[email protected]> wrote:= > I too find that recent versions of Ubuntu offer non-working versions of th= e package python-visual, and I don't know why building a new version also fa= ils. Steve Spicklemire has been doing excellent work in making an easy to us= e Linux installer for the new wxPython-based VPython, which is quickly getti= ng quite mature. Perhaps Steve can post something about the status of his in= staller. >=20 > Bruce Sherwood >=20 >=20 > On Sun, Jan 20, 2013 at 2:00 PM, Sebastian Schleitzer <schleitzer@googlema= il.com> wrote: >> Hello,=20 >> I'm new in Vpython. I have designed a 3D modell in vpython to interact wi= th them. The mathematics, displaying the 3D modell - all fine.=20 >>=20 >> After this I wanted to make a controls-field with buttons and I always ge= t a segfault. After some hours I have compiled the newest vpython version 5.= 74 (+modules) and still the same problem.=20 >>=20 >> Thank you for your help,=20 >> Best Regards, Sebastian Schleitzer=20 >>=20 >> segfault:=20 >> Jan 20 21:35:11 seb-t61 kernel: [436645.683645] python[7636]: segfault at= 8 ip 00007fd656ef0afa sp 00007fd65d8a2d50 error 4 in libdricore9.0.0.so.1.0= .0[7fd656d93000+373000]=20 >> Ubuntu 12.10=20 >>=20 >> ### Code:=20 >> from visual import *=20 >> from visual.text import *=20 >> from visual.controls import *=20 >> cmd_feld =3D controls(title=3D'Controlling the Scene',x=3D700, y=3D600, w= idth=3D400, height=3D400, range=3D50)=20 >> but_net =3D button( pos=3D(0,0), width=3D60, height=3D60,text=3D'N', acti= on=3Dlambda: pause() )=20 >>=20 >> scene =3D display(title=3D'Scene Test',x=3D0, y=3D0, width=3D700, height=3D= 600,center=3D(10,0,0))=20 >> sphere()=20 >>=20 >> color_scene =3D display(title=3D'Controls',x=3D700, y=3D0, width=3D200, h= eight=3D600)=20 >> color_scene.select()=20 >> box(pos=3D(-1,-20,0), length=3D24, height=3D5, width=3D5, color=3Dcolor.w= hite)=20 >>=20 >>=20 >> -------------------------------------------------------------------------= ----- >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_123012 >> _______________________________________________ >> Visualpython-users mailing list >> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >=20 --Apple-Mail-5006356D-A3C6-4D5B-B993-C9727B02C335 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'll try to modify the setuptools script to work on visual 5.7x and post if I can get it to work. That may permit you to build a fresh version in your environment.</div><div><br>thanks,<br><div>-steve</div></div><div><br>On Jan 20, 2013, at 5:07 PM, Bruce Sherwood <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I too find that recent versions of Ubuntu offer non-working versions of the package python-visual, and I don't know why building a new version also fails. Steve Spicklemire has been doing excellent work in making an easy to use Linux installer for the new wxPython-based VPython, which is quickly getting quite mature. Perhaps Steve can post something about the status of his installer.<div> <br></div><div style="">Bruce Sherwood</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 20, 2013 at 2:00 PM, Sebastian Schleitzer <span dir="ltr"><<a href="mailto:schleitzer-gM/[email protected]" target="_blank">schleitzer-gM/[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div style="font-family:-moz-fixed;font-size:12px" lang="x-western">Hello, <br>I'm new in Vpython. I have designed a 3D modell in vpython to interact with them. The mathematics, displaying the 3D modell - all fine. <br> <br>After this I wanted to make a controls-field with buttons and I always get a segfault. After some hours I have compiled the newest vpython version 5.74 (+modules) and still the same problem. <br> <br>Thank you for your help, <br>Best Regards, Sebastian Schleitzer <br> <br>segfault: <br>Jan 20 21:35:11 seb-t61 kernel: [436645.683645] python[7636]: segfault at 8 ip 00007fd656ef0afa sp 00007fd65d8a2d50 error 4 in libdricore9.0.0.so.1.0.0[7fd656d93000+373000] <br>Ubuntu 12.10 <br> <br>### Code: <br>from visual import * <br>from visual.text import * <br>from visual.controls import * <br>cmd_feld = controls(title='Controlling the Scene',x=700, y=600, width=400, height=400, range=50) <br>but_net = button( pos=(0,0), width=60, height=60,text='N', action=lambda: pause() ) <br> <br>scene = display(title='Scene Test',x=0, y=0, width=700, height=600,center=(10,0,0)) <br>sphere() <br> <br>color_scene = display(title='Controls',x=700, y=0, width=200, height=600) <br>color_scene.select() <br>box(pos=(-1,-20,0), length=24, height=5, width=5, color=color.white) <br> <br></div> <br>------------------------------------------------------------------------------<br> Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br> MVPs and experts. ON SALE this month only -- learn more at:<br> <a href="http://p.sf.net/sfu/learnmore_123012" target="_blank">http://p.sf.net/sfu/learnmore_123012</a><br>_______________________________________________<br> Visualpython-users mailing list<br> <a href="mailto:Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/visualpython-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a><br> <br></blockquote></div><br></div> </div></blockquote></body></html> --Apple-Mail-5006356D-A3C6-4D5B-B993-C9727B02C335-- --===============3802829429731580667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 --===============3802829429731580667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users --===============3802829429731580667==--