Hello,
For drawing large text/characters I use a stripped down version of
Michael C. Fletcher's OpenGLContext, pygamefont.py
I cut it down to the bare essentials, one file that does all the work.
By upgrading from Debian Stable to Testing I ran into a problem.
After the upgrade, during initialisation, I get:
Traceback (most recent call last):
[...]
File "/home/.../fppu/manavnew/pyfont.py", line 187, in textureToList
array,
File "/usr/lib/python2.4/site-packages/OpenGL/wrapper.py", line 1631,
in __call__
return self.finalise()( *args, **named )
File "/usr/lib/python2.4/site-packages/OpenGL/wrapper.py", line 502,
in wrapperCall
pyArgs.append( converter(arg, self, args) )
File "/usr/lib/python2.4/site-packages/OpenGL/GL/images.py", line 422,
in __call__
return self.arrayType.asArray( arg )
File
"/usr/lib/python2.4/site-packages/OpenGL/arrays/arraydatatype.py", line
70, in asArray
return cls.getHandler(value).asArray( value, typeCode or
cls.typeConstant )
File
"/usr/lib/python2.4/site-packages/OpenGL/arrays/arraydatatype.py", line
39, in getHandler
raise TypeError(
TypeError: No array-type handler for type <type 'array'> (value:
array([[[200, 0],
[200, 0],
[2) registered
The calling line is line 68 of
OpenGLContext-2.1.0a2/scenegraph/text/pygamefont.py
glDrawPixelsub(
mode,
array,
)
Anyone an idea what the cause of this error can be?
Thank you!
Frits
|