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: C A. R. <an...@ex...> - 2010-06-18 00:09:31
|
On Thu, Jun 17, 2010 at 5:50 PM, Thomas Spura <to...@fe...> wrote: > Am Thu, 17 Jun 2010 11:18:48 -0600 > schrieb Bruce Sherwood <bas...@nc...>: > >> I'm not sure to what you're referring. > > To this part of the license: > > [snip] > >> --------------------------------------------------------------------- >> The following copyright notice applies to the Polygon module >> distributed with Visual for the convenience of our users under the >> following terms: >> >> "This distribution contains code from the GPC Library, and/or code >> resulting from the use of the GPC Library. This usage has been >> authorized by The University of Manchester, on the understanding >> that the GPC-related features are used only in the context of this >> distribution. It is not permitted to extract the GPC code from the >> distribution as the basis for commercial exploitation, unless a >> GPC Commercial Use Licence is obtained from The University of >> Manchester, contact: http://www.cs.man.ac.uk/~toby/gpc/". >> >> --------------------------------------------------------------------- > > This sounds highly 'non free' and therefor needs to go through the > legal team from redhat at least. > > But after looking thought the sources, I didn't found, where the > polygon module exactly is... Should be somewhere under > site-packages/visual/*, but the only thing I found was > in ./site-packages/visual/primitives.py: > 'import Polygon'. > > So where is it? > > Grepping for "GPC" also brings no results, so at least there will be a > comment missing about the license, if this polygon modules is still > included... > > Thomas the language, to me at least, sounds like you are permitted to do whatever you'd like with visual itself, as a package/platform. "It is not permitted to extract the GPC code from the distribution as the basis for commercial exploitation" thus, you can't pull the GPC bits out exclusively and use them to spearhead a commercial product, but that doesn't mean you can't use visual as a platform in a commercial project. at least that's how i understand it. |
From: Baozhi C. <bc...@gm...> - 2010-06-17 23:19:31
|
Hi all, I am a new user of VPython. My goal is to make a 3D visualization of a moving autonomous vehicle for a demo. The vehicle will move along a long trajectory. For example, the whole trajectory is from 0 m to 2000 m in x-axis while the vehicle is only 1 or 2 m long. Therefore it won't look good to view the whole trajectory. I want to set the viewing region dynamically to an appropriate size (for example, from 1950 m to 2000 m in x-axis) so that the vehicle does not look too small. I have tried to use the scene.center and scene.range to change the view region but it doesn't seem to work. Could any one tell me what's wrong and how to set the view region? I am using a SONY VGN-CR490 laptop with intel 965GM graphics driver. My OS is Ubuntu 10.04 and VPython is the latest version 5.32 (I followed INSTALL.txt to install). BTW, there seems to be a problem when I tried to use the textures, which leads to the crash of the GNOME window system. Some 3D text object cannot be displayed in my visualization although the text examples coming with Vpython work. Thanks. Bob |
From: Thomas S. <to...@fe...> - 2010-06-17 22:50:47
|
Am Thu, 17 Jun 2010 11:18:48 -0600 schrieb Bruce Sherwood <bas...@nc...>: > I'm not sure to what you're referring. To this part of the license: [snip] > --------------------------------------------------------------------- > The following copyright notice applies to the Polygon module > distributed with Visual for the convenience of our users under the > following terms: > > "This distribution contains code from the GPC Library, and/or code > resulting from the use of the GPC Library. This usage has been > authorized by The University of Manchester, on the understanding > that the GPC-related features are used only in the context of this > distribution. It is not permitted to extract the GPC code from the > distribution as the basis for commercial exploitation, unless a > GPC Commercial Use Licence is obtained from The University of > Manchester, contact: http://www.cs.man.ac.uk/~toby/gpc/". > > --------------------------------------------------------------------- This sounds highly 'non free' and therefor needs to go through the legal team from redhat at least. But after looking thought the sources, I didn't found, where the polygon module exactly is... Should be somewhere under site-packages/visual/*, but the only thing I found was in ./site-packages/visual/primitives.py: 'import Polygon'. So where is it? Grepping for "GPC" also brings no results, so at least there will be a comment missing about the license, if this polygon modules is still included... Thomas |
From: Bruce S. <bas...@nc...> - 2010-06-17 17:44:52
|
I'm not sure to what you're referring. Here is the most recent text of license.txt, which is included in the "visual" folder in site-packages on all platforms. Note the recent modification with respect to the Polygon module, which is used by the new 3D text object: The Visual library is Copyright (c) 2000, 2001, 2002, 2003, 2004, and 2005 by David Scherer and others. See authors.txt for a complete list of contributors. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of the authors may not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --------------------------------------------------------------------- The following copyright notice applies to the Polygon module distributed with Visual for the convenience of our users under the following terms: "This distribution contains code from the GPC Library, and/or code resulting from the use of the GPC Library. This usage has been authorized by The University of Manchester, on the understanding that the GPC-related features are used only in the context of this distribution. It is not permitted to extract the GPC code from the distribution as the basis for commercial exploitation, unless a GPC Commercial Use Licence is obtained from The University of Manchester, contact: http://www.cs.man.ac.uk/~toby/gpc/". --------------------------------------------------------------------- The following copyright notice applies to the files src/num_util* and include/num_util* which are distributed with Visual for the convenience of our users under the following terms: num_util is Copyright (c) 2003 by Rhys Goldstein, Chris Seymour and Phil Austin. Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. On Wed, Jun 16, 2010 at 6:39 PM, Thomas Spura <to...@fe...> wrote: > Hi list, > > there are some notes, that show, that the primitives implementation > from GPC is nonfree (no GPL etc.), but I could not find something about > this in the sources. > > Was it removed? > > Could you please update that section, to either remove what's not > applicaple anymore or clarify where it's to find? > > Thanks, > Thomas |
From: Thomas S. <to...@fe...> - 2010-06-17 00:40:06
|
Hi list, there are some notes, that show, that the primitives implementation from GPC is nonfree (no GPL etc.), but I could not find something about this in the sources. Was it removed? Could you please update that section, to either remove what's not applicaple anymore or clarify where it's to find? Thanks, Thomas |
From: Bruce S. <Bru...@nc...> - 2010-06-11 15:49:24
|
In the Contributed section of vpython.org you'll find the attractive Chaotic Billiard program of Pablo Garcia Corzo. Bruce Sherwood |
From: Bruce S. <Bru...@nc...> - 2010-06-11 00:02:22
|
Even odder. Now it works fine. Instead of a second window flashing briefly, the game appears in the first window and works properly. I didn't have to try the window resize trick. I didn't reboot the machine or do anything to change the environment as far as I know. Bruce Sherwood On 6/10/2010 5:50 PM, Roberto Aguirre Maturana wrote: > That's odd. Admittedly, I've only tested this application on Windows XP, > where it seems to work fine. > > It's just a hunch, but the next time you start a New game for the first > time, after de 'flashing window' disappears, resize the window with menu > options. > > Regards, > > Roberto. > > > On Thu, 10 Jun 2010 17:32:49 -0400, Bruce Sherwood > <Bru...@nc...> wrote: > > >> It doesn't run on my 64-bit Windows 7 machine. First there is a black >> window with menu options. I choose New game and there is a brief flash >> of another window with some colored boxes. If I choose New game again >> nothing happens. If I quit and restart I can again see the brief flash >> of another window with colored boxes in it. >> >> In the installation process I was asked whether to keep the newer dll's >> already installed on my machine, and I said yes. >> >> Bruce Sherwood >> >> On 6/9/2010 8:15 PM, Roberto Aguirre Maturana wrote: >> >>> I've used VPython to create this bejeweled-like game: >>> >>> http://cid-25561c9a109ea113.office.live.com/self.aspx/.Public/Jetris^_Setup.exe >>> >>> I followed some instructions found on this mailing list to embed the >>> VPython frame on a wxpython frame created with Boa Constructor. >>> >>> Send me an e-mail if you are interested on the source code. >>> >>> Best regards, >>> >>> Roberto Aguirre >>> Geologist >>> La Serena, Chile >>> >>> >>> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> > > |
From: Roberto A. M. <rha...@ho...> - 2010-06-10 23:51:11
|
That's odd. Admittedly, I've only tested this application on Windows XP, where it seems to work fine. It's just a hunch, but the next time you start a New game for the first time, after de 'flashing window' disappears, resize the window with menu options. Regards, Roberto. On Thu, 10 Jun 2010 17:32:49 -0400, Bruce Sherwood <Bru...@nc...> wrote: > It doesn't run on my 64-bit Windows 7 machine. First there is a black > window with menu options. I choose New game and there is a brief flash > of another window with some colored boxes. If I choose New game again > nothing happens. If I quit and restart I can again see the brief flash > of another window with colored boxes in it. > > In the installation process I was asked whether to keep the newer dll's > already installed on my machine, and I said yes. > > Bruce Sherwood > > On 6/9/2010 8:15 PM, Roberto Aguirre Maturana wrote: >> I've used VPython to create this bejeweled-like game: >> >> http://cid-25561c9a109ea113.office.live.com/self.aspx/.Public/Jetris^_Setup.exe >> >> I followed some instructions found on this mailing list to embed the >> VPython frame on a wxpython frame created with Boa Constructor. >> >> Send me an e-mail if you are interested on the source code. >> >> Best regards, >> >> Roberto Aguirre >> Geologist >> La Serena, Chile >> >> > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: Bruce S. <Bru...@nc...> - 2010-06-10 21:33:00
|
It doesn't run on my 64-bit Windows 7 machine. First there is a black window with menu options. I choose New game and there is a brief flash of another window with some colored boxes. If I choose New game again nothing happens. If I quit and restart I can again see the brief flash of another window with colored boxes in it. In the installation process I was asked whether to keep the newer dll's already installed on my machine, and I said yes. Bruce Sherwood On 6/9/2010 8:15 PM, Roberto Aguirre Maturana wrote: > I've used VPython to create this bejeweled-like game: > > http://cid-25561c9a109ea113.office.live.com/self.aspx/.Public/Jetris^_Setup.exe > > I followed some instructions found on this mailing list to embed the > VPython frame on a wxpython frame created with Boa Constructor. > > Send me an e-mail if you are interested on the source code. > > Best regards, > > Roberto Aguirre > Geologist > La Serena, Chile > > |
From: Roberto A. M. <rha...@ho...> - 2010-06-10 02:15:34
|
I've used VPython to create this bejeweled-like game: http://cid-25561c9a109ea113.office.live.com/self.aspx/.Public/Jetris^_Setup.exe I followed some instructions found on this mailing list to embed the VPython frame on a wxpython frame created with Boa Constructor. Send me an e-mail if you are interested on the source code. Best regards, Roberto Aguirre Geologist La Serena, Chile -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: Guy K. K. <g....@ma...> - 2010-06-09 23:35:59
|
On Thu, 10 Jun 2010 04:11:56 Davidmh wrote: > try: from visual import * > except:pass Can you please at least try to capture a *specific* exception? Harvesting off *all* exceptions is usually a *very* bad design decision, and much frowned upon. If there's a problem, take a note of the exception, and then use precisely that one in the try/except block. I know there are quite some programming newbies also here on the list, and I do not like to leave these sloppy code samples around here to be adopted (and worsened in the course). Thanks, Guy PS: Also try to cut the quoted mails to what is necessary to understand your mail in context, and do not leave all the crap with all signatures underneath your mail. This is especially nice to people reading to the mailing list in digest mode! -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: Pablo G. C. <ozr...@gm...> - 2010-06-09 17:24:54
|
Sorry, Danny told me and I fixed it but I answered just him, not to the list. The problem is when calling vector components as .x, .y, .z (I'm using version 3.2.9 and everything was working fine). I've just changed that to [0], [1], [2]. The background issue is some kind of a stupid feature, I want to know when the system is calculating and when it is waiting for user input. Try with this new version, it's even funnier when it doesn't crash!!! XD \\// Que la suerza os acompañe Pablo. El 9 de junio de 2010 18:36, Davidmh <dav...@gm...> escribió: > It is crashing. When my ball reachs one of the ends of the table, it > returns: > > G:\Descargas>stadium.py > Traceback (most recent call last): > File "G:\Descargas\stadium.py", line 141, in <module> > bola=Disparo(bola,dt,maxposx,maxposz,FR,FRBB,FRBW) > File "G:\Descargas\stadium.py", line 103, in Disparo > i.vel.x-=change.x > AttributeError: 'numpy.ndarray' object has no attribute 'x' > > Further, while the ball is moving, the background switches to white, > and returns to black when stops. > > I am executing it on WXP. > > I agree with you: it is funny. :) > > David. > > 2010/6/9 Pablo García Corzo <ozr...@gm...>: > > Hi all! > > This is a small toy for playing some kind of special billiard... a > stadium > > billiard. > > The code is not very elegant, but the resulting game is quite fun! > > The rules are simple, you just have to point and shoot kicking all the > > balls. > > Maybe it is something attractive for the "user-contributed programs" > > section. > > > > \\// > > Que la suerza os acompañe > > Pablo. > > > > > ------------------------------------------------------------------------------ > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > |
From: Davidmh <dav...@gm...> - 2010-06-09 16:36:46
|
It is crashing. When my ball reachs one of the ends of the table, it returns: G:\Descargas>stadium.py Traceback (most recent call last): File "G:\Descargas\stadium.py", line 141, in <module> bola=Disparo(bola,dt,maxposx,maxposz,FR,FRBB,FRBW) File "G:\Descargas\stadium.py", line 103, in Disparo i.vel.x-=change.x AttributeError: 'numpy.ndarray' object has no attribute 'x' Further, while the ball is moving, the background switches to white, and returns to black when stops. I am executing it on WXP. I agree with you: it is funny. :) David. 2010/6/9 Pablo García Corzo <ozr...@gm...>: > Hi all! > This is a small toy for playing some kind of special billiard... a stadium > billiard. > The code is not very elegant, but the resulting game is quite fun! > The rules are simple, you just have to point and shoot kicking all the > balls. > Maybe it is something attractive for the "user-contributed programs" > section. > > \\// > Que la suerza os acompañe > Pablo. > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Davidmh <dav...@gm...> - 2010-06-09 16:12:27
|
Hello. I have finally fixed the problem in a somewhat silly way: try: from visual import * except:pass I figure the crash is before the important parts of visual are imported, so it can go ahead. It won't work on programs that depend on materials. Regards, David. On Wed, May 12, 2010 at 10:23 PM, Davidmh <dav...@gm...> wrote: > I have found this: http://www.py2exe.org/index.cgi/MatPlotLib > > That, in my case turns into: > > data_files = [( r'visual', glob.glob > (r'C:\Python25\Lib\site-packages\visual\*.tga' )), > > (r'visual',[r'C:\Python25\Lib\site-packages\visual\turbulence3.tga'])], > > But the problem persists. Instead of storing it in > dist/library.zip/visual, it creates a new directory, putting the files > in dist/visual > > > Doing some research I have arrived to: > > opts = { > 'py2exe': { 'packages': ['visual'] > } > } > > Here I can override the turbulence3.tga crash, but I get > > Traceback (most recent call last): > File "selfoc.py", line 2, in <module> > File "visual\__init__.pyc", line 83, in <module> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xd3 in position 49: ordinal > not in range(128) > > whenever I try to execute it. > > > What am I doing wrong? > > Thanks a lot. > > David. > > On Wed, May 12, 2010 at 8:51 PM, Stef Mientki <ste...@gm...> wrote: >> On 12-05-2010 20:43, Davidmh wrote: >>> Where? In the setup for py2exe or in the original source code? >>> >> the Datafiles of py2exe, >> don't know how to that anymore, but that's in the docs of py2exe. >> >> As Py2exe is a crime to work with, >> not only for vpython, but also matplotlib and others, >> I made a setup program once and use it all the time with great success. >> >> cheers, >> Stef >> >> >>> Thanks for your help. >>> >>> On Wed, May 12, 2010 at 8:41 PM, Stef Mientki <ste...@gm...> wrote: >>> >>>> On 12-05-2010 18:04, Davidmh wrote: >>>> >>>>> Hello. >>>>> >>>>> I have compiled successfully several programs to Windows binaries usin >>>>> py2exe, but when I try to execute a working program depending on >>>>> VPython, I get the following error: >>>>> >>>>> Traceback (most recent call last): >>>>> File "mirage.py", line 2, in <module> >>>>> File "visual\__init__.pyc", line 66, in <module> >>>>> File "visual\ui.pyc", line 3, in <module> >>>>> File "visual\materials.pyc", line 151, in <module> >>>>> File "visual\materials.pyc", line 129, in loadTGA >>>>> IOError: [Errno 2] No such file or directory: >>>>> 'C:\\pyex\\dist\\library.zip\\visual/turbulence3.tga' >>>>> >>>>> I use Python 2.5, and as I have seen, there have been more people with >>>>> the same problem. The only solution reported I have found is simply >>>>> deleting the definition on the module source code. Although inelegant, >>>>> it could work, as long I am not using any materials in my program; but >>>>> I don't like editing that kind of source. >>>>> >>>>> I think the option "excludes" could be used, but after several tries I >>>>> haven't been successful. >>>>> >>>>> Any ideas? >>>>> >>>>> >>>>> >>>> I always include all the tga files explicitly: >>>> if Include_VPython : >>>> Data_Files.append ( ( r'visual', glob.glob ( >>>> r'P:\Python\Lib\site-packages\visual\*.tga' ))) >>>> chers, >>>> Stef >>>> >>>>> Thank you; >>>>> >>>>> David Menéndez. >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Visualpython-users mailing list >>>>> Vis...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>>>> >>>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Visualpython-users mailing list >>>> Vis...@li... >>>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>>> >> >> > |
From: Pablo G. C. <ozr...@gm...> - 2010-06-09 10:51:22
|
Hi all! This is a small toy for playing some kind of special billiard... a stadium billiard. The code is not very elegant, but the resulting game is quite fun! The rules are simple, you just have to point and shoot kicking all the balls. Maybe it is something attractive for the "user-contributed programs" section. \\// Que la suerza os acompañe Pablo. |
From: Gary P. <gar...@gm...> - 2010-06-07 21:59:43
|
On Mon, Jun 7, 2010 at 10:29 AM, Gary Pajer <gar...@gm...> wrote: > On Sat, Jun 5, 2010 at 8:56 AM, Symion <kn...@ip...> wrote: > >> On 5/06/2010 2:52 AM, Gary Pajer wrote: >> >> On Thu, Jun 3, 2010 at 6:12 PM, Guy K. Kloss <g....@ma...>wrote: >> >>> On Fri, 04 Jun 2010 04:08:46 Gary Pajer wrote: >>> > If I remove the line containing scene.range the original program works >>> > fine. I'm using python-visual from the Ubuntu repository. >>> > Can someone else try it? I'd be especially interested to know if it >>> > crashes using the respository version, but works using Bruce's >>> home-made >>> > version. >>> >> >> > > >> I think you have to declare scene.range Before you can use it. >> >> #---------------------------------- >> from visual import * >> scene.range = 10 >> sphere() >> scene.range = scene.range * 3. >> >> works fine! >> > > > Not for me. It no longer segfaults. But now a window pops up containing a > yellow sphere, and a split second later the sphere is replaced by yellow > garbage. The window responds to rotation mouse gestures, but not zooms. > > Point of interest #1: the original code worked fine under WinXP. > Point of interest #2: it was not necessary to declare scene.range in > WinXP. > Something else: I don't know which version of visual I was using when I > was using WinXP. > > Bruce, if I'm not mistaken you are relocating, and therefore probably very > busy. But whenever it's comfortable, I'd appreciate it if you can try my > code on your home-grown build, and, if you still have it available, your > from-Ubuntu-repository build in order to see if it works on one but not on > the other. If it does, any pointers on building on Ubuntu would be > appreciated. > > Thanks very much, > gary > Oops. Symion's fix does work. I accidentally tried the fix on an old version of my test program which contained some other garbage that filled the window with ... well, garbage. Thanks, Symion -gary |
From: Bruce S. <Bru...@nc...> - 2010-06-07 18:03:28
|
I don't have the Ubuntu 10.04 python-visual running, but your code works fine with my own build on 32-bit and 64-bit Ubuntu. This is the only thing that was problematic: The following change is necessary if you get an error in translate_exception.hpp: In /usr/include (probably), change /boost/python/detail/translate_exception.hpp =================================================================== --- boost/python/detail/translate_exception.hpp (revision 50228) +++ boost/python/detail/translate_exception.hpp (working copy) @@ -9,6 +9,7 @@ # include <boost/call_traits.hpp> # include <boost/type_traits/add_const.hpp> +# include <boost/type_traits/add_reference.hpp> # include <boost/function/function0.hpp> -------------------------------------- (That is, add "# include <boost/type_traits/add_reference.hpp>" after the statement "# include <boost/type_traits/add_const.hpp>".) This is the updated information in the CVS version of vpython-core2/INSTALL.txt at sourceforge.net. I posted a complaint and question about this at https://answers.launchpad.net/ubuntu/+question/112778 I can't find any substantive difference between the source package used by someone to build python-visual and the source I'm building from, so I can't understand how that someone was able to build python-visual, since there is this problem with Boost. Alas, no one has responded to my question. Bruce On 6/7/2010 8:29 AM, Gary Pajer wrote: > On Sat, Jun 5, 2010 at 8:56 AM, Symion <kn...@ip... > <mailto:kn...@ip...>> wrote: > > On 5/06/2010 2:52 AM, Gary Pajer wrote: >> On Thu, Jun 3, 2010 at 6:12 PM, Guy K. Kloss >> <g....@ma... <mailto:g....@ma...>> wrote: >> >> On Fri, 04 Jun 2010 04:08:46 Gary Pajer wrote: >> > If I remove the line containing scene.range the original >> program works >> > fine. I'm using python-visual from the Ubuntu repository. >> > Can someone else try it? I'd be especially interested to >> know if it >> > crashes using the respository version, but works using >> Bruce's home-made >> > version. >> >> > > I think you have to declare scene.range Before you can use it. > #---------------------------------- > from visual import * > scene.range = 10 > sphere() > scene.range = scene.range * 3. > > works fine! > > > > Not for me. It no longer segfaults. But now a window pops up > containing a yellow sphere, and a split second later the sphere is > replaced by yellow garbage. The window responds to rotation mouse > gestures, but not zooms. > > Point of interest #1: the original code worked fine under WinXP. > Point of interest #2: it was not necessary to declare scene.range in > WinXP. > Something else: I don't know which version of visual I was using when > I was using WinXP. > > Bruce, if I'm not mistaken you are relocating, and therefore probably > very busy. But whenever it's comfortable, I'd appreciate it if you > can try my code on your home-grown build, and, if you still have it > available, your from-Ubuntu-repository build in order to see if it > works on one but not on the other. If it does, any pointers on > building on Ubuntu would be appreciated. > > Thanks very much, > gary > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Gary P. <gar...@gm...> - 2010-06-07 14:29:33
|
On Sat, Jun 5, 2010 at 8:56 AM, Symion <kn...@ip...> wrote: > On 5/06/2010 2:52 AM, Gary Pajer wrote: > > On Thu, Jun 3, 2010 at 6:12 PM, Guy K. Kloss <g....@ma...> wrote: > >> On Fri, 04 Jun 2010 04:08:46 Gary Pajer wrote: >> > If I remove the line containing scene.range the original program works >> > fine. I'm using python-visual from the Ubuntu repository. >> > Can someone else try it? I'd be especially interested to know if it >> > crashes using the respository version, but works using Bruce's home-made >> > version. >> > > > I think you have to declare scene.range Before you can use it. > #---------------------------------- > from visual import * > scene.range = 10 > sphere() > scene.range = scene.range * 3. > > works fine! > Not for me. It no longer segfaults. But now a window pops up containing a yellow sphere, and a split second later the sphere is replaced by yellow garbage. The window responds to rotation mouse gestures, but not zooms. Point of interest #1: the original code worked fine under WinXP. Point of interest #2: it was not necessary to declare scene.range in WinXP. Something else: I don't know which version of visual I was using when I was using WinXP. Bruce, if I'm not mistaken you are relocating, and therefore probably very busy. But whenever it's comfortable, I'd appreciate it if you can try my code on your home-grown build, and, if you still have it available, your from-Ubuntu-repository build in order to see if it works on one but not on the other. If it does, any pointers on building on Ubuntu would be appreciated. Thanks very much, gary |
From: Gary P. <gar...@gm...> - 2010-06-04 17:22:22
|
On Thu, Jun 3, 2010 at 6:12 PM, Guy K. Kloss <g....@ma...> wrote: > On Fri, 04 Jun 2010 04:08:46 Gary Pajer wrote: > > If I remove the line containing scene.range the original program works > > fine. I'm using python-visual from the Ubuntu repository. > > Can someone else try it? I'd be especially interested to know if it > > crashes using the respository version, but works using Bruce's home-made > > version. > > Works perfectly fine on Kubuntu 10.04 (32 bit). Well, fine as in "it > doesn't > segfault". But I do get an exception on the last line (RuntimeError): > > """ > RuntimeError: Reading .scale and .range is not supported when autoscale is > enabled. > """ > > Which is fair enough. Are you maybe on a 64 bit system, that behaves > (slightly) different? > The original has an autoscale statement whose presence doesn't affect the segfault. I'm have a 32 bit system. Might be yet another Mesa/Radeon Mobility 7500 problem. It wouldn't be the first. > > It might also help to run the problem under strace when that happens, or > under > gdb to trace down the original problem. > I'll give that a try. Thanks. > > HTH, > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Guy K. K. <g....@ma...> - 2010-06-03 22:12:32
|
On Fri, 04 Jun 2010 04:08:46 Gary Pajer wrote: > If I remove the line containing scene.range the original program works > fine. I'm using python-visual from the Ubuntu repository. > Can someone else try it? I'd be especially interested to know if it > crashes using the respository version, but works using Bruce's home-made > version. Works perfectly fine on Kubuntu 10.04 (32 bit). Well, fine as in "it doesn't segfault". But I do get an exception on the last line (RuntimeError): """ RuntimeError: Reading .scale and .range is not supported when autoscale is enabled. """ Which is fair enough. Are you maybe on a 64 bit system, that behaves (slightly) different? It might also help to run the problem under strace when that happens, or under gdb to trace down the original problem. HTH, Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: Gary P. <gar...@gm...> - 2010-06-03 16:10:32
|
A program of mine segfaults on Kubuntu 10.04 I've extracted the offending code: #---------------------------------- from visual import * sphere() scene.range = scene.range * 3. #----------------------------------- If I remove the line containing scene.range the original program works fine. I'm using python-visual from the Ubuntu repository. Can someone else try it? I'd be especially interested to know if it crashes using the respository version, but works using Bruce's home-made version. thanks, gary |
From: <b2t...@uc...> - 2010-05-31 16:14:53
|
Thanks guys, I switched to 10.04 and everything worked out quickly! > Hi, > > I've used python on windows vista for a year now, but I just switched over > to Ubuntu 9.10. I've read the instructions in Hackers.txt and I can't > figure it out. Is there any thread that has thoroughly addressed this for > true beginners of Ubuntu? > > Line by line terminal commands would be helpful! > > Thanks, > Benjamin Thompson > UCSD Dept. of Structural Engineering > 619-792-0925 > Benjamin Thompson UCSD Dept. of Structural Engineering 619-792-0925 |
From: Andrew M. <amo...@de...> - 2010-05-31 13:59:44
|
Has something about the boost libraries changed since December? We had a discussion on this list back then about installing on Ubuntu Karmic (9.10) and for me, the fix involved installing the libgtkglextmm-x11-1.2-dev package (and its dependencies). This was as simple as "sudo apt-get install libgtkglextmm-x11-1.2-dev". Look back over those threads for the full description if you don't wish to upgrade to 10.04. On Sun, May 30, 2010 at 11:32 AM, Bruce Sherwood <Bru...@nc...> wrote: > I updated the documentation on the Linux download page at vpython.org. > Indeed, it is the case that the python-visual package on Ubuntu 9.10 is > broken, and the fix is not easy (one must rebuild the Boost libraries from > source). By far the easiest course is simply to allow Ubuntu to upgrade > itself to 10.04 and then use the Synaptic Package Manager to install > python-visual. > > Bruce Sherwood > > Bruce Sherwood wrote: > > Linux can be a pretty harsh environment for building an application from > source, and not for true beginners, but normally you can use the > Synaptic Package Manager, search for python-visual, and install with no > problem. However, I seem to remember that there was a bug in that > package on Ubuntu 9.10. Since you say you just switched to 9.10, my > recommendation would be to upgrade to 10.04, where python-visual works > and is more up to date (5.12; the current version of Visual is 5.32). > > If for some reason 10.04 is not an option, I can say that HACKING.txt is > not relevant if you start from the file on the Linux download page at > vpython.org. Instead, read the instructions in INSTALL.txt. They are > alas complicated, which is why people build packages like python-visual. > > Bruce Sherwood > > b2t...@uc... wrote: > > > Hi, > > I've used python on windows vista for a year now, but I just switched over > to Ubuntu 9.10. I've read the instructions in Hackers.txt and I can't > figure it out. Is there any thread that has thoroughly addressed this for > true beginners of Ubuntu? > > Line by line terminal commands would be helpful! > > Thanks, > Benjamin Thompson > UCSD Dept. of Structural Engineering > 619-792-0925 > > ------------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Bruce S. <Bru...@nc...> - 2010-05-30 16:32:59
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> I updated the documentation on the Linux download page at vpython.org. Indeed, it is the case that the python-visual package on Ubuntu 9.10 is broken, and the fix is not easy (one must rebuild the Boost libraries from source). By far the easiest course is simply to allow Ubuntu to upgrade itself to 10.04 and then use the Synaptic Package Manager to install python-visual.<br> <br> Bruce Sherwood<br> <br> Bruce Sherwood wrote: <blockquote cite="mid:231...@nc..." type="cite"> <pre wrap="">Linux can be a pretty harsh environment for building an application from source, and not for true beginners, but normally you can use the Synaptic Package Manager, search for python-visual, and install with no problem. However, I seem to remember that there was a bug in that package on Ubuntu 9.10. Since you say you just switched to 9.10, my recommendation would be to upgrade to 10.04, where python-visual works and is more up to date (5.12; the current version of Visual is 5.32). If for some reason 10.04 is not an option, I can say that HACKING.txt is not relevant if you start from the file on the Linux download page at vpython.org. Instead, read the instructions in INSTALL.txt. They are alas complicated, which is why people build packages like python-visual. Bruce Sherwood <a class="moz-txt-link-abbreviated" href="mailto:b2t...@uc...">b2t...@uc...</a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, I've used python on windows vista for a year now, but I just switched over to Ubuntu 9.10. I've read the instructions in Hackers.txt and I can't figure it out. Is there any thread that has thoroughly addressed this for true beginners of Ubuntu? Line by line terminal commands would be helpful! Thanks, Benjamin Thompson UCSD Dept. of Structural Engineering 619-792-0925 ------------------------------------------------------------------------------ _______________________________________________ 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> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ _______________________________________________ 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> </blockquote> </body> </html> |
From: Bruce S. <Bru...@nc...> - 2010-05-30 15:28:19
|
Linux can be a pretty harsh environment for building an application from source, and not for true beginners, but normally you can use the Synaptic Package Manager, search for python-visual, and install with no problem. However, I seem to remember that there was a bug in that package on Ubuntu 9.10. Since you say you just switched to 9.10, my recommendation would be to upgrade to 10.04, where python-visual works and is more up to date (5.12; the current version of Visual is 5.32). If for some reason 10.04 is not an option, I can say that HACKING.txt is not relevant if you start from the file on the Linux download page at vpython.org. Instead, read the instructions in INSTALL.txt. They are alas complicated, which is why people build packages like python-visual. Bruce Sherwood b2t...@uc... wrote: > Hi, > > I've used python on windows vista for a year now, but I just switched over > to Ubuntu 9.10. I've read the instructions in Hackers.txt and I can't > figure it out. Is there any thread that has thoroughly addressed this for > true beginners of Ubuntu? > > Line by line terminal commands would be helpful! > > Thanks, > Benjamin Thompson > UCSD Dept. of Structural Engineering > 619-792-0925 > > ------------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |