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: <dal...@ea...> - 2011-01-24 14:01:59
|
Any anyone been able to get vPython running under netbeans? At first I thought it might be as simple as including the visual library, but so far have not been able to get things running. Thanks, -d |
From: Martin C. <cos...@wa...> - 2011-01-24 12:12:07
|
On 24/01/11 11:17 , Daniel Farrell wrote: [] > * Is there a fundamentally reason for sticking to 32-bit (e.g. > dependency difficulties?) I can't answer your other questions, but this one I can: There is no such reason. Fink (an older "community driven package manager for MacOS") has vpython version 5.40 (package visual-py27) that builds OK in the 64bit tree. -- Martin |
From: Daniel F. <boy...@gm...> - 2011-01-24 10:17:22
|
Dear list, I have recently discovered the Homebrew project, which is a fantastic community driven package manager for MacOS, http://github.com/mxcl/homebrew . Using this and pip (http://pypi.python.org/pypi/pip) I have build a really stable python environment, both 32-bit and 64-bit on MacOS including numpy, scipy etc.. I would now like to add vpython to the stack. Currently, I'm using the pre-compiled 32-bit version from the installer and it works really well with my python environment. However, this fails when imported from the 64-bit python. So my questions: * How easy would it be to provide a 'brew' for vpython specific to MacOS? * Could a more general installer for vpython be added to the pip package manager? * Is there a fundamentally reason for sticking to 32-bit (e.g. dependency difficulties?) Best, Dan |
From: Guy K. K. <guy...@au...> - 2011-01-16 22:50:46
|
On Sun, 16 Jan 2011 08:12:05 Patrick Shea wrote: > Unfortunately I still have the same problem with the version I compiled > as I was having with the python-visual package from ubuntu's > repositories. Unfortunately a *very* common problem when people unaware of that try to install something from sources and forget to first remove the distribution's version. Tinkering around wildly in the presence of two competing installs with no precautions taken for separating the properly can be hell through poking around with a thick stick in a dark hole. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |
From: Bruce S. <Bru...@nc...> - 2011-01-15 20:03:23
|
For what it's worth, Visual works fine for many people on Ubuntu 10.10, both the package python-visual and building from source. Thanks for the link to a bug report. This is very puzzling and frustrating, and I don't see how to get at the problem, which presumably is hardware-related, and/or an issue with particular graphics drivers. Bruce Sherwood On Sat, Jan 15, 2011 at 12:12 PM, Patrick Shea <pat...@gm...> wrote: > > > Never mind, I tried compiling again, this time doing it from the source > directory rather than creating a new directory, and I got it to work and > install properly. I also had to install the Polygon, fonttools, and > ttfquery modules to get visual to load (I missed that part in the > INSTALL.txt instructions last time). > > Unfortunately I still have the same problem with the version I compiled > as I was having with the python-visual package from ubuntu's > repositories. When I open a vpython window by doing say: > import visual > visual.sphere() > I get the error message: > > i915_program_error: Exceeded max instructions (318 out of 123) > > and vpython runs extremely slow (interacting with the mouse takes 5-10 > seconds to respond). 3D graphics seem to work very well otherwise on > the computer, so I thought it might have been a problem with ubuntu's > version of visual python, but I guess it must be something else. After > googling, I found some people with the same problem: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598896 > but nobody seems to have found a solution. > > On Sat, 2011-01-15 at 12:16 -0400, Patrick Shea wrote: >> Thanks for your reply! Unfortunately, for me running sudo make install >> just copies the cvisualmodule.so file >> to ../visual-5.4_release/site-packages/visual/cvisualmodule.so. Here's >> what I did in detail: >> >> 1. Make a directory on the same level as the source directory, and copy >> visual-5.4_release/src/gtk2/makefile into it. (I also had to edit a >> couple of things in the makefile: I changed the name of the source >> directory to visual-5.4_release from vpython-core2, and changed the >> -lboost_python-mt flags to -lboost_python-mt-py26, since that's how the >> libraries are named in Ubuntu) >> >> 2. I ran configure from the newly created directory with the makefile in >> it, with the --prefix=/usr argument. >> >> 3. Ran make from the same directory >> >> 4. Then when I run sudo make install, it just says >> cp cvisualmodule.so ../visual-5.4_release/site-packages/visual, >> and nothing gets copied into /usr/lib/python2.6 >> >> Thanks for your help, >> Patrick >> >> On Fri, 2011-01-14 at 23:29 -0700, Bruce Sherwood wrote: >> > You need to execute "sudo make install" to move the various components >> > into the right places. For cleanliness, it would be a good idea first >> > to remove the Visual stuff from site-packages. >> > >> > Also, because site-packages is no longer (alas) on the Ubuntu Python >> > module search path, you need to follow these instructions in >> > INSTALL.txt: >> > >> > You will also need to copy vpython-core2/src/gtk2/site-packages.pth to >> > /usr/lib/python2.6/dist-packages to put /usr/lib/python2.6/site-packages >> > on the Python search path. >> > >> > You will have to adjust the contents of site-packages.pth text file if >> > you are installing to /usr/lib rather than /usr/local. >> > >> > Hope this helps! >> > >> > Bruce Sherwood >> > >> > On Fri, Jan 14, 2011 at 8:27 PM, Patrick Shea >> > <pat...@gm...> wrote: >> > > I tried building visual python 5.4 following the directions in the >> > > INSTALL.txt file. I made a directory at the same level as the >> > > "visual-5.4_release" source directory and ran configure and make. >> > > Everything seems to work fine, and the cvisualmodule.so file is >> > > generated. >> > > >> > > The only thing I'm confused about is that running "make install" just >> > > copies the cvisualmodule.so file back into the visual-5.4_release >> > > directory. I'm just not sure which files I am supposed to move where to >> > > be able to use vpython. I tried just copying the whole >> > > "visual-5.5_release/site-packages" directory into >> > > "/usr/lib/python2.6/site-packages" (making sure it was in python's >> > > search path), but I'm not able to load visual. Doing "import visual" >> > > gives the error: >> > > >> > > ImportError: cannot import name cvisual >> > > >> > > cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual >> > > directory, but it apparently can't be imported. If anyone can help me >> > > figure out what's wrong I'd greatly appreciate it. Thanks. >> > > >> > > >> > > >> > > ------------------------------------------------------------------------------ >> > > Protect Your Site and Customers from Malware Attacks >> > > Learn about various malware tactics and how to avoid them. Understand >> > > malware threats, the impact they can have on your business, and how you >> > > can protect your company and customers by using code signing. >> > > http://p.sf.net/sfu/oracle-sfdevnl >> > > _______________________________________________ >> > > Visualpython-users mailing list >> > > Vis...@li... >> > > https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > >> > >> > ------------------------------------------------------------------------------ >> > Protect Your Site and Customers from Malware Attacks >> > Learn about various malware tactics and how to avoid them. Understand >> > malware threats, the impact they can have on your business, and how you >> > can protect your company and customers by using code signing. >> > http://p.sf.net/sfu/oracle-sfdevnl >> > _______________________________________________ >> > Visualpython-users mailing list >> > Vis...@li... >> > https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> >> >> > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Patrick S. <pat...@gm...> - 2011-01-15 19:18:20
|
Never mind, I tried compiling again, this time doing it from the source directory rather than creating a new directory, and I got it to work and install properly. I also had to install the Polygon, fonttools, and ttfquery modules to get visual to load (I missed that part in the INSTALL.txt instructions last time). Unfortunately I still have the same problem with the version I compiled as I was having with the python-visual package from ubuntu's repositories. When I open a vpython window by doing say: import visual visual.sphere() I get the error message: i915_program_error: Exceeded max instructions (318 out of 123) and vpython runs extremely slow (interacting with the mouse takes 5-10 seconds to respond). 3D graphics seem to work very well otherwise on the computer, so I thought it might have been a problem with ubuntu's version of visual python, but I guess it must be something else. After googling, I found some people with the same problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598896 but nobody seems to have found a solution. On Sat, 2011-01-15 at 12:16 -0400, Patrick Shea wrote: > Thanks for your reply! Unfortunately, for me running sudo make install > just copies the cvisualmodule.so file > to ../visual-5.4_release/site-packages/visual/cvisualmodule.so. Here's > what I did in detail: > > 1. Make a directory on the same level as the source directory, and copy > visual-5.4_release/src/gtk2/makefile into it. (I also had to edit a > couple of things in the makefile: I changed the name of the source > directory to visual-5.4_release from vpython-core2, and changed the > -lboost_python-mt flags to -lboost_python-mt-py26, since that's how the > libraries are named in Ubuntu) > > 2. I ran configure from the newly created directory with the makefile in > it, with the --prefix=/usr argument. > > 3. Ran make from the same directory > > 4. Then when I run sudo make install, it just says > cp cvisualmodule.so ../visual-5.4_release/site-packages/visual, > and nothing gets copied into /usr/lib/python2.6 > > Thanks for your help, > Patrick > > On Fri, 2011-01-14 at 23:29 -0700, Bruce Sherwood wrote: > > You need to execute "sudo make install" to move the various components > > into the right places. For cleanliness, it would be a good idea first > > to remove the Visual stuff from site-packages. > > > > Also, because site-packages is no longer (alas) on the Ubuntu Python > > module search path, you need to follow these instructions in > > INSTALL.txt: > > > > You will also need to copy vpython-core2/src/gtk2/site-packages.pth to > > /usr/lib/python2.6/dist-packages to put /usr/lib/python2.6/site-packages > > on the Python search path. > > > > You will have to adjust the contents of site-packages.pth text file if > > you are installing to /usr/lib rather than /usr/local. > > > > Hope this helps! > > > > Bruce Sherwood > > > > On Fri, Jan 14, 2011 at 8:27 PM, Patrick Shea > > <pat...@gm...> wrote: > > > I tried building visual python 5.4 following the directions in the > > > INSTALL.txt file. I made a directory at the same level as the > > > "visual-5.4_release" source directory and ran configure and make. > > > Everything seems to work fine, and the cvisualmodule.so file is > > > generated. > > > > > > The only thing I'm confused about is that running "make install" just > > > copies the cvisualmodule.so file back into the visual-5.4_release > > > directory. I'm just not sure which files I am supposed to move where to > > > be able to use vpython. I tried just copying the whole > > > "visual-5.5_release/site-packages" directory into > > > "/usr/lib/python2.6/site-packages" (making sure it was in python's > > > search path), but I'm not able to load visual. Doing "import visual" > > > gives the error: > > > > > > ImportError: cannot import name cvisual > > > > > > cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual > > > directory, but it apparently can't be imported. If anyone can help me > > > figure out what's wrong I'd greatly appreciate it. Thanks. > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Protect Your Site and Customers from Malware Attacks > > > Learn about various malware tactics and how to avoid them. Understand > > > malware threats, the impact they can have on your business, and how you > > > can protect your company and customers by using code signing. > > > http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > > > Visualpython-users mailing list > > > Vis...@li... > > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > > > ------------------------------------------------------------------------------ > > Protect Your Site and Customers from Malware Attacks > > Learn about various malware tactics and how to avoid them. Understand > > malware threats, the impact they can have on your business, and how you > > can protect your company and customers by using code signing. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > |
From: Patrick S. <pat...@gm...> - 2011-01-15 16:16:54
|
Thanks for your reply! Unfortunately, for me running sudo make install just copies the cvisualmodule.so file to ../visual-5.4_release/site-packages/visual/cvisualmodule.so. Here's what I did in detail: 1. Make a directory on the same level as the source directory, and copy visual-5.4_release/src/gtk2/makefile into it. (I also had to edit a couple of things in the makefile: I changed the name of the source directory to visual-5.4_release from vpython-core2, and changed the -lboost_python-mt flags to -lboost_python-mt-py26, since that's how the libraries are named in Ubuntu) 2. I ran configure from the newly created directory with the makefile in it, with the --prefix=/usr argument. 3. Ran make from the same directory 4. Then when I run sudo make install, it just says cp cvisualmodule.so ../visual-5.4_release/site-packages/visual, and nothing gets copied into /usr/lib/python2.6 Thanks for your help, Patrick On Fri, 2011-01-14 at 23:29 -0700, Bruce Sherwood wrote: > You need to execute "sudo make install" to move the various components > into the right places. For cleanliness, it would be a good idea first > to remove the Visual stuff from site-packages. > > Also, because site-packages is no longer (alas) on the Ubuntu Python > module search path, you need to follow these instructions in > INSTALL.txt: > > You will also need to copy vpython-core2/src/gtk2/site-packages.pth to > /usr/lib/python2.6/dist-packages to put /usr/lib/python2.6/site-packages > on the Python search path. > > You will have to adjust the contents of site-packages.pth text file if > you are installing to /usr/lib rather than /usr/local. > > Hope this helps! > > Bruce Sherwood > > On Fri, Jan 14, 2011 at 8:27 PM, Patrick Shea > <pat...@gm...> wrote: > > I tried building visual python 5.4 following the directions in the > > INSTALL.txt file. I made a directory at the same level as the > > "visual-5.4_release" source directory and ran configure and make. > > Everything seems to work fine, and the cvisualmodule.so file is > > generated. > > > > The only thing I'm confused about is that running "make install" just > > copies the cvisualmodule.so file back into the visual-5.4_release > > directory. I'm just not sure which files I am supposed to move where to > > be able to use vpython. I tried just copying the whole > > "visual-5.5_release/site-packages" directory into > > "/usr/lib/python2.6/site-packages" (making sure it was in python's > > search path), but I'm not able to load visual. Doing "import visual" > > gives the error: > > > > ImportError: cannot import name cvisual > > > > cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual > > directory, but it apparently can't be imported. If anyone can help me > > figure out what's wrong I'd greatly appreciate it. Thanks. > > > > > > > > ------------------------------------------------------------------------------ > > Protect Your Site and Customers from Malware Attacks > > Learn about various malware tactics and how to avoid them. Understand > > malware threats, the impact they can have on your business, and how you > > can protect your company and customers by using code signing. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2011-01-15 06:29:41
|
You need to execute "sudo make install" to move the various components into the right places. For cleanliness, it would be a good idea first to remove the Visual stuff from site-packages. Also, because site-packages is no longer (alas) on the Ubuntu Python module search path, you need to follow these instructions in INSTALL.txt: You will also need to copy vpython-core2/src/gtk2/site-packages.pth to /usr/lib/python2.6/dist-packages to put /usr/lib/python2.6/site-packages on the Python search path. You will have to adjust the contents of site-packages.pth text file if you are installing to /usr/lib rather than /usr/local. Hope this helps! Bruce Sherwood On Fri, Jan 14, 2011 at 8:27 PM, Patrick Shea <pat...@gm...> wrote: > I tried building visual python 5.4 following the directions in the > INSTALL.txt file. I made a directory at the same level as the > "visual-5.4_release" source directory and ran configure and make. > Everything seems to work fine, and the cvisualmodule.so file is > generated. > > The only thing I'm confused about is that running "make install" just > copies the cvisualmodule.so file back into the visual-5.4_release > directory. I'm just not sure which files I am supposed to move where to > be able to use vpython. I tried just copying the whole > "visual-5.5_release/site-packages" directory into > "/usr/lib/python2.6/site-packages" (making sure it was in python's > search path), but I'm not able to load visual. Doing "import visual" > gives the error: > > ImportError: cannot import name cvisual > > cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual > directory, but it apparently can't be imported. If anyone can help me > figure out what's wrong I'd greatly appreciate it. Thanks. > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Patrick S. <pat...@gm...> - 2011-01-15 03:27:57
|
I tried building visual python 5.4 following the directions in the INSTALL.txt file. I made a directory at the same level as the "visual-5.4_release" source directory and ran configure and make. Everything seems to work fine, and the cvisualmodule.so file is generated. The only thing I'm confused about is that running "make install" just copies the cvisualmodule.so file back into the visual-5.4_release directory. I'm just not sure which files I am supposed to move where to be able to use vpython. I tried just copying the whole "visual-5.5_release/site-packages" directory into "/usr/lib/python2.6/site-packages" (making sure it was in python's search path), but I'm not able to load visual. Doing "import visual" gives the error: ImportError: cannot import name cvisual cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual directory, but it apparently can't be imported. If anyone can help me figure out what's wrong I'd greatly appreciate it. Thanks. |
From: Bruce S. <Bru...@nc...> - 2011-01-12 19:37:23
|
Often that means that the graphics driver needs to be updated. On the other hand, I think there hasn't been a lot of experience with Visual on 64-bit Linux. Bruce Sherwood On Wed, Jan 12, 2011 at 12:32 PM, jorge a secas <ta...@ho...> wrote: > Hi i have a problem with python-visual, i've installed it on fedora 14 64 > bits, all went ok, but when load a source code let's say python pr1.py it > shows a black screen and no graphics at all > > txs. |
From: jorge a s. <ta...@ho...> - 2011-01-12 19:32:42
|
Hi i have a problem with python-visual, i've installed it on fedora 14 64 bits, all went ok, but when load a source code let's say python pr1.py it shows a black screen and no graphics at all txs. |
From: Bruce S. <Bru...@nc...> - 2011-01-08 17:02:17
|
It would seem to be an inconsistency that currently there isn't a way to change the background of a label. However, note that you can change the opacity, so that setting opacity=0 (and perhaps box=False) may do what you want in your particular case. label currently honors scene.foreground but not scene.background; a fix would be an incompatible change but probably worth doing. Bruce Sherwood On Sat, Jan 8, 2011 at 7:59 AM, Poul Riis <Pou...@sk...> wrote: > How can I control the background color of some text in a label (see example > below - I would like a white background). > Poul Riis > > from visual.graph import * > pgraph = gdisplay(title='p vs t', xtitle='t (s)', ytitle='p (Pa)', x=0, y=0, > xmax=100, ymax=20, width=500, height=215,foreground=color.black, > background=color.white) > label(display=pgraph.display, pos=(20,10), text="Some text",color=color.red) > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Poul R. <Pou...@sk...> - 2011-01-08 14:59:24
|
How can I control the background color of some text in a label (see example below - I would like a white background). Poul Riis from visual.graph import * pgraph = gdisplay(title='p vs t', xtitle='t (s)', ytitle='p (Pa)', x=0, y=0, xmax=100, ymax=20, width=500, height=215,foreground=color.black, background=color.white) label(display=pgraph.display, pos=(20,10), text="Some text",color=color.red) |
From: Bruce S. <Bru...@nc...> - 2011-01-05 00:29:25
|
The next thing is to see whether there is in fact anything inside the numpy folder. Also, in a terminal try this: > python2.7 ... > from numpy import * > arange(4) You should see [0 1 2 3]. This test rules out issues with VIDLE or Visual. I assume these are Intel Macs? Bruce Sherwood On Tue, Jan 4, 2011 at 1:44 PM, Joe Heafner <hea...@gm...> wrote: > On Tue, Jan 4, 2011 at 3:39 PM, Bruce Sherwood <Bru...@nc...> > wrote: >> >> The code in /ttfquery/glyph.py looks like this: >> >> try: >> import numpy as Numeric >> except ImportError, err: >> import Numeric >> >> So the real problem seems to be that numpy isn't installed, which is >> odd, since the VPython installer installs numpy. >> >> Please report what folders you see in >> >> >> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ >> >> There should be a numpy folder. > > > Indeed there is. > Joe |
From: Joe H. <hea...@gm...> - 2011-01-04 20:44:57
|
On Tue, Jan 4, 2011 at 3:39 PM, Bruce Sherwood <Bru...@nc...>wrote: > The code in /ttfquery/glyph.py looks like this: > > try: > import numpy as Numeric > except ImportError, err: > import Numeric > > So the real problem seems to be that numpy isn't installed, which is > odd, since the VPython installer installs numpy. > > Please report what folders you see in > > > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ > > There should be a numpy folder. > Indeed there is. Joe |
From: Bruce S. <Bru...@nc...> - 2011-01-04 20:39:41
|
The code in /ttfquery/glyph.py looks like this: try: import numpy as Numeric except ImportError, err: import Numeric So the real problem seems to be that numpy isn't installed, which is odd, since the VPython installer installs numpy. Please report what folders you see in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ There should be a numpy folder. Bruce Sherwood On Tue, Jan 4, 2011 at 1:13 PM, Joe Heafner <hea...@gm...> wrote: > I'm trying hard to update my classroom MacBooks running 10.5.8 to Python 2.7 > and VPython 5.4. However, upon running > from visual import * > sphere() > from VIDLE I get this: > ImportError: numpy.core.multiarray failed to import > Traceback (most recent call last): > File "Untitled", line 1 > from visual import * > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", > line 1 > from .visual_all import * > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", > line 1 > from vis import version > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", > line 7 > from .primitives import (arrow, cylinder, cone, sphere, box, ring, > label, > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/primitives.py", > line 9 > from ttfquery import describe, glyphquery, glyph > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ttfquery/glyph.py", > line 6 > import Numeric > ImportError: No module named Numeric >>>> > I've looked through the docs; I'm lost. Anyone else seeing this behavior? > Joe > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Joe H. <hea...@gm...> - 2011-01-04 20:13:55
|
I'm trying hard to update my classroom MacBooks running 10.5.8 to Python 2.7 and VPython 5.4. However, upon running from visual import * sphere() from VIDLE I get this: ImportError: numpy.core.multiarray failed to import Traceback (most recent call last): File "Untitled", line 1 from visual import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 1 from .visual_all import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", line 1 from vis import version File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", line 7 from .primitives import (arrow, cylinder, cone, sphere, box, ring, label, File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/primitives.py", line 9 from ttfquery import describe, glyphquery, glyph File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ttfquery/glyph.py", line 6 import Numeric ImportError: No module named Numeric >>> I've looked through the docs; I'm lost. Anyone else seeing this behavior? Joe |
From: Bruce S. <Bru...@nc...> - 2010-12-29 23:29:13
|
I got farther still in trying to build Visual for Python 3 on Ubuntu 10.10. I rebuilt the Boost libraries for Python 3.1 with an option for longer library names (--layout=versioned) which inserted (in my case) -gcc44-mt into the library names. Now I could put these in /usr/lib, because libboost_thread for Python 2.6 doesn't conflict with libboost_thread-gcc44-mt for Python 3.1. I put the folder of boost includes in my own location, which overrode looking in /usr/include/boost. However, although I can build and link and install, when I try to import visual, an import error occurs on trying to import the C++ component, cvisual. The import error message is "dynamic module does not define init function (PyInit_cvisual)" This sounds like a failure of the Boost mechanisms to tag the cvisual entry point properly. Sigh. I don't know what to try next. I would of course be interested to hear from anyone who has attempted to build Visual for Python 3.1 on Ubuntu (or other Linux, for that matter). Bruce Sherwood On Mon, Dec 27, 2010 at 3:12 PM, Bruce Sherwood <Bru...@nc...> wrote: > I got a little farther. Although the documentation looks like > --library-path and -L should be synonyms, it seems like they aren't. > With -L I do find the libraries for Python 3. But then when I try to > run Visual, "import cvisual" fails because there's a search for > libboost_python in /usr/libs which finds a version for Python 2.6, > even if I've copied the Python 3 libraries to /usr/libs. The > fundamental problem is that I don't see how to use distinctive names > for the Python 3 libraries, such as "libboost3_python" instead of > "libboost_python". > > I also tried ld -static and produced a large static library. But > "import cvisual" is apparently unable to deal with a static library on > Ubuntu. > > Bruce Sherwood > > On Sun, Dec 26, 2010 at 10:17 PM, Bruce Sherwood > <Bru...@nc...> wrote: >> I'm trying to build Visual on Ubuntu (10.10) for Python 3.1, where the >> standard Python is Python 2.6, and the Boost 1.42 libraries are >> installed for this version of Python. >> >> I've built the Boost 1.43 libraries for Python 3.1 and placed in my >> own space the Boost folder of include files and, in a folder beside >> the include files, the boost_python, boost_signals, and boost_thread >> libraries. I altered the make file to specify linking these libraries >> from my own directory rather than from the standard locations, as >> follows: >> >> ld ..... --library-path=mylibs -lboost_python -lboost_signals >> -lboost_thread .... >> >> What happens when I build looks like I'm linking against the >> Ubuntu-installed libraries for Python 2.6, because when I try to run >> Visual, I get an import error referring to >> /usr/lib/libboost_python-py2.6.so.1.42.0, which is of course missing a >> needed symbol. >> >> Can anyone shed any light on this? Thanks. >> >> Bruce Sherwood >> > |
From: Bruce S. <Bru...@nc...> - 2010-12-29 16:11:51
|
I don't think this link is relevant. It refers to older versions of Ubuntu on which python-visual was broken. It works okay on Ubuntu 10.10. On Tue, Dec 28, 2010 at 9:34 PM, Joe Heafner <hea...@gm...> wrote: > Just found this with Google. This may fix it. > > http://ubuntuforums.org/showthread.php?t=1326593 >From the test results you sent me (appended below), it looks like the problem has something to do with support for OpenGL in your VirtualBox context. Bruce Sherwood >>> from visual import * >>> box() (<unknown>:1825): GdkGLExt-WARNING **: Cannot open H@[ L.so (<unknown>:1825): GdkGLExt-WARNING **: Cannot open \xe0\x88: L.so glibmm-ERROR **: unhandled exception (type std::exception) in signal handler: what: Unable to get extension function: glCreateProgramObjectARB even though the extension is advertised. |
From: Joe H. <hea...@gm...> - 2010-12-29 04:34:33
|
Just found this with Google. This may fix it. http://ubuntuforums.org/showthread.php?t=1326593 |
From: Danny C. <dan...@gm...> - 2010-12-29 02:06:07
|
Joe, Try running IDLE from the terminal. >> idle & See if that stops the window from closing. Danny -- Sent from a mobile device Please excuse typos On Dec 28, 2010, at 8:59 PM, Joe Heafner <hea...@gm...> wrote: > I've installed Ubuntu 10.10 and everything seems to be working fine. I then installed Python 2.6.6, IDLE for Python 2.6, and the visual package from the Ubuntu package manager. I have NOT installed VIDLE yet. Two things concern me. First, the demo files are not where they "should" be but are instead under /usr/share/doc/something-or-other. Second, when I load a demo script into IDLE and try to run it, Python crashes and the shell and program windows vanish. What am I missing here? I really don't want to build from sources. > > Joe Heafner > Sent from my MacBook Pro > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Joe H. <hea...@gm...> - 2010-12-29 01:59:33
|
I've installed Ubuntu 10.10 and everything seems to be working fine. I then installed Python 2.6.6, IDLE for Python 2.6, and the visual package from the Ubuntu package manager. I have NOT installed VIDLE yet. Two things concern me. First, the demo files are not where they "should" be but are instead under /usr/share/doc/something-or-other. Second, when I load a demo script into IDLE and try to run it, Python crashes and the shell and program windows vanish. What am I missing here? I really don't want to build from sources. Joe Heafner Sent from my MacBook Pro |
From: Weigel, H. <we...@su...> - 2010-12-28 10:24:06
|
Hi all, since some time I am trying to install visual 5.4 on opensuse 11.3 (64bit) w/o success. Configure, make and make install run w/o errors but 'import visual' causes a segmentation fault. On the web I found a hit that in one case 'import wx' , 'import visual' worked, but not for me. In order to get make to run I had to create a symbolic link on /usr/include : lrwxrwxrwx 1 root root 60 2010-12-16 19:04 numpy -> /usr/ lib64/python2.6/site-packages/numpy/core/include/numpy// so that files like arrayprim.* could be found. Any further advise is highly appreciated. Fyi 'build.log' and 'config.log' are attached as a single tar.gz file. Regards, Herbert. 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/ |
From: Bruce S. <Bru...@nc...> - 2010-12-27 22:12:34
|
I got a little farther. Although the documentation looks like --library-path and -L should be synonyms, it seems like they aren't. With -L I do find the libraries for Python 3. But then when I try to run Visual, "import cvisual" fails because there's a search for libboost_python in /usr/libs which finds a version for Python 2.6, even if I've copied the Python 3 libraries to /usr/libs. The fundamental problem is that I don't see how to use distinctive names for the Python 3 libraries, such as "libboost3_python" instead of "libboost_python". I also tried ld -static and produced a large static library. But "import cvisual" is apparently unable to deal with a static library on Ubuntu. Bruce Sherwood On Sun, Dec 26, 2010 at 10:17 PM, Bruce Sherwood <Bru...@nc...> wrote: > I'm trying to build Visual on Ubuntu (10.10) for Python 3.1, where the > standard Python is Python 2.6, and the Boost 1.42 libraries are > installed for this version of Python. > > I've built the Boost 1.43 libraries for Python 3.1 and placed in my > own space the Boost folder of include files and, in a folder beside > the include files, the boost_python, boost_signals, and boost_thread > libraries. I altered the make file to specify linking these libraries > from my own directory rather than from the standard locations, as > follows: > > ld ..... --library-path=mylibs -lboost_python -lboost_signals > -lboost_thread .... > > What happens when I build looks like I'm linking against the > Ubuntu-installed libraries for Python 2.6, because when I try to run > Visual, I get an import error referring to > /usr/lib/libboost_python-py2.6.so.1.42.0, which is of course missing a > needed symbol. > > Can anyone shed any light on this? Thanks. > > Bruce Sherwood > |
From: Bruce S. <Bru...@nc...> - 2010-12-27 05:17:35
|
I'm trying to build Visual on Ubuntu (10.10) for Python 3.1, where the standard Python is Python 2.6, and the Boost 1.42 libraries are installed for this version of Python. I've built the Boost 1.43 libraries for Python 3.1 and placed in my own space the Boost folder of include files and, in a folder beside the include files, the boost_python, boost_signals, and boost_thread libraries. I altered the make file to specify linking these libraries from my own directory rather than from the standard locations, as follows: ld ..... --library-path=mylibs -lboost_python -lboost_signals -lboost_thread .... What happens when I build looks like I'm linking against the Ubuntu-installed libraries for Python 2.6, because when I try to run Visual, I get an import error referring to /usr/lib/libboost_python-py2.6.so.1.42.0, which is of course missing a needed symbol. Can anyone shed any light on this? Thanks. Bruce Sherwood |