Bug 237442 - glchess backtrace
Summary: glchess backtrace
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glchess
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-23 06:28 UTC by Per Nystrom
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-27 08:46:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Per Nystrom 2007-04-23 06:28:27 UTC
Description of problem:

Trying to submit a bug on glchess is FC6, and there's no component for it on the
submission page (though the glchess component *does* exist on the query page).

Once that's straightened out, here's my problem:

$ glchess 
Traceback (most recent call last):
  File "/usr/bin/glchess", line 7, in ?
    app = glchess.main.Application()
  File "/usr/lib/python2.4/site-packages/glchess/main.py", line 1047, in __init__
    self.ui = UI(self)
  File "/usr/lib/python2.4/site-packages/glchess/main.py", line 956, in __init__
    self.splashscreen = Splashscreen(self)
  File "/usr/lib/python2.4/site-packages/glchess/main.py", line 361, in __init__
    self.scene = scene.opengl.Scene(self)
TypeError: __init__() takes exactly 1 argument (2 given)

$ rpm -q glchess python
glchess-1.0.5-1.fc6
python-2.4.4-1.fc6

Comment 1 David Lawrence 2007-04-23 13:46:08 UTC
The component for glchess is actually under the product 'Fedora Extras'. I am
changing this bug to that component so the developer will see it.

Comment 2 Hans de Goede 2007-04-27 08:46:43 UTC
This error is caused by PyOpenGL missing a Requires: python-ctypes, which in
turn causes glchess to dive into a normally unused code-path, which causes the
traceback.

I've just requested a build of PyOpenGL-3.0.0-0.3.a6.fc6.1, which adds the
missing Requires. I'll also issue an update to glchess, so that it will not
cause a backtrace even when PyOpenGL is missing / not functional.

You can fix this manually with "yum install python-ctypes" (which will get
installed automaticly on the next yum update when the updates have hit the repo).



Note You need to log in before you can comment on or make changes to this bug.