After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 486296 - glChess problems in SVN trunk
glChess problems in SVN trunk
Status: RESOLVED DUPLICATE of bug 392280
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: Andreas Røsdal
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-13 11:56 UTC by Andreas Røsdal
Modified: 2007-10-14 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Røsdal 2007-10-13 11:56:44 UTC
I'm trying to test the brand new glChess in SVN trunk.
These are some problems I'm having:

- There should be a configure check for python-avahi.


- I get an error message when trying to run the game, which is most likely because a .py file has not been added to a Makefile.am. Here's the error:

Showing move number 0  (latest)
Traceback (most recent call last):
  • File "/usr/bin/glchess", line 20 in <module>
    start_game()
  • File "/usr/lib64/python2.5/site-packages/glchess/glchess.py", line 3 in start_game
    app = main.Application()
  • File "/usr/lib64/python2.5/site-packages/glchess/main.py", line 412 in __init__
    self.ui = UI(self)
  • File "/usr/lib64/python2.5/site-packages/glchess/main.py", line 308 in __init__
    self.ggzConfig = network.GGZConfig()
AttributeError: 'module' object has no attribute 'GGZConfig'

Comment 1 Robert Ancell 2007-10-14 05:08:19 UTC
Andreas,

It looks like you haven't got a valid checkout, see:
http://svn.gnome.org/viewvc/gnome-games/trunk/glchess/src/lib/

Avahi is not used on either the trunk or 2.20 so there's no need for a check.

I've removed all the (unused) networking code from the 2.20 branch to make things clearer.
Comment 2 Andreas Røsdal 2007-10-14 07:59:56 UTC
Ok, there was a conflict with version 2.20.0 which I had installed: a conflict with the network module from 2.20.0. Uninstalling version 2.20.0 fixed the problems in the original bug report. It might mean that others upgrading gnome-games from source will have the same problems, tough...

So now I'm able to run glChess. When I chose the Network game menu option,
the list of profiles was initially empty. Nothing happened with clicking on the New button in the network dialog. 

Eventually, after starting and stopping glChess several times, the entry "GGZ Gaming Zone" was suddenly shown in the profiles list, and it allowed me to connect to the server. So it seems that loading the profile list doesn't work.

Also, I was not allowed to change my username. 
 
Comment 3 Robert Ancell 2007-10-14 11:09:17 UTC
The "new" button doesn't do anything yet; that's the missing configuration mentioned in bug 392280 :)

The configuration is the same as used by the GGZ gtk+ client and the other games (~/.ggz/ggz-gtk.rc). I'm guessing you had no configuration and ran ggz-gtk or anther game between attempts at glChess? If not then that is a very strange bug...

I haven't worked out the configuration yet but I want it to be much simpler than the current GGZ config. The user probably only needs to enter their username when they first open any GGZ game. The probably don't need to choose a server (we can just point them at the appropriate one) and they almost certainly don't need to change port numbers. I want it to "just work". :)

Comment 4 Andreas Røsdal 2007-10-14 12:25:18 UTC
Ah, I see. Then this is most likely not a bug.

I'm very much looking forward to testing this out. 

*** This bug has been marked as a duplicate of 392280 ***