Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 192172

Summary: gnome-extra/gnome-games-2.20.1 - glchess does not work with dev-python/pyopengl-2.0.1.09-r1
Product: Gentoo Linux Reporter: Santiago Gala <sgala>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 271976    
Bug Blocks:    

Description Santiago Gala 2007-09-11 15:30:31 UTC
I reported at bug #192019 about stable pyopengl, now it is a report against ~amd64 pyopengl and gnome-games. Running it with 3D view results in:

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/glchess/gtkui/gtkui.py", line 174, in __expose
    self.view.feedback.renderGL()
  File "/usr/lib64/python2.5/site-packages/glchess/main.py", line 409, in renderGL
    self.scene.render()
  File "/usr/lib64/python2.5/site-packages/glchess/scene/opengl/opengl.py", line 274, in render
    self.__drawBoard()
  File "/usr/lib64/python2.5/site-packages/glchess/scene/opengl/opengl.py", line 608, in __drawBoard
    self.__whiteTexture.bind() #blackTexture
  File "/usr/lib64/python2.5/site-packages/glchess/scene/opengl/texture.py", line 131, in bind
    self.__texture = self.__generate()
  File "/usr/lib64/python2.5/site-packages/glchess/scene/opengl/texture.py", line 121, in __generate
    gluBuild2DMipmaps(GL_TEXTURE_2D, GL_LUMINANCE, self.__width, self.__height, self.__format, GL_UNSIGNED_BYTE, self.__data)
GLUerror: [Errno 100901] invalid value

Once 3D it is selected, I needed to clear the option with gconf-editor to be able to run it again without the obnoxious bugbuddy screen popping up all the time.
Comment 1 Santiago Gala 2007-10-26 10:36:48 UTC
Still happens with gnome-games-2.20.1, nothing changed there.
Comment 2 proglottis 2007-12-21 09:26:43 UTC
Looks like this bug is related to the bug I just submitted (http://bugs.gentoo.org/show_bug.cgi?id=202921). Try upgrade pyopengl.
Comment 3 proglottis 2007-12-21 11:07:45 UTC
Disregard my previous comment. Clearly different bugs, miss-read the bug summary. Sorry.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-02 12:17:36 UTC
dev-python/pyopengl-3.0.0 beta solves this for me. Please test and report.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-06 23:42:56 UTC
ping guys !
Comment 6 Santiago Gala 2008-03-15 08:57:28 UTC
It looks like it works here. I got some issues but at least it mostly works, while before the upgrade it was consistently not working.
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-06-04 15:40:15 UTC
pyopengl-3.0 is stable, and glchess works fine.