From: Bruce S. <Bru...@nc...> - 2013-01-21 00:07:13
|
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. Bruce Sherwood On Sun, Jan 20, 2013 at 2:00 PM, Sebastian Schleitzer < sch...@go...> wrote: > Hello, > 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. > > 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. > > Thank you for your help, > Best Regards, Sebastian Schleitzer > > segfault: > 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] > Ubuntu 12.10 > > ### Code: > from visual import * > from visual.text import * > from visual.controls import * > cmd_feld = controls(title='Controlling the Scene',x=700, y=600, width=400, > height=400, range=50) > but_net = button( pos=(0,0), width=60, height=60,text='N', action=lambda: > pause() ) > > scene = display(title='Scene Test',x=0, y=0, width=700, > height=600,center=(10,0,0)) > sphere() > > color_scene = display(title='Controls',x=700, y=0, width=200, height=600) > color_scene.select() > box(pos=(-1,-20,0), length=24, height=5, width=5, color=color.white) > > > > ------------------------------------------------------------------------------ > 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 > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |