On Fri, Jul 30, 2010 at 11:16 PM, Dirk Reiners <dirk.reiners@gmail.com> wrote:
As a first start I'd look at the manpages (e.g. http://www.opengl.org/sdk/docs/man/xhtml/glTexImage2D.xml). At the end it lists all the possible reasons for error codes, see if one of those is true for you. Unfortunately those manpages don't cover extensions...
Yes, although programs without extensions were crashing.

Of the errors, the only one that seems even possible is:
GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.
It seems strange, though, because other programs don't seem to have a problem.  Here's the graphics "card" he has:
http://www.notebookcheck.net/Intel-Graphics-Media-Accelerator-950.2177.0.html

My gut feeling would guess you're using a texture format that the card doesn't know, try using the generic GL_RGB/GL_RGBA instead of the bit-specific ones.
I am.
We might be able to help you better if we could see your actual code.
I was trying to avoid it, as it is a general class of functions that are failing.  Some of my newer code is also too flexible to be immediately readable.  Here's some really old code that fails:
def Texture(surface,filters):
    data = pygame.image.tostring(surface,"RGBA",True)
    width,height = surface.get_size()
    texture = glGenTextures(1)
    glBindTexture(GL_TEXTURE_2D,texture)
    if filters == None:
        filters = []
    if "filter" in filters:
        glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR)
    else:
        glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
    if "mipmap" in filters:
        if "mip filter 0" in filters:
            glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST_MIPMAP_NEAREST)
        elif "mip filter 1" in filters:
            glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST)
        elif "mip filter 2" in filters:
            glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST_MIPMAP_LINEAR)
        elif "mip filter 3" in filters:
            glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_LINEAR)
        glPixelStoref(GL_UNPACK_ALIGNMENT,1)
        gluBuild2DMipmaps(GL_TEXTURE_2D,3,width,height,GL_RGBA,GL_UNSIGNED_BYTE,data)
    else:
        if "filter" in filters:
            glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR)
        else:
            glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
        glTexImage2D(GL_TEXTURE_2D,0,GL_RGBA,width,height,0,GL_RGBA,GL_UNSIGNED_BYTE,data)
    return texture

Thanks,
Ian