Results 1 to 3 of 3

Thread: GLError: <unprintable GLError object>

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2011


    Hi all, I am new to programming with Python. My program runs successfully to a point however I am getting an error thrown after a number of iterations:
    GLError: <unprintable GLError object>

    Traceback (most recent call last):
    File "C:\Users\u276181\Documents\Python\", line 423, in <module>
    exp.blocks[0].trials[trial].stimuli[5].preload() -\
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 546, in preload
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 217, in refresh
    self._txtr = Visual._load_texture(self._surfTotal)
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 112, in _load_texture
    ogl.GL_RGBA, ogl.GL_UNSIGNED_BYTE, textureData)
    File "C:\Python26\lib\site-packages\OpenGL\", line 41, in __call__
    return self._finalCall( *args, **named )
    File "C:\Python26\lib\site-packages\OpenGL\", line 791, in wrapperCall
    raise err
    GLError: <unprintable GLError object>

    Can anyone advise please?


  2. #2
    Junior Member Newbie
    Join Date
    Apr 2011

    Re: GLError:

    Ok, so maybe I havnt provided adequate information, but I really need help with this problem. Since I thought it may be a memory allocation error I tried calling gc.collect() to try and force-free-up some memory but this didnt fix the problem. I also get the error message:

    Traceback (most recent call last):
    File "C:\Users\u276181\Documents\Python\", line 436, in <module>
    exp.blocks[0].trials[trial].stimuli[5].preload() -\
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 544, in preload
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 180, in __init__
    File "C:\Python26\lib\site-packages\expyriment\stimuli\", line 189, in clear
    (powerOfTwo, powerOfTwo), pygame.SRCALPHA, 32).convert_alpha()
    error: Out of memory

    on some occasions. Any ideas?


  3. #3
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Grenoble - France

    Re: GLError:

    Hard to say, it seems it depends on the wrapper you use ? Is that PyOpenGL ?

Similar Threads

  1. Using GLEW and Core Profile without glError
    By robinfaury in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 03-02-2016, 01:03 AM
  2. glLineWidth(0) set glError to GL_INVALID_VALUE
    By Tryumk in forum OpenGL ES
    Replies: 2
    Last Post: 02-15-2010, 09:17 AM
  3. glerror invalid operation
    By David Doria in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-23-2008, 09:22 AM
  4. how to get more infos about glError?
    By mondprop in forum OpenGL: GLSL
    Replies: 6
    Last Post: 10-22-2004, 05:28 AM
  5. glError : GL_INVALID_ENUM
    By knackered in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 02-14-2002, 02:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean