From: Bruce S. <bas...@un...> - 2002-10-04 17:20:04
|
This is definitely unknown behavior. Several people (including me) have run all the demos on OSX without seeing these symptoms. If you can, you might try installing on a different Mac to see whether there's something odd with the particular machine you used first. Bruce Sherwood ----- Original Message ----- From: "Chris Burns" <bu...@hv...> To: <vis...@li...> Sent: Friday, October 04, 2002 1:14 PM Subject: [Visualpython-users] Errors running Vpython on OSX > Greetings. > > I've just started using VPython on a linux box and got completely hooked > and started dreaming up all these great demos that would be possible. > The problem is that we're on a Mac campus, so I needed to get Vpython > running on OSX. I followed the instructions and everything seemed fine > until I ran the demo programs. In any of the demos where there is > animation (double pendulum, Lorenz, etc), the program bombs at some point > (not always the same) with a message like: > > Traceback (most recent call last): > File "doublependulum.py", line 71, in ? > atheta2 = -(A*atheta1+C*sin(theta1))/B > ValueError: unexpected math error > > The programs can bomb at different locations (there seems to be no pattern > that I can see). Sometimes, the demo will run for 15-20 seconds before > quitting, sometimes shorter. The real crazy thing is if I put a trace > statement just before the offending line and print out the values to the > screen, it doesn't bomb for a VERY long time (half-hour or so), though it > slows down the animation. It then finally bombs with the following message: > > OverflowError: (35, 'Resource temporarily unavailable') > > Which seems different than the previous one. Needless to say, none of this > happens in Linux, which makes it doubly frustrating, since I know it works, > I just can't show anyone. I haven't had time to really try and debug this, > so I was just wondering if anyone's come accross this and fixed it (I didn't > see any mention in the email archives though). > > Thanks for any help. > > Chris > > -- > Chris Burns > Visiting Assistant Professor > Dept. of physics and astronomy, Swarthmore College > cb...@sw... http://hven.swarthmore.edu/~burns > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |