Issue 218: pymt v0.4 GLError under Windows XP
Status:  WontFix
Owner: ----
Closed:  Feb 2010
Reported by awa...@gmail.com, Feb 22, 2010
What steps will reproduce the problem?
1. install pymt 0.4 with the installer
2. launch an exemple
3.

What is the expected output? What do you see instead?
Expected : The app to be launched
Instead : Error message

What version of the product are you using? On what operating system?
Win XP
IDLE 2.6.2
Python 2.6.2

Please provide any additional information below.

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 2.6.2      ==== No Subprocess ====
>>> 
[INFO              ] PyMT v0.4
[INFO              ] [No OpenGL_accelerate module loaded] No module named
OpenGL_accelerate
[INFO              ] [Logger  ] Record log in C:\Documents and
Settings\User/.pymt/logs\pymt_10-02-22_18.txt
[INFO              ] [Unable to load registered array format handler numeric]
Traceback (most recent call last):
  File
"C:\Python26\lib\site-packages\pyopengl-3.0.1b2-py2.6-win32.egg\OpenGL\arrays\formathandler.py",
line 44, in loadPlugin
    plugin_class = entrypoint.load()
  File
"C:\Python26\lib\site-packages\pyopengl-3.0.1b2-py2.6-win32.egg\OpenGL\plugins.py",
line 14, in load
    return importByName( self.import_path )
  File
"C:\Python26\lib\site-packages\pyopengl-3.0.1b2-py2.6-win32.egg\OpenGL\plugins.py",
line 28, in importByName
    module = __import__( ".".join(moduleName), {}, {}, moduleName)
  File
"C:\Python26\lib\site-packages\pyopengl-3.0.1b2-py2.6-win32.egg\OpenGL\arrays\numeric.py",
line 15, in <module>
    raise ImportError( """No Numeric module present: %s"""%(err))
ImportError: No Numeric module present: No module named Numeric

[WARNING           ] [Camera  ] Unable to use <gstreamer> as camera provider
[INFO              ] [Camera  ] using <opencv> as camera provider
[INFO              ] [Text    ] using <pygame> as text provider
[WARNING           ] [Video   ] Unable to use <gstreamer> as video provider
[INFO              ] [Video   ] using <pyglet> as video provider
[INFO              ] [OSC     ] using <thread> for socket
[WARNING           ] [Input   ] WM_Touch/WM_Pen is not available for your
window version
[INFO              ] [Loader  ] using <pygame> as thread loader
[INFO              ] [Window  ] use Pygame as window provider.
[INFO              ] [Window  ] OpenGL version <1.1.0>
Traceback (most recent call last):
  File "C:\Program Files\PyMT Examples\3Ddrawing\3Ddrawing.py", line 16, in
<module>
    set_brush(particle_fn, 10)
  File "C:\Python26\lib\site-packages\pymt\graphx\paint.py", line 39, in
set_brush
    point_sprite_img = pymt.Image.load(sprite)
  File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
187, in load
    return Image(filename, **kwargs)
  File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
152, in __init__
    self.filename   = arg
  File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
209, in _set_filename
    self._filename, keep_data=self._keep_data)
  File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
194, in _set_image
    self.texture    = self.image.texture
  File "C:\Python26\lib\site-packages\pymt\core\image\__init__.py", line
66, in _get_texture
    self._texture = Texture.create_from_data(self._data)
  File "C:\Python26\lib\site-packages\pymt\texture.py", line 207, in
create_from_data
    texture = Texture.create(im.width, im.height, format)
  File "C:\Python26\lib\site-packages\pymt\texture.py", line 173, in create
    texture.wrap        = GL_CLAMP_TO_EDGE
  File "C:\Python26\lib\site-packages\pymt\texture.py", line 141, in _set_wrap
    glTexParameteri(self.target, GL_TEXTURE_WRAP_S, wrap)
  File
"C:\Python26\lib\site-packages\pyopengl-3.0.1b2-py2.6-win32.egg\OpenGL\error.py",
line 208, in glCheckError
    baseOperation = baseOperation,
GLError: GLError(
	err = 1280,
	description = 'invalid enumerant',
	baseOperation = glTexParameteri,
	cArguments = (
		GL_TEXTURE_2D,
		GL_TEXTURE_WRAP_S,
		GL_CLAMP_TO_EDGE,
	)
)
Feb 22, 2010
#1 awa...@gmail.com
i guess it has to do with this line

[INFO              ] [No OpenGL_accelerate module loaded] No module named
OpenGL_accelerate

Feb 22, 2010
Project Member #2 txprog
The log said: [INFO] [Window  ] OpenGL version <1.1.0>

PyMT require OpenGL 2.0 :)

Install newer/better graphics drivers
Status: WontFix
Feb 22, 2010
#3 awa...@gmail.com
ok i see. thanks for that quick answer