Guest User

Untitled

a guest
Jun 22nd, 2011
202
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "PyGL3Display_example_text.py", line 208, in <module>
  3.     demo.run()
  4.   File "PyGL3Display_example_text.py", line 126, in run
  5.     self.font = SpriteFont('dejavu-sans', 20)
  6.   File "PyGL3Display_example_text.py", line 60, in __init__
  7.     self.fontmap[char] = (GL3PygameSurface.GL3Surfaceify(character),
  8.   File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 343, in GL3Surfaceify
  9.     GL3Surface.__init__(ret, pygameSurface.get_size())
  10.   File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 299, in __init__
  11.     manager.getBox(width, height, self)
  12.   File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 812, in getBox
  13.     self.makeNewAtlas()
  14.   File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 793, in makeNewAtlas
  15.     manager = self)
  16.   File "C:\Users\saluk\Downloads\PyGL3Display 1.02\release-1.0\PyGL3Display\PyGL3Display_2dSprites.py", line 484, in __init__
  17.     (ctypes.c_int * self.size[0] * self.size[1])())      
  18.   File "c:\python26\lib\site-packages\OpenGL\latebind.py", line 41, in __call__
  19.     return self._finalCall( *args, **named )
  20.   File "c:\python26\lib\site-packages\OpenGL\wrapper.py", line 791, in wrapperCall
  21.     raise err
  22. OpenGL.error.GLError: GLError(
  23.     err = 1285,
  24.     description = 'out of memory',
  25.     baseOperation = glTexImage2D,
  26.     pyArgs = (
  27.         GL_TEXTURE_2D,
  28.         0,
  29.         GL_RGBA,
  30.         16384,
  31.         16384,
  32.         0,
  33.         GL_RGBA,
  34.         GL_UNSIGNED_BYTE,
  35.         <PyGL3Display.PyGL3Display_2dSprites....,
  36.     ),
  37.     cArgs = (
  38.         GL_TEXTURE_2D,
  39.         0,
  40.         GL_RGBA,
  41.         16384,
  42.         16384,
  43.         0,
  44.         GL_RGBA,
  45.         GL_UNSIGNED_BYTE,
  46.         <PyGL3Display.PyGL3Display_2dSprites....,
  47.     ),
  48.     cArguments = (
  49.         GL_TEXTURE_2D,
  50.         0,
  51.         GL_RGBA,
  52.         16384,
  53.         16384,
  54.         0,
  55.         GL_RGBA,
  56.         GL_UNSIGNED_BYTE,
  57.         <PyGL3Display.PyGL3Display_2dSprites....,
  58.     )
  59. )
  60. Exception AttributeError: "'GL3PygameSurface' object has no attribute 'atlas'" in <bound method GL3PygameSurface.__del__ of <PyGL3Display.PyGL3Display_2dSprites.GL3PygameSurface object at 0x05DFB730>> ignored
RAW Paste Data