Python error in glchess

Bug #351142 reported by Wolf Rogner
12
Affects Status Importance Assigned to Milestone
GNOME Games
Unknown
Unknown
glchess (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

After upgrade to 9.04 glchess crashes with an error:

Distribution: Ubuntu 9.04 (jaunty)
Gnome Release: 2.26.0 2009-03-19 (Ubuntu)
BugBuddy Version: 2.26.0

System: Linux 2.6.28-11-generic #38-Ubuntu SMP Fri Mar 27 09:00:52 UTC 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10600000
Selinux: No
Accessibility: Disabled
GTK+ Theme: New Wave
Icon Theme: Human
GTK+ Modules: canberra-gtk-module

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0

Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/glchess/gtkui/chessview.py", line 168, in __expose
    self.view.feedback.renderGL()
  File "/var/lib/python-support/python2.6/glchess/display.py", line 489, in renderGL
    self.scene.controller.render()
  File "/var/lib/python-support/python2.6/glchess/scene/opengl/opengl.py", line 391, in render
    self.drawPieces()
  File "/var/lib/python-support/python2.6/glchess/scene/opengl/opengl.py", line 892, in drawPieces
    piece.draw()
  File "/var/lib/python-support/python2.6/glchess/scene/opengl/opengl.py", line 138, in draw
    self.chessSet.drawPiece(self.name, state, self.scene)
  File "/var/lib/python-support/python2.6/glchess/scene/opengl/new_models.py", line 111, in drawPiece
    if glGetBoolean(GL_TEXTURE_2D):
  File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 1631, in __call__
    return self.finalise()( *args, **named )
  File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 683, in wrapperCall
    converter( pyArgs, index, self )
  File "/usr/lib/python2.6/dist-packages/OpenGL/converters.py", line 195, in __call__
    return self.arrayType.zeros( self.getSize(pyArgs) )
  File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/arraydatatype.py", line 98, in zeros
    return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant )
  File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/nones.py", line 32, in zeros
    raise TypeError( """Can't create NULL pointer filled with values""" )
TypeError: ("Can't create NULL pointer filled with values", 'Failure in cConverter <OpenGL.converters.SizedOutput object at 0xa1911b4>', [GL_TEXTURE_2D], 1, <OpenGL.wrapper.glGetIntegerv object at 0xa19440c>)

----------- .xsession-errors ---------------------
    self.chessSet.drawPiece(self.name, state, self.scene)
  File "/var/lib/python-support/python2.6/glchess/scene/opengl/new_models.py", line 111, in drawPiece
    if glGetBoolean(GL_TEXTURE_2D):
  File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 1631, in __call__
    return self.finalise()( *args, **named )
  File "/usr/lib/python2.6/dist-packages/OpenGL/wrapper.py", line 683, in wrapperCall
    converter( pyArgs, index, self )
  File "/usr/lib/python2.6/dist-packages/OpenGL/converters.py", line 195, in __call__
    return self.arrayType.zeros( self.getSize(pyArgs) )
  File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/arraydatatype.py", line 98, in zeros
    return cls.returnHandler().zeros( dims, typeCode or cls.typeConstant )
  File "/usr/lib/python2.6/dist-packages/OpenGL/arrays/nones.py", line 32, in zeros
    raise TypeError( """Can't create NULL pointer filled with values""" )
TypeError: ("Can't create NULL pointer filled with values", 'Failure in cConverter <OpenGL.converters.SizedOutput object at 0xa1911b4>', [GL_TEXTURE_2D], 1, <OpenGL.wrapper.glGetIntegerv object at 0xa
--------------------------------------------------

Seems to be known with Gnome: http://bugzilla.gnome.org/show_bug.cgi?id=552981

Revision history for this message
Pedro Villavicencio (pedro) wrote :
Changed in glchess (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in glchess (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.