Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#80 2D graphics error in WinXP on AMD dual-core

Myungsunn Ryu

I'm using VPython 2.6.2 in Windows XP running on AMD 64bit dual-core processor PC.
When I try to use visual.graphics module I get an error message:

Runtime Error!
Program: C\Python26\pythonw.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

I tried to pinpoint the occurence of this error with the Debugger by tracking into function calls that makes troble.
I ran the example code "graphtest.py" in "C:\Python26\lib\site-packages\visual\examples\".
Here's what I see in the debug control before going another step to get the error:

'bdb'.run(), line 368:exec cmd in globals, locals
'visual.graph',<module>(), line 8: oscillation = gdisplay(xtitle='Time', ytitle='Response')
'visual.graph',__init__(), line 193: self.axisdisplay(axis, axissign)
'visual.graph',axisdisplay(), line 258: font=graphfont, xoffset=tminor, opacity=0, box=0, line=0)
> 'visual.primitives',__init__(), line 69: self.__display.add_renderable(self)

The Local variables at this point were:
_other None
keywords {'box':0, 'opacity':0, 't... 'font': '', 'xoffset':5,0}
self <visual.primitives.label object at 0x0147BF00>

(hundreds of globals I cannot capture or type them out here)

This was as far as I could go.
Can I get some help how to fix the error?
Thanks in advance.


  • Myungsunn Ryu
    Myungsunn Ryu

    Debug Control captured image