From: Steve S. <st...@sp...> - 2013-01-21 15:35:44
|
Also... for what it's worth, I've build and posted .egg files (which are easy_install'able) for Polygon, TTFQuery and FontTools here: https://dl.dropbox.com/u/20562746/fonttools-2.3-py2.7-linux-x86_64.egg https://dl.dropbox.com/u/20562746/Polygon-2.0.5-py2.7-linux-x86_64.egg https://dl.dropbox.com/u/20562746/TTFQuery-1.0.5-py2.7.egg These are built on/for Ubuntu 12.04 x86_64. They may also work on your 12.10 system. The good news about these is that they can be uninstalled using the "pip" utility. Enjoy! Let me know how it goes... -steve On Jan 21, 2013, at 8:01 AM, Steve Spicklemire wrote: > Hi Sebastian, > > First.. everything below assumes you're working with Python-2.7. > > We have also experienced trouble on Ubuntu 12.10. If you don't want to build the experimental vpython-wx from source I've built a linux .egg file and posted it here: https://dl.dropbox.com/u/20562746/VPython-6.01-py2.7-linux-x86_64.egg > > You can install it using the setuptools "easy_install" command line program: > > sudo easy_install https://dl.dropbox.com/u/20562746/VPython-6.01-py2.7-linux-x86_64.egg > > The good news is that this will get you the latest experimental version of visual python, (which I've tested with your program on Ubuntu 12.04 anyway, and it appears not to crash) without having to build from source. > > The bad news is that it depends on having wxPython 2.9.4 installed, and that probably requires building from source (see INSTALL.txt here for instructions <https://github.com/BruceSherwood/vpython-wx/blob/master/INSTALL.txt skip the part about building vpython, and go straight to the wxPython part.) > > In case that's not possible, I've also posted a tarball of my wxPython libraries but there's no guarantee they will work on your system: > > https://dl.dropbox.com/u/20562746/wxPython-2.9.4-linux_ull.tgz > > You can install them manually if you like: > > sudo tar -C / -xzvf wxPython-2.9.4-linux_ull.tgz > > Of course you'll still need Polygon, TTFQuery and FontTools installed for text, etc. I'm guessing you have those around from the older vpython? > > Realize that this all circumvents your package manager and may have to be undone manually if you decide you want to "go back". > > If you decide to try this.. please let us know how it comes out! Sorry it's not simpler... we're working on that! > > thanks, > -steve > > On Jan 21, 2013, at 1:35 AM, Sebastian Schleitzer wrote: > >> The building process of vpython was successfull. Also my project was running without problems. The only problem was the control window and the box in the second scene. >> If i comment the box-create line and uncomment the controls it works. >> If i uncomment the the box and comment the controls line it also works. >> Both lines uncomment - seg fault. >> (The code is only an excerpt of my project) >> >> Thank you for your patience and sorry for my bad english >> Sebastian >> >> (vom Handy gesendet) >> >> Am 21.01.2013 05:00 schrieb "Steve Spicklemire" <st...@sp...>: >> 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. >> >> thanks, >> -steve >> >> On Jan 20, 2013, at 5:07 PM, Bruce Sherwood <Bru...@nc...> wrote: >> >>> 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 >>> >>> > |