Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] OpenGL.GL.GLerror: [Errno 1280] invalid enumerant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Mon Dec 03, 2007 5:55 pm    Post subject: [SOLVED] OpenGL.GL.GLerror: [Errno 1280] invalid enumerant Reply with quote

Hi!

Up until last week keyjnote 0.10.1 was working perfectly. However, today I got the following message:
Code:
$ keyjnote Tema_7.pdf
Welcome to KeyJnote version 0.10.1
Detected screen size: 1152x864 pixels
Using GL_ARB_texture_rectangle.
Traceback (most recent call last):
  File "/usr/bin/keyjnote", line 3760, in <module>
    run_main()
  File "/usr/bin/keyjnote", line 3350, in run_main
    main()
  File "/usr/bin/keyjnote", line 3199, in main
    glTexImage2D(GL_TEXTURE_2D, 0, 1, 256, 64, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, LogoImage.tostring())
OpenGL.GL.GLerror: [Errno 1280] invalid enumerant


Last week I upgraded to pythonh 2.5.1 since it is a dependency for qtiplot 0.9.1. After the upgrade I updated all my python-dependent packages and everything is OK except for keyjnote.

I've recompiled all its dedendencies (mentioned the ebuild), to no avail. I even contacted the author, who very kindly has told me this:
Quote:
I don't think that Python is to blame here -- but neither am I :) The
exception is raised due to an OpenGL error: OpenGL complains about the
call being invalid. The weird thing is that this call is nothing special
at all, even good old OpenGL 1.0 and all known software renderers support
that with ease. Since you're working on 64-bit Linux and didn't update
anything but Python and its libraries, I bet it's an issue in PyOpenGL
(the Python OpenGL bindings).

You may also try to remove or comment out the offending line (it won't
interfere with functionality, it's just responsible for the KeyJnote logo
in the starting screen), but I think you'll run into another similar error
down the road then.

Martin J. Fiedler


Does anyone have any clue about what's happening?
Thanks very much in advance.


Last edited by urcindalo on Tue Dec 11, 2007 8:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Tue Dec 11, 2007 8:45 pm    Post subject: Reply with quote

After upgrading pyopengl from 2.0.0.44 to ~2.0.1.09-r1 everything's back to normal.
Hope this helps anyone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum