You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(15) |
Oct
(32) |
Nov
(35) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(46) |
Feb
(22) |
Mar
(65) |
Apr
(49) |
May
(22) |
Jun
(29) |
Jul
(51) |
Aug
(34) |
Sep
(32) |
Oct
(46) |
Nov
(30) |
Dec
(32) |
2002 |
Jan
(48) |
Feb
(4) |
Mar
(20) |
Apr
(28) |
May
(13) |
Jun
(34) |
Jul
(51) |
Aug
(15) |
Sep
(15) |
Oct
(35) |
Nov
(15) |
Dec
(20) |
2003 |
Jan
(31) |
Feb
(111) |
Mar
(41) |
Apr
(28) |
May
(36) |
Jun
(29) |
Jul
(27) |
Aug
(29) |
Sep
(47) |
Oct
(28) |
Nov
(7) |
Dec
(26) |
2004 |
Jan
(44) |
Feb
(9) |
Mar
(17) |
Apr
(26) |
May
(58) |
Jun
(13) |
Jul
(44) |
Aug
(64) |
Sep
(30) |
Oct
(11) |
Nov
(21) |
Dec
(28) |
2005 |
Jan
(29) |
Feb
(11) |
Mar
(11) |
Apr
(22) |
May
(85) |
Jun
(46) |
Jul
(17) |
Aug
(18) |
Sep
(14) |
Oct
(22) |
Nov
(1) |
Dec
(45) |
2006 |
Jan
(20) |
Feb
(36) |
Mar
(18) |
Apr
(24) |
May
(21) |
Jun
(48) |
Jul
(23) |
Aug
(20) |
Sep
(10) |
Oct
(41) |
Nov
(46) |
Dec
(40) |
2007 |
Jan
(40) |
Feb
(20) |
Mar
(13) |
Apr
(6) |
May
(24) |
Jun
(31) |
Jul
(30) |
Aug
(11) |
Sep
(11) |
Oct
(10) |
Nov
(56) |
Dec
(64) |
2008 |
Jan
(64) |
Feb
(22) |
Mar
(63) |
Apr
(28) |
May
(25) |
Jun
(36) |
Jul
(11) |
Aug
(9) |
Sep
(14) |
Oct
(41) |
Nov
(46) |
Dec
(130) |
2009 |
Jan
(95) |
Feb
(41) |
Mar
(24) |
Apr
(35) |
May
(53) |
Jun
(67) |
Jul
(48) |
Aug
(48) |
Sep
(86) |
Oct
(75) |
Nov
(64) |
Dec
(52) |
2010 |
Jan
(57) |
Feb
(31) |
Mar
(28) |
Apr
(40) |
May
(25) |
Jun
(42) |
Jul
(79) |
Aug
(31) |
Sep
(49) |
Oct
(66) |
Nov
(38) |
Dec
(25) |
2011 |
Jan
(29) |
Feb
(18) |
Mar
(44) |
Apr
(6) |
May
(28) |
Jun
(31) |
Jul
(36) |
Aug
(24) |
Sep
(30) |
Oct
(23) |
Nov
(21) |
Dec
(27) |
2012 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(48) |
May
(7) |
Jun
(32) |
Jul
(22) |
Aug
(25) |
Sep
(31) |
Oct
(32) |
Nov
(21) |
Dec
(17) |
2013 |
Jan
(44) |
Feb
(27) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mirko B. <mir...@ie...> - 2010-01-23 03:59:58
|
Hi there, vpython is still not working on my machine, neither with the suggested python 2.6.2 nor with the macports-provided 2.6.4 (I made it import correctly visual by recompiling the boost libraries with a patch from svn). It simply starts the python launcher, but a right-click reveals that it is "not responding", and in fact no graphics/extra window is created. I am pretty sure there's something wrong in my 10.6 install, but it'd be nice to know what without having to wipe out everything and reinstall the OS from scratch. Using the trace module to get an insight, the problem is triggered after the execution of line 69 in primitives.py, self.__display.add_renderable(self) could that be an openGL problem? I have a macbook pro with the latest updates from apple installed thanks for your attention Mirko On Fri, Dec 11, 2009 at 11:36 PM, Bruce Sherwood <Bru...@nc...>wrote: > It sounds like your problem could that you're trying to use the Python that > comes with the Mac. See the Mac download page at vpython.org, and the > important > warnings in red. > > Bruce Sherwood > > Mirko Bordignon wrote: > > Hi, > > > > as soon as I instantiate a box or any other visual element (or, > > similarly, if I try to run an example) no window opens and the python > > interpreter simply hangs; I am using the supplied Python 2.6.2 on a > > machine with Snow Leopard. > > > > Thanks for your attention, > > Mirko > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: K.-Michael A. <mic...@sp...> - 2010-01-22 18:17:18
|
Dear all, as it was written here, that the upgrade to boost-1.41 renders VPython compatible with Python2.6.4, I thought I give the compilation of VPython a first try. 1st question: Do I only need vpython-core2 from the cvs files? I can't find anywhere a hint on that. 2nd question: I managed to compile boost-1.41 successfully with the command line given in MAC-OSX.txt in vpython-core2. I then copied boost_1_41_0/boost to vpython-core2/dependencies/boost_files (a folder i created there following the instruction of MAC-OSX.txt). Next I copied all created libs in boost-1.41/stage/lib into vpython-core2/dependencies/boost_files/mac_libs Is that all I need to have there before starting next step? 3rd question: Having executed 'sudo make setup' in src/mac resulted in access rights failure when executing the next step 'make install' in the ../mbuild directory. So I compiled with 'sudo make install'. Is that okay? 4th question: The compilation went along awhile but then stopped with the following error: /usr/bin/g++ -fPIC -MMD -DNDEBUG -mmacosx-version-min=10.4 -arch i386 -DPIC -O2 -g -finline-functions -I../vpython-core2/include/mac -I../vpython-core2/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I../vpython-core2//dependencies/boost_files -I../vpython-core2//dependencies/threadpool/include -F/System/Library/Frameworks/AGL.framework -F/System/Library/Frameworks/Carbon.framework -F/System/Library/Frameworks/OpenGL.framework -c -o render_manager.o ../vpython-core2//src/core/util/render_manager.cpp In file included from ../vpython-core2//dependencies/boost_files/boost/exception_ptr.hpp:15, from ../vpython-core2//dependencies/boost_files/boost/thread/future.hpp:12, from ../vpython-core2//dependencies/boost_files/boost/thread.hpp:24, from ../vpython-core2//dependencies/threadpool/include/threadpool/detail/worker_thread.hpp:24, from ../vpython-core2//dependencies/threadpool/include/threadpool/detail/pool_core.hpp:29, from ../vpython-core2//dependencies/threadpool/include/threadpool/pool.hpp:27, from ../vpython-core2//dependencies/threadpool/include/threadpool.hpp:21, from ../vpython-core2//src/core/util/render_manager.cpp:4: ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:29: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:30: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:31: error: expected primary-expression before ‘)’ token ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:40: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:41: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:42: error: expected primary-expression before ‘)’ token make: *** [render_manager.o] Error 1 Many thanks for any upcoming tips! Best regards and good weekend! Michael _____________________________ Universität Bern Physikalisches Institut Space and Planetary Sciences K.-Michael Aye, PhD BELA Assistant Project Manager Sidlerweg 5 CH-3012 Bern Tel. +41 (0)31 631 44 27 Fax +41 (0)31 631 44 05 mailto:mic...@sp... http://space.unibe.ch/ ICQ: 164960383 Skype: kmichaelaye |
From: Bruce S. <Bru...@nc...> - 2010-01-22 17:39:56
|
There are two options: 1) Make a movie of the animation; see the FAQ section of the documentation section of vpython.org. 2) Put the source code of the program on the web and ask users to install VPython and execute the program. Bruce Sherwood Chandra Prayaga wrote: > Hi, > > Is there a way to put a VPython simulation on the web? > > Chandra Prayaga > |
From: Chandra P. <cpr...@uw...> - 2010-01-22 17:33:16
|
Hi, Is there a way to put a VPython simulation on the web? Chandra Prayaga |
From: Symion <kn...@ip...> - 2010-01-14 04:08:12
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hi there,<br> I have found some weird behavior with the scene.cursor.visible instruction running on Windows Vista.<br> <br> When I turn scene.cursor off, it does not reappear as expected when I move the (invisible) cursor from Scene to Desk top and back. Instead it remains invisible. This effect is easily repeatable.<br> <br> '''<br> Cursor visibility test<br> '''<br> from visual import *<br> <br> scene.autoscale, scene.range, scene.visible = False, 10, True<br> <br> b = 0<br> while 1:<br> a = scene.mouse.pos<br> if scene.mouse.events>0:<br> mk = scene.mouse.getevent()<br> if mk.release == 'left':<br> scene.cursor.visible = (scene.cursor.visible == False)<br> elif a != b:<br> print a,<br> b=a<br> <br> Left Mouse Click to turn cursor On/Off and test it.<br> <br> A work around:<br> Turn cursor Off then push your mouse far enough so that the cursor Should be outside the Scene.<br> Press left mouse key and the cursor reappears when Outside the Scene and becomes Invisible when Inside the Scene. Everything now seems to work as expected.<br> Turning the cursor on and off again will cause the problem to repeat.<br> <br> Symion<br> <br> </body> </html> |
From: Bruce S. <Bru...@nc...> - 2010-01-13 16:45:05
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> My guess is that you don't have the "developer" versions of some of the libraries, possibly including some components of Python itself. In Linus there are typically two different versions of libraries needed by programs. The simple version is adequate for running programs built by someone else, but to build a program yourself you need the "dev" versions to be installed, which includes the include files (.h or .hpp) that are needed in the compilation phase.<br> <br> Bruce Sherwood<br> <br> Xunchi Chen wrote: <blockquote cite="mid:5a2...@ma..." type="cite"> <div class="gmail_quote"> <div>Dear Sir/Madam,</div> <div><br> </div> <div>When configuring visual-5.13_release.tar.bz2 on my UBUNTU 9.10, an error occurred and I don't know what to do. Can you help?</div> <div><br> </div> <div><br> </div> <div>configure: error: A suitable python interpreter was found, but you do not have the header files required for building C/C++ extensions to python, or another problem was encoutered when compiling a program that uses Python.h.</div> <div><br> </div> <div><br> </div> Thank you very much!<br> <font color="#888888"><br> Xunchi Chen<br> </font></div> <br> <pre wrap=""><pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> </pre><pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre></pre> </blockquote> </body> </html> |
From: Herbert W. <we...@su...> - 2010-01-13 08:53:38
|
This posting http://old.nabble.com/Compile-error-when-using-exception_translation.hpp-td25852545.html solves the problem. Regards HW On 01/13/2010 07:59 AM, Herbert Weigel wrote: > To whom it might concern, > > when trying to install python-visual on opensuse11.2, the > compilation exists with an error on cvisualmodule. Attached > please find the resulting log files. > > I'd appreciate your help. Thanks! > > Best regards, > Herbert Weigel > > -- Herbert Weigel Stellenbosch University Physics Department Private Bag X1 Matieland, Stellenbosch 7602 South Africa e-mail: we...@su... Tel: +27 (0)21 808 3378 Fax: +27 (0)21 808 3385 http://star.sun.ac.za/~weigel/ ------------------------------------------------------------- |Two days in the lab easily save you an hour in the library!| ------------------------------------------------------------- |
From: Herbert W. <we...@su...> - 2010-01-13 05:59:19
|
To whom it might concern, when trying to install python-visual on opensuse11.2, the compilation exists with an error on cvisualmodule. Attached please find the resulting log files. I'd appreciate your help. Thanks! Best regards, Herbert Weigel -- Herbert Weigel Stellenbosch University Physics Department Private Bag X1 Matieland, Stellenbosch 7602 South Africa e-mail: we...@su... Tel: +27 (0)21 808 3378 Fax: +27 (0)21 808 3385 http://star.sun.ac.za/~weigel/ ------------------------------------------------------------- |Two days in the lab easily save you an hour in the library!| ------------------------------------------------------------- |
From: Martin C. <cos...@wa...> - 2010-01-12 21:20:05
|
Bruce Sherwood wrote: > This presumably produces a Unix-like version, right? The problem somehow > is with creating a Carbon-based Mac-specific version. But thanks for the > information. Yes, this is the X11 version. It works with Fink's python26, which uses X11, too. I should perhaps add that after Fink's python26 was updated from 2.6.2 to 2.6.4 and boost1.35 compiled against the latter version of python, I first got the same breakage of vpython as anyone else ("AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only"). The latest version of boost1.35.python26 in Fink is now patched so that this error does not appear any more. -- Martin |
From: Bruce S. <Bru...@nc...> - 2010-01-11 12:53:52
|
This presumably produces a Unix-like version, right? The problem somehow is with creating a Carbon-based Mac-specific version. But thanks for the information. Bruce Sherwood Martin Costabel wrote: > Bruce Sherwood wrote: >> As Lenore says, the easy way to get Visual 5 to work on the Mac is to >> follow the instructions on the Mac download page at vpython.org, >> which includes installing Mac Python 2.6.2 before installing Visual. >> Visual will definitely not work with some other Python. >> >> The only way I've ever been able to build Visual 5 from scratch on >> the Mac is by checking out the source files from CVS on >> sourceforge.net and following the instructions in MAC-OSX.txt. I >> built for Mac Python 2.6.2. >> >> Recently I attempted to build for Mac Python 2.6.4 but failed with a >> problem in the latest Boost libraries, which I reported here. Steve >> Spicklemire said he would look into the problem. > > The fink package for visualpython 5.12 (visual-py26-5.12-3) builds OK > on Snow Leopard 64bit. It uses Fink's python-2.6.4 and boost1.35. I > haven't tried using later versions of boost. > |
From: John B. <joh...@gm...> - 2010-01-11 11:28:29
|
I would just add that I got the plot to display by removing these lines from original program as well: graph1 = gdisplay() graph1.display.visible = 0 2010/1/11 John Brennan <joh...@gm...> > Okay I got it to work. That was my python programming error I getting used > to the language. For the record one needs place funct1 = gdots() BEFORE > entering the while loop and don't need to nest the for loop " for time in > arange(0., 30., 1.): " inside the while loop or even in the program at all. > > 2010/1/9 Bruce Sherwood <Bru...@nc...> > >> Thanks, Lenore, for answering John's question. A further simplification is >> that in the plot statement there's no need to specify >> "gdisplay=Xvel.display" because Xvelnodrag was created for and belongs to >> that gdisplay. >> >> >> Xvel = gdisplay(x=0,y=0, width=262, height=100, >> background=color.white, xmin=0, xmax=12, ymin=-vmax, ymax=vmax, title >> = 'V_x(t)') >> Xvelnodrag = gdots(size=3, color=nodragcolor) >> ...... >> Xvelnodrag.plot( gdisplay=Xvel.display, pos=(t,nodrag.velocity.x) ) >> >> John, if you're comfortable with the default gdisplay and gdisplay >> settings the minimal structure for making a graph is something like this: >> >> Xvelnodrag = gdots() # create a gdots object for graphics >> >> ........... >> Xvelnodrag.plot(pos=t,nodrag.velocity.x)) # add a dot to the gdots object >> >> Bruce Sherwood >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > |
From: John B. <joh...@gm...> - 2010-01-11 10:48:53
|
Okay I got it to work. That was my python programming error I getting used to the language. For the record one needs place funct1 = gdots() BEFORE entering the while loop and don't need to nest the for loop " for time in arange(0., 30., 1.): " inside the while loop or even in the program at all. 2010/1/9 Bruce Sherwood <Bru...@nc...> > Thanks, Lenore, for answering John's question. A further simplification is > that in the plot statement there's no need to specify > "gdisplay=Xvel.display" because Xvelnodrag was created for and belongs to > that gdisplay. > > Xvel = gdisplay(x=0,y=0, width=262, height=100, > background=color.white, xmin=0, xmax=12, ymin=-vmax, ymax=vmax, title > = 'V_x(t)') > Xvelnodrag = gdots(size=3, color=nodragcolor) > ...... > Xvelnodrag.plot( gdisplay=Xvel.display, pos=(t,nodrag.velocity.x) ) > > John, if you're comfortable with the default gdisplay and gdisplay settings > the minimal structure for making a graph is something like this: > > Xvelnodrag = gdots() # create a gdots object for graphics > > ........... > Xvelnodrag.plot(pos=t,nodrag.velocity.x)) # add a dot to the gdots object > > Bruce Sherwood > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Martin C. <cos...@wa...> - 2010-01-11 09:47:35
|
Bruce Sherwood wrote: > As Lenore says, the easy way to get Visual 5 to work on the Mac is to > follow the instructions on the Mac download page at vpython.org, which > includes installing Mac Python 2.6.2 before installing Visual. Visual > will definitely not work with some other Python. > > The only way I've ever been able to build Visual 5 from scratch on the > Mac is by checking out the source files from CVS on sourceforge.net and > following the instructions in MAC-OSX.txt. I built for Mac Python 2.6.2. > > Recently I attempted to build for Mac Python 2.6.4 but failed with a > problem in the latest Boost libraries, which I reported here. Steve > Spicklemire said he would look into the problem. The fink package for visualpython 5.12 (visual-py26-5.12-3) builds OK on Snow Leopard 64bit. It uses Fink's python-2.6.4 and boost1.35. I haven't tried using later versions of boost. -- Martin |
From: Steve S. <st...@sp...> - 2010-01-10 23:07:27
|
My "snow leopard" just came in a couple days ago.. but of course now I'm starting a new semester and that has consumed most of my attention. Hopefully I'll get a chance to breathe soon and try a build on 10.6. -steve On Jan 10, 2010, at 5:44 PM, Bruce Sherwood wrote: > As Lenore says, the easy way to get Visual 5 to work on the Mac is to > follow the instructions on the Mac download page at vpython.org, which > includes installing Mac Python 2.6.2 before installing Visual. Visual > will definitely not work with some other Python. > > The only way I've ever been able to build Visual 5 from scratch on the > Mac is by checking out the source files from CVS on sourceforge.net > and > following the instructions in MAC-OSX.txt. I built for Mac Python > 2.6.2. > > Recently I attempted to build for Mac Python 2.6.4 but failed with a > problem in the latest Boost libraries, which I reported here. Steve > Spicklemire said he would look into the problem. > > Bruce Sherwood > > Lenore Horner wrote: >> On Jan 9, 2010, at 21:31 , Nick Frisina wrote: >> >> >>> Does anyone have this combination working "out of the box" so to >>> speak?? >>> Is there tweaking involved? >>> >>> Long Story follows... >>> thanks >>> nickf >>> >>> = >>> ==================================================================== >>> == >>> I have a Mac OSX 10.6.2 Intel Core Duo: >>> 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; >>> root:xnu-1486.2.11~1/RELEASE_I386 i386 >>> >>> I have Python from darwinPorts: >>> 2.6.4 >>> (I also have 2.5 and 2.3, but I have code that I have tested so it >>> points to >>> the latest version by default)) >>> >>> After a successful vpython install from >>> http://vpython.org/contents/download_mac.html >>> >>> When I try to run any Python Visual code, I get the message: >>> site-packages/visual/cvisual.so: mach-o, but wrong architecture >>> >>> This seems to be to be an error of a 32 bit shared object, whereas I >>> believe I want a 64 bit shared object. >>> file shows: >>> /site-packages/visual/cvisual.so: Mach-O bundle i386 >>> whereas I believe I need: >>> Mach-O 64-bit bundle x86_64 >>> >> From the MacPorts side, this looks like you need to build >> +universal?? (I'm not an expert, you might try asking there.) >> >>> I have started looking for the source to cvisual.so....but so far >>> unsuccessful. >>> The closest source I have found is cvisualmodule.cpp >>> in the visual-5.12_release of the source .... but I am not convinced >>> that is correct. >>> >>> I have installed all pre-requisites for VisualPython including >>> "boost", GTK2, GTKMM, etc again from DarwinPorts. >>> >> You should be using MacPorts (http://www.macports.org/ which has an >> active and helpful user list), not DarwinPorts (somewhere there's a >> web page explaining the history, but the upshot is that MacPorts is >> where the work is being done and where the answers are available). >> >> >>> So I am ready.... >>> >>> BUT after a successful configure, I get to the "make" stage...which >>> mostly succeeds TILL I get an error: >>> >>> Compiling ./python/arrayprim.cpp ... >>> make[1]: *** [arrayprim.lo] Error 1 >>> make: *** [all-recursive] Error 1 >>> >>> It is the same error reported in Nov 2009 by: >>> http://www.mail-archive.com/pyt...@py.../msg267326.html >>> >>> (Coincidently this is the 1st directory that includes "boost" if >>> that helps ....) >>> >>> Has anyone solved this problem? >>> >> You're brave. I tried to use my MacPorts python rather than >> installing the recommended MacPython and gave up pretty quickly. >> Vpython pages say there are special bits in MacPython (my words) >> necessary for VPython but I don't think they say what the special >> bits >> are. >> >> Lenore >> >> >> --------------------------------------------------------------------- >> --------- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution >> fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > ---------------------------------------------------------------------- > -------- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2010-01-10 22:46:07
|
As Lenore says, the easy way to get Visual 5 to work on the Mac is to follow the instructions on the Mac download page at vpython.org, which includes installing Mac Python 2.6.2 before installing Visual. Visual will definitely not work with some other Python. The only way I've ever been able to build Visual 5 from scratch on the Mac is by checking out the source files from CVS on sourceforge.net and following the instructions in MAC-OSX.txt. I built for Mac Python 2.6.2. Recently I attempted to build for Mac Python 2.6.4 but failed with a problem in the latest Boost libraries, which I reported here. Steve Spicklemire said he would look into the problem. Bruce Sherwood Lenore Horner wrote: > On Jan 9, 2010, at 21:31 , Nick Frisina wrote: > > >> Does anyone have this combination working "out of the box" so to >> speak?? >> Is there tweaking involved? >> >> Long Story follows... >> thanks >> nickf >> >> = >> ====================================================================== >> I have a Mac OSX 10.6.2 Intel Core Duo: >> 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; >> root:xnu-1486.2.11~1/RELEASE_I386 i386 >> >> I have Python from darwinPorts: >> 2.6.4 >> (I also have 2.5 and 2.3, but I have code that I have tested so it >> points to >> the latest version by default)) >> >> After a successful vpython install from >> http://vpython.org/contents/download_mac.html >> >> When I try to run any Python Visual code, I get the message: >> site-packages/visual/cvisual.so: mach-o, but wrong architecture >> >> This seems to be to be an error of a 32 bit shared object, whereas I >> believe I want a 64 bit shared object. >> file shows: >> /site-packages/visual/cvisual.so: Mach-O bundle i386 >> whereas I believe I need: >> Mach-O 64-bit bundle x86_64 >> > From the MacPorts side, this looks like you need to build > +universal?? (I'm not an expert, you might try asking there.) > >> I have started looking for the source to cvisual.so....but so far >> unsuccessful. >> The closest source I have found is cvisualmodule.cpp >> in the visual-5.12_release of the source .... but I am not convinced >> that is correct. >> >> I have installed all pre-requisites for VisualPython including >> "boost", GTK2, GTKMM, etc again from DarwinPorts. >> > You should be using MacPorts (http://www.macports.org/ which has an > active and helpful user list), not DarwinPorts (somewhere there's a > web page explaining the history, but the upshot is that MacPorts is > where the work is being done and where the answers are available). > > >> So I am ready.... >> >> BUT after a successful configure, I get to the "make" stage...which >> mostly succeeds TILL I get an error: >> >> Compiling ./python/arrayprim.cpp ... >> make[1]: *** [arrayprim.lo] Error 1 >> make: *** [all-recursive] Error 1 >> >> It is the same error reported in Nov 2009 by: >> http://www.mail-archive.com/pyt...@py.../msg267326.html >> >> (Coincidently this is the 1st directory that includes "boost" if >> that helps ....) >> >> Has anyone solved this problem? >> > You're brave. I tried to use my MacPorts python rather than > installing the recommended MacPython and gave up pretty quickly. > Vpython pages say there are special bits in MacPython (my words) > necessary for VPython but I don't think they say what the special bits > are. > > Lenore > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Lenore H. <lh...@si...> - 2010-01-10 04:27:54
|
On Jan 9, 2010, at 21:31 , Nick Frisina wrote: > Does anyone have this combination working "out of the box" so to > speak?? > Is there tweaking involved? > > Long Story follows... > thanks > nickf > > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > ====================================================================== > I have a Mac OSX 10.6.2 Intel Core Duo: > 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; > root:xnu-1486.2.11~1/RELEASE_I386 i386 > > I have Python from darwinPorts: > 2.6.4 > (I also have 2.5 and 2.3, but I have code that I have tested so it > points to > the latest version by default)) > > After a successful vpython install from > http://vpython.org/contents/download_mac.html > > When I try to run any Python Visual code, I get the message: > site-packages/visual/cvisual.so: mach-o, but wrong architecture > > This seems to be to be an error of a 32 bit shared object, whereas I > believe I want a 64 bit shared object. > file shows: > /site-packages/visual/cvisual.so: Mach-O bundle i386 > whereas I believe I need: > Mach-O 64-bit bundle x86_64 From the MacPorts side, this looks like you need to build +universal?? (I'm not an expert, you might try asking there.) > > I have started looking for the source to cvisual.so....but so far > unsuccessful. > The closest source I have found is cvisualmodule.cpp > in the visual-5.12_release of the source .... but I am not convinced > that is correct. > > I have installed all pre-requisites for VisualPython including > "boost", GTK2, GTKMM, etc again from DarwinPorts. You should be using MacPorts (http://www.macports.org/ which has an active and helpful user list), not DarwinPorts (somewhere there's a web page explaining the history, but the upshot is that MacPorts is where the work is being done and where the answers are available). > So I am ready.... > > BUT after a successful configure, I get to the "make" stage...which > mostly succeeds TILL I get an error: > > Compiling ./python/arrayprim.cpp ... > make[1]: *** [arrayprim.lo] Error 1 > make: *** [all-recursive] Error 1 > > It is the same error reported in Nov 2009 by: > http://www.mail-archive.com/pyt...@py.../msg267326.html > > (Coincidently this is the 1st directory that includes "boost" if > that helps ....) > > Has anyone solved this problem? You're brave. I tried to use my MacPorts python rather than installing the recommended MacPython and gave up pretty quickly. Vpython pages say there are special bits in MacPython (my words) necessary for VPython but I don't think they say what the special bits are. Lenore |
From: Nick F. <ni...@bi...> - 2010-01-10 03:31:37
|
Does anyone have this combination working "out of the box" so to speak?? Is there tweaking involved? Long Story follows... thanks nickf ======================================================================================== I have a Mac OSX 10.6.2 Intel Core Duo: 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 I have Python from darwinPorts: 2.6.4 (I also have 2.5 and 2.3, but I have code that I have tested so it points to the latest version by default)) After a successful vpython install from http://vpython.org/contents/download_mac.html When I try to run any Python Visual code, I get the message: site-packages/visual/cvisual.so: mach-o, but wrong architecture This seems to be to be an error of a 32 bit shared object, whereas I believe I want a 64 bit shared object. file shows: /site-packages/visual/cvisual.so: Mach-O bundle i386 whereas I believe I need: Mach-O 64-bit bundle x86_64 I have started looking for the source to cvisual.so....but so far unsuccessful. The closest source I have found is cvisualmodule.cpp in the visual-5.12_release of the source .... but I am not convinced that is correct. I have installed all pre-requisites for VisualPython including "boost", GTK2, GTKMM, etc again from DarwinPorts. So I am ready.... BUT after a successful configure, I get to the "make" stage...which mostly succeeds TILL I get an error: Compiling ./python/arrayprim.cpp ... make[1]: *** [arrayprim.lo] Error 1 make: *** [all-recursive] Error 1 It is the same error reported in Nov 2009 by: http://www.mail-archive.com/pyt...@py.../msg267326.html (Coincidently this is the 1st directory that includes "boost" if that helps ....) Has anyone solved this problem? Thanks nickf |
From: Bruce S. <Bru...@nc...> - 2010-01-09 15:23:33
|
Thanks, Lenore, for answering John's question. A further simplification is that in the plot statement there's no need to specify "gdisplay=Xvel.display" because Xvelnodrag was created for and belongs to that gdisplay. Xvel = gdisplay(x=0,y=0, width=262, height=100, background=color.white, xmin=0, xmax=12, ymin=-vmax, ymax=vmax, title = 'V_x(t)') Xvelnodrag = gdots(size=3, color=nodragcolor) ...... Xvelnodrag.plot( gdisplay=Xvel.display, pos=(t,nodrag.velocity.x) ) John, if you're comfortable with the default gdisplay and gdisplay settings the minimal structure for making a graph is something like this: Xvelnodrag = gdots() # create a gdots object for graphics ........... Xvelnodrag.plot(pos=t,nodrag.velocity.x)) # add a dot to the gdots object Bruce Sherwood |
From: Lenore H. <lh...@si...> - 2010-01-09 14:46:16
|
On Jan 9, 2010, at 07:41 , John Brennan wrote: > I having difficulty in trying to display two windows one with action/ > animation and the graph that relates to the action. I tried to put > together pieces from the documentation on graphs. I want to graph > the time by speed of the accelerated ball in the animated window. > The code below does succeed in running the animation and can display > the graph window but I cannot get the plotting function to display > on the graphing window I created. Does the curve need to be an > argument with gdisplay at the beginning but that isn't a clear > parameter in the documentation. Within the motion loop, I feel like > there should be something like graph1 = gdisplay(funct1) to relate > the function to the graph window but it isn't clear how to do this. > What is the best and tidiest way to do this? > > # Adapted from erik thompson video lesson 1. > > from visual import * > from visual.text import * > from visual.graph import * # import graphing features > > scene.width = 800 > scene.height = 600 > > scene.autoscale = 0 > scene.range = (100,100,100) > scene.center = (0,40,0) > > scene.title = "Acceleration" > scene.fov = 0.001 > #scene.range = 7 #sets the starting position view. > > ball = sphere(pos=(100.0,0,0),radius=2) > ground = box(pos=(-1,0,0),size=(2,10,10)) > > initPos = ball.pos > acc = 9.8 # m/s**2 > seconds = 0.0 > dt = .01 #change in time > > graph1 = gdisplay(x=0, y=600, width=600, height=500, > title='dt vs. dv', xtitle='change in time', ytitle='change > in speed', > xmax=30, xmin=0., ymax=25, ymin=0, > foreground=color.black, > background=color.white) # is gcurve an argument > that should go in here > > graph1 = gdisplay() > graph1.display.visible = 0 # make the display visible > > finished = False > while not finished: > > rate(100) # sets the general rate and speed of the computations > seconds += dt #increment time > > > distance = 0 + .5 * acc * seconds**2 #distance travelled > time = seconds > speed = distance / time > > funct1 = gcurve(color=color.cyan) > graph1 = gdisplay(funct1) #I know this is wrong but > how do I place on graph1. > for time in arange(0.0, 30.0, 0.1): # time is a range that > goes from 0 to 30 (in increments of 0.1). > funct1.plot(pos=(time,speed)) # plot a time by speed graph. > > # position equation: y(t) = y0 + v0*t + .5 * a * t**2. So the > position of the ball at any given instance is... > ballTravel = 100.0 - .5 * acc * seconds**2 > > #new position > ball.pos = vector(ballTravel,0,0) > > if ballTravel - 2 < 0: #try to stop at 1 on the platform > finished = True > print "seconds to fall: " + str(seconds) #print to > the display console. > Here are relevant snippets from my code. Xvel = gdisplay(x=0,y=0, width=262, height=100, background=color.white, xmin=0, xmax=12, ymin=-vmax, ymax=vmax, title = 'V_x(t)') Xvelnodrag = gdots(size=3, color=nodragcolor) Xvelnodrag.plot( gdisplay=Xvel.display, pos=(t,nodrag.velocity.x) ) Lenore |
From: John B. <joh...@gm...> - 2010-01-09 14:05:14
|
I having difficulty in trying to display two windows one with action/animation and the graph that relates to the action. I tried to put together pieces from the documentation on graphs. I want to graph the time by speed of the accelerated ball in the animated window. The code below does succeed in running the animation and can display the graph window but I cannot get the plotting function to display on the graphing window I created. Does the curve need to be an argument with gdisplay at the beginning but that isn't a clear parameter in the documentation. Within the motion loop, I feel like there should be something like graph1 = gdisplay(funct1) to relate the function to the graph window but it isn't clear how to do this. What is the best and tidiest way to do this? # Adapted from erik thompson video lesson 1. from visual import * from visual.text import * from visual.graph import * # import graphing features scene.width = 800 scene.height = 600 scene.autoscale = 0 scene.range = (100,100,100) scene.center = (0,40,0) scene.title = "Acceleration" scene.fov = 0.001 #scene.range = 7 #sets the starting position view. ball = sphere(pos=(100.0,0,0),radius=2) ground = box(pos=(-1,0,0),size=(2,10,10)) initPos = ball.pos acc = 9.8 # m/s**2 seconds = 0.0 dt = .01 #change in time graph1 = gdisplay(x=0, y=600, width=600, height=500, title='dt vs. dv', xtitle='change in time', ytitle='change in speed', xmax=30, xmin=0., ymax=25, ymin=0, foreground=color.black, background=color.white) # is gcurve an argument that should go in here graph1 = gdisplay() graph1.display.visible = 0 # make the display visible finished = False while not finished: rate(100) # sets the general rate and speed of the computations seconds += dt #increment time distance = 0 + .5 * acc * seconds**2 #distance travelled time = seconds speed = distance / time funct1 = gcurve(color=color.cyan) graph1 = gdisplay(funct1) #I know this is wrong but how do I place on graph1. for time in arange(0.0, 30.0, 0.1): # time is a range that goes from 0 to 30 (in increments of 0.1). funct1.plot(pos=(time,speed)) # plot a time by speed graph. # position equation: y(t) = y0 + v0*t + .5 * a * t**2. So the position of the ball at any given instance is... ballTravel = 100.0 - .5 * acc * seconds**2 #new position ball.pos = vector(ballTravel,0,0) if ballTravel - 2 < 0: #try to stop at 1 on the platform finished = True print "seconds to fall: " + str(seconds) #print to the display console. |
From: TH C. <teo...@gm...> - 2010-01-09 06:56:56
|
Hi, have you check and install all the required package(s) needed for the compilation, notably lots of "-dev" packages? Or you can just simply install the python-visual package from your synaptic and update your boost libraries. Details at http://sourceforge.net/mailarchive/forum.php?thread_name=db871a220911161147w234676dbs505f467e3c3940f5%40mail.gmail.com&forum_name=visualpython-users On Sat, Jan 9, 2010 at 12:05 PM, Xunchi Chen <che...@gm...> wrote: > Dear Sir/Madam, > > When configuring visual-5.13_release.tar.bz2 on my UBUNTU 9.10, an > error occurred and I don't know what to do. Can you help? > > > configure: error: A suitable python interpreter was found, but you do not > have the header files required for building C/C++ extensions to python, or > another problem was encoutered when compiling a program that uses Python.h. > > > Thank you very much! > > Xunchi Chen > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > -- Regards, THChew |
From: Xunchi C. <che...@gm...> - 2010-01-09 04:06:20
|
Dear Sir/Madam, When configuring visual-5.13_release.tar.bz2 on my UBUNTU 9.10, an error occurred and I don't know what to do. Can you help? configure: error: A suitable python interpreter was found, but you do not have the header files required for building C/C++ extensions to python, or another problem was encoutered when compiling a program that uses Python.h. Thank you very much! Xunchi Chen |
From: Manuel G. <mga...@gm...> - 2010-01-07 15:12:56
|
Hi. I need help setting up vpython on my system. Thanks. Manny |
From: steve m. <mwi...@gm...> - 2010-01-01 22:27:32
|
Hi , I have Mandriva 2010 and have installed the library it complains via Mandriva repos. But it keep complaining as shown below. I have tried to uninstall/re-install the library but I haven't been successful. what should I do? Here is the error after typing in konsole command ./configure: checking pkg-config is at least version 0.9.0... yes checking for GTKGLEXTMM... yes checking for GLIBMM... yes checking for PANGOMM... yes checking for LIBGLADEMM... no configure: error: libglademm-2.4 is required I have that library installed so Iam stucked! Thanks |
From: Bruce S. <Bru...@nc...> - 2009-12-24 15:34:48
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> That indicates that there are missing libraries in the link phase. Look at the end of src/build.log to try to identify the missing libraries. Study INSTALL.txt in detail for information on dependencies. What platform is this?<br> <br> Bruce Sherwood <br> <br> Luke wrote: <blockquote cite="mid:992...@ma..." type="cite">I run ./configure --prefix=$HOME/usr, then make and all seems to compile ok, but then I get this error:<br> Compiling ./gtk2/rate.cpp ... <br> Linking <a moz-do-not-send="true" href="http://cvisualmodule.la">cvisualmodule.la</a> ... <br> make[1]: *** [<a moz-do-not-send="true" href="http://cvisualmodule.la">cvisualmodule.la</a>] Error 1 <br> make[1]: Leaving directory `/home/luke/Downloads/visual-5.13_release/src' <br> make: *** [all-recursive] Error 1<br> $<br> <br> Any ideas what would have caused this?<br> <br> Thanks,<br> ~Luke<br> <br> </blockquote> </body> </html> |