From: Hian-Kun T. <hi...@gm...> - 2010-05-17 05:59:12
|
Hello, This is my first time to subscribe to and post to a mailing list. In case I did something not suitable, correct me please. I found PyODE last week, then tried to install and tested with it. With no much efforts I installed all the necessary libraries and packages in my Ubuntu 8.04, and ran the example codes named Tutorial 1, 2, and 3 successfully. When I tried to test the transforms.py, some problems emerged. After installing necessary libraries and packages, I found I have to modified some part of the original transforms.py to make it run in my system. The modifications are the following: - from cgtypes import * + from cgkit.cgtypes import * + glutInit() glutSolidCube(1) My system is Ubuntu 8.04 with Python 2.5.2. I am not sure why the original example code cannot run on my system, but I think maybe I should post my testing experience to you. If you have any corrections or suggestions on my test, please let me know. Thank you. (FYI, I have written down my test procedures in my blog: http://hiankun.blogspot.com/2010/05/py-pyode-installation-and-test.html ) Best Regards, Hiankun |
From: <al...@ci...> - 2010-05-17 17:14:16
Attachments:
examples.patch
|
Hello and welcome to PyODE :) I also had the same problems with the tutorials. In the attachment you will find my changes for transforms.py and vehicle.py. My system: Ubuntu Karmic (Py2.6) and Windows XP (Py2.5). On XP, the samples run fine without glutInit. On Ubuntu, they fail with the error you described on your blog. I think glutInit should be called somewhere at the beginning of the program, after opening an OpenGL window. This is right after pygame.display.set_mode(...) The other change was glColor3; this function is not present on my systems. I just replaced it with glColor3f. Please let me know if the attached patch works for you. Also, your step-by-step install instructions are nice, can we include them in PyODE's readme files? However, the version from Ubuntu repos may be old. A solution would be to update the PyPi index, in order to let the users get the latest PyODE with 'easy_install pyode' or 'pip install pyode'. Ethan, what do you think? I will also ask Ethan to commit the attached patch. Alex > Hello, > > This is my first time to subscribe to and post to a mailing list. In case I > did something not suitable, correct me please. > > I found PyODE last week, then tried to install and tested with it. With no > much efforts I installed all the necessary libraries and packages in my > Ubuntu 8.04, and ran the example codes named Tutorial 1, 2, and 3 > successfully. When I tried to test the transforms.py, some problems emerged. > > After installing necessary libraries and packages, I found I have to > modified some part of the original transforms.py to make it run in my > system. The modifications are the following: > > - from cgtypes import * > + from cgkit.cgtypes import * > > + glutInit() > glutSolidCube(1) > > My system is Ubuntu 8.04 with Python 2.5.2. > > I am not sure why the original example code cannot run on my system, but I > think maybe I should post my testing experience to you. If you have any > corrections or suggestions on my test, please let me know. Thank you. > > (FYI, I have written down my test procedures in my blog: > http://hiankun.blogspot.com/2010/05/py-pyode-installation-and-test.html ) > > > Best Regards, > > Hiankun > ------------------------------------------------------------------------------ > > _______________________________________________ > Pyode-user mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyode-user > |
From: Hian-Kun T. <hi...@gm...> - 2010-05-18 01:50:32
|
Hello, Thank you for your kind reply and patch file. It works well for me. That's my pleasure to offer my test procedure to be included in PyODE's readme files. I have few experience in writing guidances or instructions, though, and English is not my first language, So please feel free to change or to modify my writing to fit the quality of the readme files. Best Regards, Hiankun On Tue, May 18, 2010 at 1:00 AM, <al...@ci...> wrote: > Hello and welcome to PyODE :) > > I also had the same problems with the tutorials. In the attachment you will > find > my changes > for transforms.py and vehicle.py. > > My system: Ubuntu Karmic (Py2.6) and Windows XP (Py2.5). On XP, the samples > run > fine without glutInit. > On Ubuntu, they fail with the error you described on your blog. > > I think glutInit should be called somewhere at the beginning of the > program, > after opening an OpenGL window. > This is right after pygame.display.set_mode(...) > > The other change was glColor3; this function is not present on my systems. > I > just replaced it with glColor3f. > > Please let me know if the attached patch works for you. > > Also, your step-by-step install instructions are nice, can we include them > in > PyODE's readme files? > > However, the version from Ubuntu repos may be old. A solution would be to > update > the PyPi index, > in order to let the users get the latest PyODE with 'easy_install pyode' or > 'pip > install pyode'. > > Ethan, what do you think? > > I will also ask Ethan to commit the attached patch. > > Alex > > > > > Hello, > > > > This is my first time to subscribe to and post to a mailing list. In case > I > > did something not suitable, correct me please. > > > > I found PyODE last week, then tried to install and tested with it. With > no > > much efforts I installed all the necessary libraries and packages in my > > Ubuntu 8.04, and ran the example codes named Tutorial 1, 2, and 3 > > successfully. When I tried to test the transforms.py, some problems > emerged. > > > > After installing necessary libraries and packages, I found I have to > > modified some part of the original transforms.py to make it run in my > > system. The modifications are the following: > > > > - from cgtypes import * > > + from cgkit.cgtypes import * > > > > + glutInit() > > glutSolidCube(1) > > > > My system is Ubuntu 8.04 with Python 2.5.2. > > > > I am not sure why the original example code cannot run on my system, but > I > > think maybe I should post my testing experience to you. If you have any > > corrections or suggestions on my test, please let me know. Thank you. > > > > (FYI, I have written down my test procedures in my blog: > > http://hiankun.blogspot.com/2010/05/py-pyode-installation-and-test.html) > > > > > > Best Regards, > > > > Hiankun > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Pyode-user mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyode-user > > > |
From: Ethan Glasser-C. <gl...@cs...> - 2010-05-20 22:06:03
|
al...@ci... wrote: > Also, your step-by-step install instructions are nice, can we include them in > PyODE's readme files? > > However, the version from Ubuntu repos may be old. A solution would be to update > the PyPi index, > in order to let the users get the latest PyODE with 'easy_install pyode' or 'pip > install pyode'. > > Ethan, what do you think? I didn't create the original PyPI entry for Python-Pyode and so cannot update it. Sorry. If it's any consolation, Debian/Ubuntu have been pretty good about building relatively recent CVS snapshots. > I will also ask Ethan to commit the attached patch. OK, applied. Ethan |
From: <al...@ci...> - 2010-05-20 22:30:34
|
Well, I see you are one of the owners of tye PyPI entry for PyODE: * Author: see file AUTHORS <timothy at stranex com> * Home Page: http://pyode.sourceforge.net/ * License: BSD or LGPL * Package Index Owner: tstranex, glasserc Doesn't that mean you have permissions for updating the package, even if you didn't create it? If not, maybe Timothy Stranex can help us :) Alex > al...@ci... wrote: >> Also, your step-by-step install instructions are nice, can we include them in >> PyODE's readme files? >> >> However, the version from Ubuntu repos may be old. A solution would be to >> update >> the PyPi index, >> in order to let the users get the latest PyODE with 'easy_install pyode' or >> 'pip >> install pyode'. >> >> Ethan, what do you think? > > I didn't create the original PyPI entry for Python-Pyode and so cannot > update it. Sorry. If it's any consolation, Debian/Ubuntu have been > pretty good about building relatively recent CVS snapshots. > >> I will also ask Ethan to commit the attached patch. > > OK, applied. > > Ethan > |
From: Ethan Glasser-C. <gl...@cs...> - 2010-05-20 23:03:55
|
al...@ci... wrote: > If not, maybe Timothy Stranex can help us :) I just updated it. Thanks Timothy Stranex for your help! Ethan |
From: Alexandru D. <al...@ci...> - 2010-05-31 07:41:44
Attachments:
patch-1854241.patch
|
Hello, Here is a quick fix for the following bug: Mass.setSphereTotal wraps wrong function - ID: 1854241 I have also noticed that the following function is not implemented: void dMassRotate (dMass *, const dMatrix3 R); Alex |
From: Ethan Glasser-C. <gl...@cs...> - 2010-09-26 19:49:49
|
On 05/31/2010 03:39 AM, Alexandru Dumitrache wrote: > Hello, > > Here is a quick fix for the following bug: > > Mass.setSphereTotal wraps wrong function - ID: 1854241 > Hi, sorry for the epically late response. I just applied this patch. Thanks! Ethan |