<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/visualpython/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/visualpython/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 04 Sep 2011 22:05:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/visualpython/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Mouse status not updating</title><link>https://sourceforge.net/p/visualpython/bugs/81/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The value of scene.mouse.button never changes. Try running the following:&lt;/p&gt;
&lt;p&gt;from visual import *&lt;/p&gt;
&lt;p&gt;scene.title = "Test"&lt;br /&gt;
status = label(text="test",color=(1,0,0),box=False)&lt;/p&gt;
&lt;p&gt;while True:&lt;/p&gt;
&lt;p&gt;rate(100)&lt;/p&gt;
&lt;p&gt;stat = ("\nevents:  %d")       % (scene.mouse.events)  \
+ ("\nclicked: %d")       % (scene.mouse.clicked) \
+ ("\npos:     %d,%d,%d") % (scene.mouse.pos.x,scene.mouse.pos.y,scene.mouse.pos.z)&lt;/p&gt;
&lt;p&gt;if scene.mouse.button is None:&lt;br /&gt;
stat += "\nbutton:  None"&lt;br /&gt;
else:&lt;br /&gt;
stat += "\nbutton:  " + scene.mouse.button&lt;/p&gt;
&lt;p&gt;status.text = stat&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim de Graff</dc:creator><pubDate>Sun, 04 Sep 2011 22:05:07 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1d90e690f14fb966bd34131c6a5c95ca3b9c7005</guid></item><item><title>2D graphics error in WinXP on AMD dual-core </title><link>https://sourceforge.net/p/visualpython/bugs/80/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using VPython 2.6.2 in Windows XP running on AMD 64bit dual-core processor PC.&lt;br /&gt;
When I try to use visual.graphics module I get an error message:&lt;/p&gt;
&lt;p&gt;Runtime Error!&lt;br /&gt;
Program: C\Python26\pythonw.exe&lt;br /&gt;
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.&lt;/p&gt;
&lt;p&gt;I tried to pinpoint the occurence of this error with the Debugger by tracking into function calls that makes troble.&lt;br /&gt;
I ran the example code "graphtest.py" in "C:\Python26\lib\site-packages\visual\examples\".&lt;br /&gt;
Here's what I see in the debug control before going another step to get the error:&lt;/p&gt;
&lt;p&gt;'bdb'.run(), line 368:exec cmd in globals, locals&lt;br /&gt;
'visual.graph',&amp;lt;module&amp;gt;(), line 8: oscillation = gdisplay(xtitle='Time', ytitle='Response')&lt;br /&gt;
'visual.graph',__init__(), line 193: self.axisdisplay(axis, axissign)&lt;br /&gt;
'visual.graph',axisdisplay(), line 258: font=graphfont, xoffset=tminor, opacity=0, box=0, line=0)&lt;br /&gt;
&amp;gt; 'visual.primitives',__init__(), line 69: self.__display.add_renderable(self)&lt;/p&gt;
&lt;p&gt;The Local variables at this point were:&lt;br /&gt;
_other        None&lt;br /&gt;
keywords  {'box':0, 'opacity':0, 't... 'font': '', 'xoffset':5,0}&lt;br /&gt;
self            &amp;lt;visual.primitives.label object at 0x0147BF00&amp;gt;&lt;/p&gt;
&lt;p&gt;(hundreds of globals I cannot capture or type them out here)&lt;/p&gt;
&lt;p&gt;This was as far as I could go.&lt;br /&gt;
Can I get some help how to fix the error?&lt;br /&gt;
Thanks in advance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Myungsunn Ryu</dc:creator><pubDate>Mon, 17 Aug 2009 16:11:59 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbc22d704af8338d52106cb0a2f90575070a2fa99</guid></item><item><title>make fails</title><link>https://sourceforge.net/p/visualpython/bugs/79/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;make fails for me and says:&lt;/p&gt;
&lt;p&gt;In file included from ../include/python/convex.hpp:12,&lt;br /&gt;
from ./python/convex.cpp:6:&lt;br /&gt;
../include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No such file or directory&lt;br /&gt;
../include/python/num_util.hpp:68:31: warning: numpy/arrayobject.h: No such file or directory&lt;br /&gt;
../include/python/num_util.hpp:90: error: 'npy_intp' was not declared in this scope&lt;br /&gt;
../include/python/num_util.hpp:90: error: 'NPY_TYPES' was not declared in this scope&lt;br /&gt;
../include/python/num_util.hpp:100: error: 'npy_intp' was not declared in this scope&lt;/p&gt;
&lt;p&gt;and prints a lot of other errors. My system is linux and the version is visual-4.beta26. I tracked the issue down to be in the configure script which fails to find the right PYTHON_PREFIX under linux:&lt;/p&gt;
&lt;p&gt;if test $PYTHON_PLATFORM = "win32"; then&lt;br /&gt;
PYTHON_PREFIX=`$PYTHON -c "from distutils import sysconfig; print sysconfig.PREFIX"`&lt;/p&gt;
&lt;p&gt;PYTHON_EXEC_PREFIX=`$PYTHON -c "from distutils import sysconfig; print sysconfig.EXEC_PREFIX"`&lt;/p&gt;
&lt;p&gt;else&lt;br /&gt;
PYTHON_PREFIX='${prefix}'&lt;/p&gt;
&lt;p&gt;PYTHON_EXEC_PREFIX='${exec_prefix}'&lt;/p&gt;
&lt;p&gt;fi&lt;/p&gt;
&lt;p&gt;changing the first line to&lt;br /&gt;
if test $PYTHON_PLATFORM = "win32" -o test $PYTHON_PLATFORM = "win32"; then&lt;br /&gt;
works for me. I don't know however why autoconf doesn't do this itself.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 29 May 2008 21:12:15 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net466c88efcc71978555820daca8b807e6bcb845ae</guid></item><item><title>Python on Mac OS X Leopard</title><link>https://sourceforge.net/p/visualpython/bugs/78/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;VPython needs the following LDFLAGS entry for compiling on Leopard:&lt;/p&gt;
&lt;p&gt;LDFLAGS="-framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"&lt;/p&gt;
&lt;p&gt;This gets around a documented bug-feature in Leopard where the OpenGL libraries are installed in a different place from previous versions.&lt;/p&gt;
&lt;p&gt;In the fink info file for visual-py24 this can be achieved by adding an appropriate export LDFLAGS line to the info file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 24 Feb 2008 15:05:04 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4a3d9a0d0337adb855bc2d7f229daabff36c4ee8</guid></item><item><title>label distance from camera not quite right</title><link>https://sourceforge.net/p/visualpython/bugs/77/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
I've observed that the z-ind computation of a label's distance from the camera (and subsequently which label appears in front) isn't quite right.&lt;br /&gt;
Please see example code (it's work on an interactive tree builder)&lt;/p&gt;
&lt;p&gt;Thanks for the really awesome project.  Exactly what I needed,&lt;br /&gt;
Beracah&lt;br /&gt;
beracah@mit.edu&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 22 Feb 2007 01:56:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb596577c3fcb0fa546e960f1a440ee63fe64841f</guid></item><item><title>Segfault when when with pylab / matplotlib functions</title><link>https://sourceforge.net/p/visualpython/bugs/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Version information:&lt;br /&gt;
---------------------------&lt;br /&gt;
Vpython visual-4.beta14&lt;br /&gt;
In [2]: visual.__version__&lt;br /&gt;
Out[2]: '1.0.1'&lt;br /&gt;
Python 2.4.4, Fedora Core 6 updated.&lt;/p&gt;
&lt;p&gt;A segfault is reliably produced when running vpython along with pylab / matplotlib functions:&lt;/p&gt;
&lt;p&gt;cut------------------------------------------&lt;br /&gt;
from visual import *&lt;br /&gt;
from pylab import *&lt;/p&gt;
&lt;p&gt;ball = sphere( pos=(0,0,0), color=color.red)&lt;br /&gt;
x=arange(0,10,0.1)&lt;br /&gt;
y=sin(2*pi*x)&lt;br /&gt;
plot(x,y)&lt;br /&gt;
cut ------------------------------------------&lt;/p&gt;
&lt;p&gt;Remvoving _either_ the visual sphere call _or_ the pylab plot call eliminates the segfault&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 31 Jan 2007 22:42:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net418cd3f4e9d86b251d448cdfce36e46820843ec2</guid></item><item><title>RuntimeError: boost::bad_weak_ptr when running graphtest.py</title><link>https://sourceforge.net/p/visualpython/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using Ubuntu 6.06 (python2.4) I get the following&lt;br /&gt;
traceback :&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
File "graphtest.py", line 8, in ?&lt;br /&gt;
oscillation = gdisplay(xtitle='t', ytitle='Response')&lt;br /&gt;
File&lt;br /&gt;
"/usr/lib/python2.4/site-packages/visual/graph.py",&lt;br /&gt;
line 192, in __init__    currentdisplay.select()&lt;br /&gt;
RuntimeError: boost::bad_weak_ptr&lt;/p&gt;
&lt;p&gt;Out of curiosity I examined graph.py.&lt;/p&gt;
&lt;p&gt;From what I can see the currentdisplay is initialised&lt;br /&gt;
from the display from a test sphere which is created&lt;br /&gt;
and subsequently destroyed.&lt;/p&gt;
&lt;p&gt;test = sphere(visible=0)&lt;br /&gt;
currentdisplay = test.display&lt;br /&gt;
test = None # discard test sphere&lt;/p&gt;
&lt;p&gt;Uncommenting the test = None , "fixes" the failure.&lt;/p&gt;
&lt;p&gt;From what I assume is that on discarding the test&lt;br /&gt;
sphere, the pointer to the display is also getting hosed.&lt;/p&gt;
&lt;p&gt;replacing the code above with :&lt;/p&gt;
&lt;p&gt;currentdisplay = display.get_selected()&lt;/p&gt;
&lt;p&gt;Also fixes the problem, in a similar way as the&lt;br /&gt;
controls.py package.&lt;/p&gt;
&lt;p&gt;Now the only reason to get the currentdisplay is to&lt;br /&gt;
select afterwards. Since selecting the selected display&lt;br /&gt;
seems a bit superfluous, I tried what it would do when&lt;br /&gt;
removing all references to currentdisplay : works fine.&lt;/p&gt;
&lt;p&gt;grts,&lt;/p&gt;
&lt;p&gt;pti(at)telenet.be&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 23 Jul 2006 06:14:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net23351d86bb75b1f06519c9ed9f74987c2ce278ce</guid></item><item><title>Doesn't work with Fedora Linux</title><link>https://sourceforge.net/p/visualpython/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Later versions of RedHat and other distros seem to be&lt;br /&gt;
using gtkglarea2 instead of gtkglarea.  Would it be&lt;br /&gt;
possible to update the dependencies in the configure&lt;br /&gt;
script?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Edwards</dc:creator><pubDate>Sat, 25 Mar 2006 18:49:02 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd494b519ff446a80f32fac1d7abd741fafdd1163</guid></item><item><title>label broken on Linux/Unix</title><link>https://sourceforge.net/p/visualpython/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The label command is currently not working properly on&lt;br /&gt;
Linux and Unix (Mac OSX). No matter what height is&lt;br /&gt;
specified for the font, you get a small font. I'm not&lt;br /&gt;
sure whether this worked in the pre-Boost version.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce Sherwood</dc:creator><pubDate>Wed, 12 Oct 2005 17:33:42 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta3f35b563c30918ace315a8e6c6a6b8ce97b3757</guid></item><item><title>diff_angle for the same vectors returns non zero</title><link>https://sourceforge.net/p/visualpython/bugs/72/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;gt;v = vector()&lt;br /&gt;
&amp;gt;v2 = vector()&lt;br /&gt;
Lv.diff_angle(v2)&lt;br /&gt;
1.5707963267948966&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ashot</dc:creator><pubDate>Tue, 21 Jun 2005 01:32:21 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net00f5514604240b160528f4de8fd89179a3fff3fd</guid></item></channel></rss>