#199 Some errors..

v2.0.1
open
Context (22)
5
2008-10-30
2008-10-30
Зхэтадйк
No

File "/usr/lib/python2.4/site-packages/OpenGLContext-2.1.0a2-py2.4.egg/OpenGLContext/scenegraph/text/ttfregistry.py", line 106, in fontNameFromStyle
if fontStyle and fontStyle.family:
AttributeError: 'tuple' object has no attribute 'family'

#

File "/usr/lib/python2.4/site-packages/OpenGLContext-2.1.0a2-py2.4.egg/OpenGLContext/scenegraph/text/ttfregistry.py", line 66, in defaultFont
raise RuntimeError( """No default font available of type %r"""%( type,))
RuntimeError: No default font available of type 'SANS

# (when trying to run OpenGLContext-2.1.0a2/tests/solid_font.py

Discussion