From: Sebastian S. <sch...@go...> - 2013-01-20 21:00:23
|
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) |
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 > > |
From: Steve S. <st...@sp...> - 2013-01-21 04:00:15
|
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 > |
From: Sebastian S. <sch...@go...> - 2013-01-21 08:35:36
|
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 >> >> > |
From: Steve S. <st...@sp...> - 2013-01-21 15:02:13
|
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 >> >> |
From: John Z. <joh...@wa...> - 2013-01-21 15:50:12
|
Hi All, I love all the work going on in the Wx version of VPython. I can't wait until I have some time to try it out. Just for the record, I want to point out that Sebastian's test program runs fine (no seg fault) on my 64 bit Ubuntu 12.04 that just uses the standard Ubuntu python-visual package (with the libgl-mea fix reported on the VPython download page). I am wondering if the downgrade of the libgl might also fix the problem on 12.10, but I have not yet had a chance to try it, as all my machines are on 12.04 at the moment. --John ps. Thanks Bruce and Steve for the rapid progress on the new VPython. This should be a real boon for the VPython community. John Zelle, PhD Professor of Computer Science Wartburg College ________________________________________ From: Steve Spicklemire [st...@sp...] Sent: Monday, January 21, 2013 9:01 AM To: Sebastian Schleitzer Cc: Bru...@nc...; vis...@li... Subject: Re: [Visualpython-users] Seg Fault if using control-field and a box in a scene 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 >> >> ------------------------------------------------------------------------------ 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 _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
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 >>> >>> > |
From: Guy K. K. <guy...@au...> - 2013-01-21 22:58:22
Attachments:
signature.asc
|
On 22/01/13 04:35, Steve Spicklemire wrote: > I've build and posted .egg files [...] [...] > 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. If you've created the setup.py with all its magic already, wouldn't it be worth putting that up onto PyPI [http://pypi.python.org]? This way anybody could just install it using pip without the need to download, etc. You can also have custom build/compile steps in the setup.py, so that the C/C++ parts can be compiled on the target machine upon install via pip. The PyMongo project for example has this solved really nicely, where the pip install works smoothly, and even defaults back to a pure Python driver in case build tools (GCC, etc.) are not available. Obviously that fallback won't be an option here, but the pip install magic via PyPI would step VisualPython up another notch. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Steve S. <st...@sp...> - 2013-01-22 00:31:18
|
Hi Guy, That is the ultimate idea when things settle down... I was thinking that we needed to get some more input from testers before putting anything on pypi, but I've never actually released anything there, so I'm not certain of the exact protocol. Is it not expected that most of the packages there are stable releases? The other issue is our dependency on wxPython 2.9.4. Even the wxPython folks don't have binary releases yet, and the package managers (that I've seen) are still on 2.8.x. If I'm wrong, I think it's a great idea! thanks, -steve On Jan 21, 2013, at 3:57 PM, Guy K. Kloss wrote: > On 22/01/13 04:35, Steve Spicklemire wrote: >> I've build and posted .egg files [...] > > [...] > >> 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. > > If you've created the setup.py with all its magic already, wouldn't it > be worth putting that up onto PyPI [http://pypi.python.org]? This way > anybody could just install it using pip without the need to download, > etc. You can also have custom build/compile steps in the setup.py, so > that the C/C++ parts can be compiled on the target machine upon install > via pip. The PyMongo project for example has this solved really nicely, > where the pip install works smoothly, and even defaults back to a pure > Python driver in case build tools (GCC, etc.) are not available. > Obviously that fallback won't be an option here, but the pip install > magic via PyPI would step VisualPython up another notch. > > Guy > > > > > -- > Guy K. Kloss > School of Computing + Mathematical Sciences > Auckland University of Technology > Private Bag 92006, Auckland 1142 > phone: +64 9 921 9999 ext. 5032 > eMail: Guy...@au... > > ------------------------------------------------------------------------------ > 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_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Guy K. K. <guy...@au...> - 2013-01-22 03:20:25
Attachments:
signature.asc
|
Hi Steve, On 22/01/13 13:31, Steve Spicklemire wrote: > That is the ultimate idea when things settle down... I was > thinking that we needed to get some more input from testers before > putting anything on pypi, but I've never actually released anything > there, so I'm not certain of the exact protocol. Is it not > expected that most of the packages there are stable releases? Not necessarily. You're adding "Categories" to each entry, which consist of key-value pairs. One of these categories is "Development Status", which you can just declare to be "Alpha" or "Beta". Here's a link of one of my projects that's in alpha to show what I mean: http://pypi.python.org/pypi/matanui > The > other issue is our dependency on wxPython 2.9.4. Even the wxPython > folks don't have binary releases yet, and the package managers > (that I've seen) are still on 2.8.x. That is certainly a problem for a fully automated process. However, I think a bit of documentation on the PyPI entry goes a long way in explaining that. However, you can put a dependency into the meta-data of setup.py, which declares that as well. I can see that there's also a 2.9.x wxPython in PyPI, so it can also be pip installed *automatically* when installing wxVisual through pip. http://pypi.python.org/pypi/wxPython/2.9.1.1 Maybe that requires first installing the native 2.9.x wx widgets, but as I said, a bit of documentation ... > If I'm wrong, I think it's a great idea! Go for it. I'd be keen to see it this way. It would open up a whole different population of users. Additionally, the setup.py provided meta-data can also be very useful for package maintainers of distribution packages. Talking about distro packages: with stdeb, one can also retrieve PyPI packages, have them automatically rolled into a .deb package and installed, keeping the package management nice and clean ... Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Steve S. <st...@sp...> - 2013-01-22 21:50:35
|
Ok! I'll give it a try. thanks, -steve On Jan 21, 2013, at 8:19 PM, "Guy K. Kloss" <guy...@au...> wrote: > Hi Steve, > > On 22/01/13 13:31, Steve Spicklemire wrote: >> That is the ultimate idea when things settle down... I was >> thinking that we needed to get some more input from testers before >> putting anything on pypi, but I've never actually released anything >> there, so I'm not certain of the exact protocol. Is it not >> expected that most of the packages there are stable releases? > > Not necessarily. You're adding "Categories" to each entry, which consist > of key-value pairs. One of these categories is "Development Status", > which you can just declare to be "Alpha" or "Beta". Here's a link of one > of my projects that's in alpha to show what I mean: > > http://pypi.python.org/pypi/matanui > >> The >> other issue is our dependency on wxPython 2.9.4. Even the wxPython >> folks don't have binary releases yet, and the package managers >> (that I've seen) are still on 2.8.x. > > That is certainly a problem for a fully automated process. However, I > think a bit of documentation on the PyPI entry goes a long way in > explaining that. However, you can put a dependency into the meta-data of > setup.py, which declares that as well. I can see that there's also a > 2.9.x wxPython in PyPI, so it can also be pip installed *automatically* > when installing wxVisual through pip. > > http://pypi.python.org/pypi/wxPython/2.9.1.1 > > Maybe that requires first installing the native 2.9.x wx widgets, but as > I said, a bit of documentation ... > >> If I'm wrong, I think it's a great idea! > > Go for it. I'd be keen to see it this way. It would open up a whole > different population of users. Additionally, the setup.py provided > meta-data can also be very useful for package maintainers of > distribution packages. Talking about distro packages: with stdeb, one > can also retrieve PyPI packages, have them automatically rolled into a > .deb package and installed, keeping the package management nice and > clean ... > > Guy > > -- > Guy K. Kloss > School of Computing + Mathematical Sciences > Auckland University of Technology > Private Bag 92006, Auckland 1142 > phone: +64 9 921 9999 ext. 5032 > eMail: Guy...@au... > |
From: Sebastian S. <sch...@go...> - 2013-01-22 21:40:09
|
Thank you very much for providing me the binaries. Unfortunaly, it was not compatible (I remember a libboost-x.<49 not found, tried to make symlinks, no luck, it doesn't start) So I compiled wxPython and VPython6 from source. Now my project has some view problems and the mouse-object-picking. The 3d modell is a kind of sphere, only composed of cylinders, vectors: (0,0,0)-->surface of sphere I think I have to switch back to vpython 5 Best regards Sebastian On 21.01.2013 16:35, Steve Spicklemire wrote: > 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: > > |
From: Steve S. <st...@sp...> - 2013-01-22 21:45:05
|
I'd like to try to track down those problems with 6. Can you send me an example that exhibits the trouble? Sorry for the difficulty! I recognize that it's frustrating. thanks, -steve On Jan 22, 2013, at 2:39 PM, Sebastian Schleitzer <sch...@go...> wrote: > Thank you very much for providing me the binaries. > > Unfortunaly, it was not compatible (I remember a libboost-x.<49 not found, tried to make symlinks, no luck, it doesn't start) > > So I compiled wxPython and VPython6 from source. > > Now my project has some view problems and the mouse-object-picking. The 3d modell is a kind of sphere, only composed of cylinders, vectors: (0,0,0)-->surface of sphere > > I think I have to switch back to vpython 5 > > Best regards > Sebastian > > On 21.01.2013 16:35, Steve Spicklemire wrote: >> 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: >> >> |
From: Bruce S. <Bru...@nc...> - 2013-01-22 21:48:07
|
>From what you describe, it is almost certainly the case that you need to update your graphics drivers, though this should affect VPython 5 as much as 6. What kind of graphics card do you have? Bruce Sherwood On Tue, Jan 22, 2013 at 2:39 PM, Sebastian Schleitzer < sch...@go...> wrote: > Thank you very much for providing me the binaries. > > Unfortunaly, it was not compatible (I remember a libboost-x.<49 not found, > tried to make symlinks, no luck, it doesn't start) > > So I compiled wxPython and VPython6 from source. > > Now my project has some view problems and the mouse-object-picking. The 3d > modell is a kind of sphere, only composed of cylinders, vectors: > (0,0,0)-->surface of sphere > > I think I have to switch back to vpython 5 > > Best regards > Sebastian > > > On 21.01.2013 16:35, Steve Spicklemire wrote: > >> 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/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/Polygon-2.0.5-py2.7-linux-x86_64.egg> >> >> https://dl.dropbox.com/u/**20562746/TTFQuery-1.0.5-py2.7.**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: >> >> >> > |
From: Sebastian S. <sch...@go...> - 2013-01-22 23:28:52
|
This is my grafic gard: 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c) [ 5.357] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 5.357] (II) Module intel: vendor="X.Org Foundation" [ 5.357] compiled for 1.13.0, module version = 2.20.9 [ 5.357] Module class: X.Org Video Driver [ 5.357] ABI class: X.Org Video Driver, version 13.0 I will try the code tomorrow on another PC with ati-open-source-drivers Thanks, Sebastian On 22.01.2013 22:47, Bruce Sherwood wrote: > From what you describe, it is almost certainly the case that you need > to update your graphics drivers, though this should affect VPython 5 > as much as 6. What kind of graphics card do you have? > > Bruce Sherwood > > > On Tue, Jan 22, 2013 at 2:39 PM, Sebastian Schleitzer > <sch...@go... <mailto:sch...@go...>> wrote: > > Thank you very much for providing me the binaries. > > Unfortunaly, it was not compatible (I remember a libboost-x.<49 > not found, tried to make symlinks, no luck, it doesn't start) > > So I compiled wxPython and VPython6 from source. > > Now my project has some view problems and the > mouse-object-picking. The 3d modell is a kind of sphere, only > composed of cylinders, vectors: (0,0,0)-->surface of sphere > > I think I have to switch back to vpython 5 > > Best regards > Sebastian > > > On 21.01.2013 16:35, Steve Spicklemire wrote: > > 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: > > > > |