urcindalo l33t
Joined: 08 Feb 2005 Posts: 623 Location: Almeria, Spain
|
Posted: Mon Dec 03, 2007 5:55 pm Post subject: [SOLVED] OpenGL.GL.GLerror: [Errno 1280] invalid enumerant |
|
|
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 |
|